CFx SDK Documentation
2020SP3
|
Go to the documentation of this file.
25 #ifndef _EXTRVISMETAFILESTREAM_INCLUDED_
26 #define _EXTRVISMETAFILESTREAM_INCLUDED_
30 #include "MetafileStreamBase.h"
36 #define OD_TRVIS_ENABLEFLOATCONVERSION
38 #ifdef OD_TRVIS_ENABLEFLOATCONVERSION
44 void od_dbl2float(
float *pFloats,
const double *pDoubles,
size_t numData);
274 template <
typename UInt64Type>
492 #define OD_OGL_RDR_SEEKFWD(pMemPtr, uSize) (pMemPtr) += (uSize)
493 #define OD_OGL_RDR_SEEKBWD(pMemPtr, uSize) (pMemPtr) -= (uSize)
494 #define OD_OGL_RDR_SEEKINC(pMemPtr) (pMemPtr)++
495 #define OD_OGL_RDR_SEEKDEC(pMemPtr) (pMemPtr)--
497 #define OD_OGL_RDR_READVAL(cType, pMemPtr) *(cType*)(pMemPtr)
498 #define OD_OGL_RDR_READVALOFFSET(cType, pMemPtr, uOffset) *(cType*)((pMemPtr) + (uOffset))
499 #define OD_OGL_RDR_READVALRETYPE(cOutType, cInType, pMemPtr) (cOutType)OD_OGL_RDR_READVAL(cInType, pMemPtr)
500 #define OD_OGL_RDR_READVALOFFSETRETYPE(cOutType, cInType, pMemPtr, uOffset) (cOutType)OD_OGL_RDR_READVALOFFSET(cInType, pMemPtr, uOffset)
501 #define OD_OGL_RDR_GETPTRNATIVE(cType, pMemPtr) (cType*)(pMemPtr)
502 #define OD_OGL_RDR_GETPTRNATIVEOFFSET(cType, pMemPtr, uSize) (cType*)((pMemPtr) + (uSize))
503 #define OD_OGL_RDR_GETPTRSTORAGE(imedType, name, count)
504 #define OD_OGL_RDR_GETPTR(cType, imedType, name, count, pMemPtr) OD_OGL_RDR_GETPTRNATIVE(cType, pMemPtr)
505 #define OD_OGL_RDR_GETPTROFFSET(cType, imedType, name, count, pMemPtr, uSize) OD_OGL_RDR_GETPTRNATIVEOFFSET(cType, pMemPtr, uSize)
507 #define OD_OGL_RDR_INITIATE(pMemPtr, uSize) const OdUInt8 *pMemPtrReadFor = (const OdUInt8*)pMemPtr + uSize
508 #define OD_OGL_RDR_CHECKEOF(pMemPtr) pMemPtr < pMemPtrReadFor
512 #endif // _EXTRVISMETAFILESTREAM_INCLUDED_
#define GETBIT(flags, bit)
bool OdEqual(double x, double y, double tol=1.e-10)
void concatArray(const void *pPtr, OdUInt32 size)
static bool isPs(LwdType type)
void concatArray_flt(const double *pPtr, OdUInt32 size)
OdPs::LineEndStyle curLesStyle() const
OdTrVisMarkBase(UInt64Type nMark)
OdTrVisLwdSetting(OdDb::LineWeight lw, LwdType typ=kDatabase)
OdInt32 pixLineWeight() const
void setType(LwdType typ)
GLuint GLsizei GLsizei GLint GLenum * type
OdTrVisMarkBase(UInt64Type nMark, OdUInt32 uFrom)
OdTrVisLwdSetting(OdInt32 pix, LwdType typ=kPixels)
bool operator==(const OdTrVisLwdStyle &sec) const
OdTrVisLwdStyle(bool bByDefault, OdPs::LineEndStyle lesStyle, OdPs::LineJoinStyle ljsStyle)
void load(OdGsFiler *pFiler)
void setCurLjsStyle(OdPs::LineJoinStyle curLjsStyle)
bool isForcedLineweight() const
void setArray_flt(Type type, const double *pPtr, OdUInt32 size)
void setArray_flt(Type type, const OdUInt8 *pPtr, OdUInt32 size)
void setCurUsesDef(bool bSet)
OdTrVisLwdSetting(double dVal, LwdType typ=kPlotStyle)
void setArray_ush(Type type, const OdInt32 *pPtr, OdUInt32 size)
void setLwLineWeight(OdDb::LineWeight lw, LwdType typ=kDatabase)
void concatArray_ush(const OdInt32 *pPtr, OdUInt32 size)
void setArray(Type type, const void *pPtr, OdUInt32 size)
bool operator!=(const OdTrVisLwdSetting &sec) const
OdPs::LineJoinStyle curLjsStyle() const
OdDb::LineWeight lwLineWeight() const
OdTrVisMarkBase(EnPosInit, OdUInt32 uFrom)
T & at(size_type arrayIndex)
bool operator!=(const OdTrVisLwdStyle &sec) const
void concatArray_flt(const OdUInt8 *pPtr, OdUInt32 size)
bool operator==(const OdTrVisLwdSetting &sec) const
void setPixLineWeight(OdInt32 pix, LwdType typ=kPixels)
void setCurLesStyle(OdPs::LineEndStyle curLesStyle)
union OdTrVisLwdSetting::@0 m_val
void push_back(const T &value)
void setCurStyleDef(bool bSet)
void setDLineWeight(double dVal, LwdType typ=kPlotStyle)
void save(OdGsFiler *pFiler) const
bool hasLineweight() const
double dLineWeight() const
bool OdNonZero(double x, double tol=1.e-10)