CFx SDK Documentation
2022 SP0
|
Go to the source code of this file.
Classes | |
struct | OdTrVisSyncFlags |
struct | OdTrVisColorRGBA |
struct | OdTrVisMatrix |
struct | OdTrVisSectionPlane |
class | OdTrVisDescStub |
Macros | |
#define | OD_FORCEINLINE inline |
#define | OD_CONSTEXPR_FUNC OD_FORCEINLINE |
#define | OD_CONSTEXPR |
#define | OdTrVisPtrToId(ptr) ((OdTrVisId)((OdIntPtr)ptr)) |
#define | OdTrVisIdToPtr(ptrType, id) ((ptrType*)(OdIntPtr)(id)) |
#define | OD_TRVIS_OPAQUE(color) ((color) | 0xFF000000) |
#define | OD_TRVIS_TRANSPARENT(color) ((color) & 0x00FFFFFF) |
#define | OD_TRVIS_SETALPHA(color, alpha) (OD_TRVIS_TRANSPARENT(color) | (ODCOLORREF(alpha) << 24)) |
Typedefs | |
typedef OdUInt64 | OdTrVisGsMarker |
typedef OdArray< OdTrVisGsMarker, OdMemoryAllocator< OdTrVisGsMarker > > | OdTrVisGsMarkerArray |
typedef OdUInt64 | OdTrVisId |
typedef OdTrVisId | OdTrVisViewportId |
typedef OdTrVisId | OdTrVisMetafileId |
typedef OdUInt32 | OdTrVisArrayId |
typedef OdTrVisId | OdTrVisTextureId |
typedef OdTrVisId | OdTrVisMaterialId |
typedef OdTrVisId | OdTrVisProgramId |
typedef OdTrVisId | OdTrVisDisplayId |
typedef OdTrVisId | OdTrVisHlBranchId |
typedef OdTrVisId | OdTrVisVisualStyleId |
typedef OdTrVisId | OdTrVisLayerId |
typedef OdTrVisId | OdTrVisOverlayId |
typedef OdArray< float, OdMemoryAllocator< float > > | OdFloatArray |
typedef OdArray< OdTrVisMatrix, OdMemoryAllocator< OdTrVisMatrix > > | OdTrVisMatrixArray |
typedef OdArray< OdTrVisSectionPlane, OdMemoryAllocator< OdTrVisSectionPlane > > | OdTrVisSectionPlaneArray |
Functions | |
bool | isValidMarker (OdTrVisGsMarker marker) |
OD_FORCEINLINE bool | isValidTrVisId (OdTrVisId id) |
OD_FORCEINLINE bool | isNullTrVisId (OdTrVisId id) |
OD_FORCEINLINE bool | isMainTrVisOverlayId (OdTrVisId id) |
OD_FORCEINLINE bool | isValidTrVisArrayId (OdTrVisArrayId id) |
OD_FORCEINLINE bool | OdTrVisFPEqual (float a, float b, float tol=1.e-8f) |
OD_FORCEINLINE bool | OdTrVisFPZero (float a, float tol=1.e-8f) |
Variables | |
const OdTrVisGsMarker | kTrVisNullGsMarker = OdTrVisGsMarker(kNullSubentIndex) |
const OdTrVisId | kTrVisNegativeId = OdTrVisId(-1) |
const OdTrVisId | kTrVisNullId = OdTrVisId(0) |
const OdTrVisId | kTrVisMainOverlayId = kTrVisNullId |
const OdTrVisArrayId | kTrVisNegativeArrayId = OdTrVisArrayId(-1) |
#define OD_CONSTEXPR |
Definition at line 55 of file TrVisDefs.h.
#define OD_CONSTEXPR_FUNC OD_FORCEINLINE |
Definition at line 54 of file TrVisDefs.h.
#define OD_FORCEINLINE inline |
Definition at line 41 of file TrVisDefs.h.
#define OD_TRVIS_OPAQUE | ( | color | ) | ((color) | 0xFF000000) |
Definition at line 215 of file TrVisDefs.h.
#define OD_TRVIS_SETALPHA | ( | color, | |
alpha | |||
) | (OD_TRVIS_TRANSPARENT(color) | (ODCOLORREF(alpha) << 24)) |
Definition at line 217 of file TrVisDefs.h.
#define OD_TRVIS_TRANSPARENT | ( | color | ) | ((color) & 0x00FFFFFF) |
Definition at line 216 of file TrVisDefs.h.
#define OdTrVisIdToPtr | ( | ptrType, | |
id | |||
) | ((ptrType*)(OdIntPtr)(id)) |
Definition at line 108 of file TrVisDefs.h.
Definition at line 107 of file TrVisDefs.h.
typedef OdArray<float, OdMemoryAllocator<float> > OdFloatArray |
Definition at line 134 of file TrVisDefs.h.
typedef OdUInt32 OdTrVisArrayId |
Definition at line 90 of file TrVisDefs.h.
typedef OdTrVisId OdTrVisDisplayId |
Definition at line 97 of file TrVisDefs.h.
typedef OdUInt64 OdTrVisGsMarker |
Definition at line 77 of file TrVisDefs.h.
Definition at line 78 of file TrVisDefs.h.
typedef OdTrVisId OdTrVisHlBranchId |
Definition at line 99 of file TrVisDefs.h.
Definition at line 85 of file TrVisDefs.h.
typedef OdTrVisId OdTrVisLayerId |
Definition at line 103 of file TrVisDefs.h.
typedef OdTrVisId OdTrVisMaterialId |
Definition at line 93 of file TrVisDefs.h.
Definition at line 188 of file TrVisDefs.h.
typedef OdTrVisId OdTrVisMetafileId |
Definition at line 89 of file TrVisDefs.h.
typedef OdTrVisId OdTrVisOverlayId |
Definition at line 105 of file TrVisDefs.h.
typedef OdTrVisId OdTrVisProgramId |
Definition at line 95 of file TrVisDefs.h.
typedef OdArray<OdTrVisSectionPlane, OdMemoryAllocator<OdTrVisSectionPlane> > OdTrVisSectionPlaneArray |
Definition at line 213 of file TrVisDefs.h.
typedef OdTrVisId OdTrVisTextureId |
Definition at line 92 of file TrVisDefs.h.
typedef OdTrVisId OdTrVisViewportId |
Definition at line 87 of file TrVisDefs.h.
typedef OdTrVisId OdTrVisVisualStyleId |
Definition at line 101 of file TrVisDefs.h.
OD_FORCEINLINE bool isMainTrVisOverlayId | ( | OdTrVisId | id | ) |
Definition at line 123 of file TrVisDefs.h.
OD_FORCEINLINE bool isNullTrVisId | ( | OdTrVisId | id | ) |
Definition at line 117 of file TrVisDefs.h.
|
inline |
Definition at line 80 of file TrVisDefs.h.
OD_FORCEINLINE bool isValidTrVisArrayId | ( | OdTrVisArrayId | id | ) |
Definition at line 129 of file TrVisDefs.h.
OD_FORCEINLINE bool isValidTrVisId | ( | OdTrVisId | id | ) |
Definition at line 111 of file TrVisDefs.h.
OD_FORCEINLINE bool OdTrVisFPEqual | ( | float | a, |
float | b, | ||
float | tol = 1.e-8f |
||
) |
Definition at line 221 of file TrVisDefs.h.
OD_FORCEINLINE bool OdTrVisFPZero | ( | float | a, |
float | tol = 1.e-8f |
||
) |
Definition at line 226 of file TrVisDefs.h.
const OdTrVisId kTrVisMainOverlayId = kTrVisNullId |
Definition at line 122 of file TrVisDefs.h.
const OdTrVisArrayId kTrVisNegativeArrayId = OdTrVisArrayId(-1) |
Definition at line 128 of file TrVisDefs.h.
Definition at line 110 of file TrVisDefs.h.
const OdTrVisGsMarker kTrVisNullGsMarker = OdTrVisGsMarker(kNullSubentIndex) |
Definition at line 79 of file TrVisDefs.h.
Definition at line 116 of file TrVisDefs.h.