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; }
static GE_STATIC_EXPORT const OdGeMatrix3d kIdentity
static void pushHighlight(TArray &arry, bool bHighlight)
static void pushSelMarkers(TArray &arry, const void *pHlBranch)
static void pushPopMatrix(TArray &arry)
static void pushPushMatrix(TArray &arry, const OdGeMatrix3d &mtx)
static void pushUnhighlight(TArray &arry)
static void pushHighlight(TArray &arry)
static void pushZero(TArray &arry)
OdTrVisDisplayId & next(OdUInt32 n=1)
const OdTrVisDisplayId & next(OdUInt32 n=1) const
const OdTrVisDisplayId & cur() const
OdTrVisRendition::DisplayIdCodes code() const
OdTrVisDisplayListIterator(const OdTrVisDisplayId *pList, OdUInt32 nData)
static bool isIdentity(const OdGeMatrix3d &mtx)
static bool isEqual(const TObj &obj1, const TObj &obj2)
@ kDisplayCodeUnhighlight