CFx SDK Documentation 2024 SP0
|
#include "TD_PackPush.h"
#include "Ge/GePoint3d.h"
#include "Gs/Gs.h"
#include "TrVisMatrix.h"
#include "TrVisIval.h"
#include "TD_PackPop.h"
Go to the source code of this file.
Classes | |
struct | OdTrVisSyncFlags |
struct | OdTrVisColorRGBA |
struct | OdTrVisSectionPlane |
struct | OdTrVisTemporalIncreasor< Type > |
struct | OdTrVisTemporalDescreasor< Type > |
class | OdTrVisMultiStateSaver< DataType, numEntries > |
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 | OdTrVisOwning |
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 | OdTrVisLightId |
typedef OdTrVisId | OdTrVisStateBranchId |
typedef OdTrVisId | OdTrVisVisualStyleId |
typedef OdTrVisId | OdTrVisLayerId |
typedef OdTrVisId | OdTrVisOverlayId |
typedef OdTrVisId | OdTrVisGroupId |
typedef OdTrVisId | OdTrVisExtensionId |
typedef OdTrVisId | OdTrVisBlockId |
typedef const void * | OdTrVisStateBranchPtr |
typedef OdArray< OdTrVisSectionPlane, OdMemoryAllocator< OdTrVisSectionPlane > > | OdTrVisSectionPlaneArray |
typedef OdArray< float, OdMemoryAllocator< float > > | OdFloatArray |
Enumerations | |
enum | OdTrVisStateBranchType { kTrVisHighlightingBranch = 0 , kTrVisVisibilityBranch , kTrVisNumStateBranchTypes } |
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) |
template<typename Type > | |
OD_FORCEINLINE Type & | OdTrVisClamp (Type &val, Type valMin, Type valMax) |
template<typename Type > | |
OD_FORCEINLINE Type | OdTrVisClamp (const Type &val, Type valMin, Type valMax) |
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 58 of file TrVisDefs.h.
#define OD_CONSTEXPR_FUNC OD_FORCEINLINE |
Definition at line 57 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 235 of file TrVisDefs.h.
#define OD_TRVIS_SETALPHA | ( | color, | |
alpha | |||
) | (OD_TRVIS_TRANSPARENT(color) | (ODCOLORREF(alpha) << 24)) |
Definition at line 237 of file TrVisDefs.h.
#define OD_TRVIS_TRANSPARENT | ( | color | ) | ((color) & 0x00FFFFFF) |
Definition at line 236 of file TrVisDefs.h.
#define OdTrVisIdToPtr | ( | ptrType, | |
id | |||
) | ((ptrType*)(OdIntPtr)(id)) |
Definition at line 126 of file TrVisDefs.h.
Definition at line 125 of file TrVisDefs.h.
typedef OdArray<float, OdMemoryAllocator<float> > OdFloatArray |
Definition at line 251 of file TrVisDefs.h.
typedef OdUInt32 OdTrVisArrayId |
Definition at line 100 of file TrVisDefs.h.
typedef OdTrVisId OdTrVisBlockId |
Definition at line 123 of file TrVisDefs.h.
typedef OdTrVisId OdTrVisDisplayId |
Definition at line 107 of file TrVisDefs.h.
typedef OdTrVisId OdTrVisExtensionId |
Definition at line 121 of file TrVisDefs.h.
typedef OdTrVisId OdTrVisGroupId |
Definition at line 119 of file TrVisDefs.h.
typedef OdUInt64 OdTrVisGsMarker |
Definition at line 84 of file TrVisDefs.h.
Definition at line 85 of file TrVisDefs.h.
Definition at line 95 of file TrVisDefs.h.
typedef OdTrVisId OdTrVisLayerId |
Definition at line 115 of file TrVisDefs.h.
typedef OdTrVisId OdTrVisLightId |
Definition at line 109 of file TrVisDefs.h.
typedef OdTrVisId OdTrVisMaterialId |
Definition at line 103 of file TrVisDefs.h.
typedef OdTrVisId OdTrVisMetafileId |
Definition at line 99 of file TrVisDefs.h.
typedef OdTrVisId OdTrVisOverlayId |
Definition at line 117 of file TrVisDefs.h.
typedef OdUInt64 OdTrVisOwning |
Definition at line 91 of file TrVisDefs.h.
typedef OdTrVisId OdTrVisProgramId |
Definition at line 105 of file TrVisDefs.h.
typedef OdArray<OdTrVisSectionPlane, OdMemoryAllocator<OdTrVisSectionPlane> > OdTrVisSectionPlaneArray |
Definition at line 233 of file TrVisDefs.h.
typedef OdTrVisId OdTrVisStateBranchId |
Definition at line 111 of file TrVisDefs.h.
typedef const void* OdTrVisStateBranchPtr |
Definition at line 162 of file TrVisDefs.h.
typedef OdTrVisId OdTrVisTextureId |
Definition at line 102 of file TrVisDefs.h.
typedef OdTrVisId OdTrVisViewportId |
Definition at line 97 of file TrVisDefs.h.
typedef OdTrVisId OdTrVisVisualStyleId |
Definition at line 113 of file TrVisDefs.h.
Enumerator | |
---|---|
kTrVisHighlightingBranch | |
kTrVisVisibilityBranch | |
kTrVisNumStateBranchTypes |
Definition at line 154 of file TrVisDefs.h.
OD_FORCEINLINE bool isMainTrVisOverlayId | ( | OdTrVisId | id | ) |
Definition at line 141 of file TrVisDefs.h.
OD_FORCEINLINE bool isNullTrVisId | ( | OdTrVisId | id | ) |
Definition at line 135 of file TrVisDefs.h.
|
inline |
Definition at line 87 of file TrVisDefs.h.
OD_FORCEINLINE bool isValidTrVisArrayId | ( | OdTrVisArrayId | id | ) |
Definition at line 147 of file TrVisDefs.h.
OD_FORCEINLINE bool isValidTrVisId | ( | OdTrVisId | id | ) |
Definition at line 129 of file TrVisDefs.h.
OD_FORCEINLINE Type OdTrVisClamp | ( | const Type & | val, |
Type | valMin, | ||
Type | valMax | ||
) |
Definition at line 260 of file TrVisDefs.h.
OD_FORCEINLINE Type & OdTrVisClamp | ( | Type & | val, |
Type | valMin, | ||
Type | valMax | ||
) |
Definition at line 256 of file TrVisDefs.h.
OD_FORCEINLINE bool OdTrVisFPEqual | ( | float | a, |
float | b, | ||
float | tol = 1.e-8f |
||
) |
Definition at line 241 of file TrVisDefs.h.
OD_FORCEINLINE bool OdTrVisFPZero | ( | float | a, |
float | tol = 1.e-8f |
||
) |
Definition at line 246 of file TrVisDefs.h.
const OdTrVisId kTrVisMainOverlayId = kTrVisNullId |
Definition at line 140 of file TrVisDefs.h.
const OdTrVisArrayId kTrVisNegativeArrayId = OdTrVisArrayId(-1) |
Definition at line 146 of file TrVisDefs.h.
Definition at line 128 of file TrVisDefs.h.
const OdTrVisGsMarker kTrVisNullGsMarker = OdTrVisGsMarker(kNullSubentIndex) |
Definition at line 86 of file TrVisDefs.h.
Definition at line 134 of file TrVisDefs.h.