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
bool OdEqual(double x, double y, double tol=1.e-10)
bool OdNonZero(double x, double tol=1.e-10)
#define GETBIT(flags, bit)
void push_back(const T &value)
T & at(size_type arrayIndex)
GLuint GLsizei GLsizei GLint GLenum * type
void save(OdGsFiler *pFiler) const
void setArray_flt(Type type, const OdUInt8 *pPtr, OdUInt32 size)
void setArray_ush(Type type, const OdInt32 *pPtr, OdUInt32 size)
void setArray_flt(Type type, const double *pPtr, OdUInt32 size)
void setArray(Type type, const void *pPtr, OdUInt32 size)
void concatArray_flt(const OdUInt8 *pPtr, OdUInt32 size)
void concatArray(const void *pPtr, OdUInt32 size)
void concatArray_flt(const double *pPtr, OdUInt32 size)
void concatArray_ush(const OdInt32 *pPtr, OdUInt32 size)
void load(OdGsFiler *pFiler)
bool hasLineweight() const
static bool isPs(LwdType type)
OdTrVisLwdSetting(OdInt32 pix, LwdType typ=kPixels)
OdDb::LineWeight lwLineWeight() const
bool operator==(const OdTrVisLwdSetting &sec) const
OdTrVisLwdSetting(OdDb::LineWeight lw, LwdType typ=kDatabase)
union OdTrVisLwdSetting::@64 m_val
bool operator!=(const OdTrVisLwdSetting &sec) const
void setDLineWeight(double dVal, LwdType typ=kPlotStyle)
OdTrVisLwdSetting(double dVal, LwdType typ=kPlotStyle)
OdInt32 pixLineWeight() const
void setLwLineWeight(OdDb::LineWeight lw, LwdType typ=kDatabase)
void setType(LwdType typ)
void setPixLineWeight(OdInt32 pix, LwdType typ=kPixels)
bool isForcedLineweight() const
double dLineWeight() const
void setCurLjsStyle(OdPs::LineJoinStyle curLjsStyle)
OdTrVisLwdStyle(bool bByDefault, OdPs::LineEndStyle lesStyle, OdPs::LineJoinStyle ljsStyle)
void setCurLesStyle(OdPs::LineEndStyle curLesStyle)
bool operator!=(const OdTrVisLwdStyle &sec) const
OdPs::LineEndStyle curLesStyle() const
void setCurStyleDef(bool bSet)
bool operator==(const OdTrVisLwdStyle &sec) const
void setCurUsesDef(bool bSet)
OdPs::LineJoinStyle curLjsStyle() const
OdTrVisMarkBase(UInt64Type nMark, OdUInt32 uFrom)
OdTrVisMarkBase(UInt64Type nMark)
OdTrVisMarkBase(EnPosInit, OdUInt32 uFrom)