CFx SDK Documentation
2020SP3
|
Go to the documentation of this file.
25 #ifndef ODTRVISDISPLAYCODEPROC
26 #define ODTRVISDISPLAYCODEPROC
38 template <
typename TArray>
43 template <
typename TArray>
48 template <
typename TArray>
53 template <
typename TArray>
58 template <
typename TArray>
63 const ValType *pMtxRepresentation =
reinterpret_cast<const ValType*
>(mtx.
entry);
64 arry.insert(arry.end(), pMtxRepresentation, pMtxRepresentation + (
sizeof(
OdGeMatrix3d) /
sizeof(ValType)));
66 template <
typename TArray>
71 template <
typename TArray>
76 arry.push_back((ValType)(
OdIntPtr)pHlBranch);
86 template <
typename TObj>
87 static bool isEqual(
const TObj &obj1,
const TObj &obj2)
89 return !::memcmp(&obj1, &obj2,
sizeof(TObj));
106 : m_pList(const_cast<
OdTrVisDisplayId*>(pList)), m_nListData(nData), m_nCaret(0)
109 bool isEOF()
const {
return m_nCaret >= m_nListData; }
127 #endif // ODTRVISDISPLAYCODEPROC
static void pushSelMarkers(TArray &arry, const void *pHlBranch)
@ kDisplayCodeUnhighlight
static void pushPushMatrix(TArray &arry, const OdGeMatrix3d &mtx)
static void pushHighlight(TArray &arry)
static bool isIdentity(const OdGeMatrix3d &mtx)
OdTrVisRendition::DisplayIdCodes code() const
const OdTrVisDisplayId & cur() const
static void pushHighlight(TArray &arry, bool bHighlight)
OdTrVisDisplayListIterator(const OdTrVisDisplayId *pList, OdUInt32 nData)
static void pushZero(TArray &arry)
static void pushPopMatrix(TArray &arry)
static void pushUnhighlight(TArray &arry)
static bool isEqual(const TObj &obj1, const TObj &obj2)
OdTrVisDisplayId & next(OdUInt32 n=1)
static GE_STATIC_EXPORT const OdGeMatrix3d kIdentity
const OdTrVisDisplayId & next(OdUInt32 n=1) const