CFx SDK Documentation
2020SP3
|
#include "TD_PackPush.h"
#include "MetafileStreamBase.h"
#include "Gs/Gs.h"
#include "TrVisDefs.h"
#include "Ps/PlotStyles.h"
#include "TD_PackPop.h"
Go to the source code of this file.
Classes | |
struct | OdTrVisArrayWrapper |
struct | OdTrVisMarkBase< UInt64Type > |
struct | OdTrVisLwdStyle |
struct | OdTrVisLwdSetting |
class | OdTrVisFlatMetafileContainer |
class | OdTrVisFlatMetafileContainerWriter |
class | OdTrVisFlatMetafileContainerReader |
Macros | |
#define | OD_TRVIS_ENABLEFLOATCONVERSION |
#define | OD_OGL_RDR_SEEKFWD(pMemPtr, uSize) (pMemPtr) += (uSize) |
#define | OD_OGL_RDR_SEEKBWD(pMemPtr, uSize) (pMemPtr) -= (uSize) |
#define | OD_OGL_RDR_SEEKINC(pMemPtr) (pMemPtr)++ |
#define | OD_OGL_RDR_SEEKDEC(pMemPtr) (pMemPtr)-- |
#define | OD_OGL_RDR_READVAL(cType, pMemPtr) *(cType*)(pMemPtr) |
#define | OD_OGL_RDR_READVALOFFSET(cType, pMemPtr, uOffset) *(cType*)((pMemPtr) + (uOffset)) |
#define | OD_OGL_RDR_READVALRETYPE(cOutType, cInType, pMemPtr) (cOutType)OD_OGL_RDR_READVAL(cInType, pMemPtr) |
#define | OD_OGL_RDR_READVALOFFSETRETYPE(cOutType, cInType, pMemPtr, uOffset) (cOutType)OD_OGL_RDR_READVALOFFSET(cInType, pMemPtr, uOffset) |
#define | OD_OGL_RDR_GETPTRNATIVE(cType, pMemPtr) (cType*)(pMemPtr) |
#define | OD_OGL_RDR_GETPTRNATIVEOFFSET(cType, pMemPtr, uSize) (cType*)((pMemPtr) + (uSize)) |
#define | OD_OGL_RDR_GETPTRSTORAGE(imedType, name, count) |
#define | OD_OGL_RDR_GETPTR(cType, imedType, name, count, pMemPtr) OD_OGL_RDR_GETPTRNATIVE(cType, pMemPtr) |
#define | OD_OGL_RDR_GETPTROFFSET(cType, imedType, name, count, pMemPtr, uSize) OD_OGL_RDR_GETPTRNATIVEOFFSET(cType, pMemPtr, uSize) |
#define | OD_OGL_RDR_INITIATE(pMemPtr, uSize) const OdUInt8 *pMemPtrReadFor = (const OdUInt8*)pMemPtr + uSize |
#define | OD_OGL_RDR_CHECKEOF(pMemPtr) pMemPtr < pMemPtrReadFor |
Typedefs | |
typedef float | OdTrVisVertexType |
typedef OdTrVisMarkBase< OdUInt64 > | OdTrVisDefProcMark |
typedef OdTrVisMarkBase< OdTrVisGsMarker > | OdTrVisSelMark |
typedef OdTrVisMarkBase< OdTrVisMetafileId > | OdTrVisMetaMark |
Functions | |
void | od_dbl2float (float *pFloats, const double *pDoubles, size_t numData) |
const OdChar * | chunkDecode (OdTrVisMetaRecType rt) |
OdTrVisFaceCulling | combineCullingModes (OdTrVisFaceCulling faceMode, OdTrVisFaceCulling edgeMode) |
void | splitCullingModes (OdTrVisFaceCulling &cullingMode, OdTrVisFaceCulling &edgeMode) |
OdTrVisFaceCulling | faceCullingModeAsEdge (OdTrVisFaceCulling faceMode) |
OdTrVisFaceCulling | edgeCullingModeAsFace (OdTrVisFaceCulling edgeMode) |
bool | isGeomTypeVisible (OdTrVisGeomType geomType, OdGsView::RenderMode rMode) |
#define OD_OGL_RDR_CHECKEOF | ( | pMemPtr | ) | pMemPtr < pMemPtrReadFor |
Definition at line 508 of file TrVisMetafileStream.h.
#define OD_OGL_RDR_GETPTR | ( | cType, | |
imedType, | |||
name, | |||
count, | |||
pMemPtr | |||
) | OD_OGL_RDR_GETPTRNATIVE(cType, pMemPtr) |
Definition at line 504 of file TrVisMetafileStream.h.
#define OD_OGL_RDR_GETPTRNATIVE | ( | cType, | |
pMemPtr | |||
) | (cType*)(pMemPtr) |
Definition at line 501 of file TrVisMetafileStream.h.
#define OD_OGL_RDR_GETPTRNATIVEOFFSET | ( | cType, | |
pMemPtr, | |||
uSize | |||
) | (cType*)((pMemPtr) + (uSize)) |
Definition at line 502 of file TrVisMetafileStream.h.
#define OD_OGL_RDR_GETPTROFFSET | ( | cType, | |
imedType, | |||
name, | |||
count, | |||
pMemPtr, | |||
uSize | |||
) | OD_OGL_RDR_GETPTRNATIVEOFFSET(cType, pMemPtr, uSize) |
Definition at line 505 of file TrVisMetafileStream.h.
Definition at line 503 of file TrVisMetafileStream.h.
#define OD_OGL_RDR_INITIATE | ( | pMemPtr, | |
uSize | |||
) | const OdUInt8 *pMemPtrReadFor = (const OdUInt8*)pMemPtr + uSize |
Definition at line 507 of file TrVisMetafileStream.h.
#define OD_OGL_RDR_READVAL | ( | cType, | |
pMemPtr | |||
) | *(cType*)(pMemPtr) |
Definition at line 497 of file TrVisMetafileStream.h.
#define OD_OGL_RDR_READVALOFFSET | ( | cType, | |
pMemPtr, | |||
uOffset | |||
) | *(cType*)((pMemPtr) + (uOffset)) |
Definition at line 498 of file TrVisMetafileStream.h.
#define OD_OGL_RDR_READVALOFFSETRETYPE | ( | cOutType, | |
cInType, | |||
pMemPtr, | |||
uOffset | |||
) | (cOutType)OD_OGL_RDR_READVALOFFSET(cInType, pMemPtr, uOffset) |
Definition at line 500 of file TrVisMetafileStream.h.
#define OD_OGL_RDR_READVALRETYPE | ( | cOutType, | |
cInType, | |||
pMemPtr | |||
) | (cOutType)OD_OGL_RDR_READVAL(cInType, pMemPtr) |
Definition at line 499 of file TrVisMetafileStream.h.
#define OD_OGL_RDR_SEEKBWD | ( | pMemPtr, | |
uSize | |||
) | (pMemPtr) -= (uSize) |
Definition at line 493 of file TrVisMetafileStream.h.
#define OD_OGL_RDR_SEEKDEC | ( | pMemPtr | ) | (pMemPtr)-- |
Definition at line 495 of file TrVisMetafileStream.h.
#define OD_OGL_RDR_SEEKFWD | ( | pMemPtr, | |
uSize | |||
) | (pMemPtr) += (uSize) |
Definition at line 492 of file TrVisMetafileStream.h.
#define OD_OGL_RDR_SEEKINC | ( | pMemPtr | ) | (pMemPtr)++ |
Definition at line 494 of file TrVisMetafileStream.h.
#define OD_TRVIS_ENABLEFLOATCONVERSION |
Definition at line 36 of file TrVisMetafileStream.h.
typedef OdTrVisMarkBase<OdUInt64> OdTrVisDefProcMark |
Definition at line 287 of file TrVisMetafileStream.h.
Definition at line 291 of file TrVisMetafileStream.h.
typedef OdTrVisMarkBase<OdTrVisGsMarker> OdTrVisSelMark |
Definition at line 289 of file TrVisMetafileStream.h.
typedef float OdTrVisVertexType |
Definition at line 39 of file TrVisMetafileStream.h.
enum OdTrVisAffection |
Enumerator | |
---|---|
OdTrVisAffection_Attributes | |
OdTrVisAffection_Colors | |
OdTrVisAffection_Materials | |
OdTrVisAffection_Arrays | |
OdTrVisAffection_Geometry |
Definition at line 168 of file TrVisMetafileStream.h.
enum OdTrVisAttribute |
Enumerator | |
---|---|
OdTrVisAttribute_Depth | |
OdTrVisAttribute_Blend | |
OdTrVisAttribute_Reserved1 | |
OdTrVisAttribute_Reserved2 | |
OdTrVisAttribute_NTypes | |
OdTrVisAttribute_Mask |
Definition at line 110 of file TrVisMetafileStream.h.
enum OdTrVisFaceCulling |
Enumerator | |
---|---|
OdTrVisCullFace_None | |
OdTrVisCullFace_Back | |
OdTrVisCullFace_Front | |
OdTrVisCullFace_Default | |
OdTrVisCullEdge_None | |
OdTrVisCullEdge_Back | |
OdTrVisCullEdge_Front | |
OdTrVisCullEdge_Default |
Definition at line 134 of file TrVisMetafileStream.h.
enum OdTrVisGeomPrim |
Enumerator | |
---|---|
kTrVisGeomPrimInvalid | |
kTrVisPoints | |
kTrVisLines | |
kTrVisLineLoop | |
kTrVisLineStrip | |
kTrVisTriangles | |
kTrVisTriangleStrip | |
kTrVisTriangleFan |
Definition at line 209 of file TrVisMetafileStream.h.
enum OdTrVisGeomType |
Definition at line 183 of file TrVisMetafileStream.h.
Enumerator | |
---|---|
OdTrVisMetaRecArrayType_Vertex | |
OdTrVisMetaRecArrayType_Color | |
OdTrVisMetaRecArrayType_TexCoord | |
OdTrVisMetaRecArrayType_Normal | |
OdTrVisMetaRecArrayType_Normal2 | |
OdTrVisMetaRecArrayType_NTypes |
Definition at line 91 of file TrVisMetafileStream.h.
Enumerator | |
---|---|
OdTrVisMetaRecMarkerType_Selection | |
OdTrVisMetaRecMarkerType_Metafile | |
OdTrVisMetaRecMarkerType_NTypes |
Definition at line 102 of file TrVisMetafileStream.h.
enum OdTrVisMetaRecType |
Definition at line 46 of file TrVisMetafileStream.h.
Enumerator | |
---|---|
OdTrVisPushMatrixType_Identity | |
OdTrVisPushMatrixType_Full |
Definition at line 177 of file TrVisMetafileStream.h.
Definition at line 158 of file TrVisMetafileStream.h.
enum OdTrVisShading |
Definition at line 121 of file TrVisMetafileStream.h.
const OdChar* chunkDecode | ( | OdTrVisMetaRecType | rt | ) |
|
inline |
Definition at line 149 of file TrVisMetafileStream.h.
|
inline |
Definition at line 155 of file TrVisMetafileStream.h.
|
inline |
Definition at line 153 of file TrVisMetafileStream.h.
bool isGeomTypeVisible | ( | OdTrVisGeomType | geomType, |
OdGsView::RenderMode | rMode | ||
) |
void od_dbl2float | ( | float * | pFloats, |
const double * | pDoubles, | ||
size_t | numData | ||
) |
|
inline |
Definition at line 151 of file TrVisMetafileStream.h.