31#ifndef _ODGITRANSFORMED_INCLUDED_
32#define _ODGITRANSFORMED_INCLUDED_
55 Transforms() : bWorldToModelValid(
false) {}
61 mutable bool bWorldToModelValid;
73 const Transforms* pPrev = m_TransformStack.
top();
74 Transforms* pNew = m_TransformStack.
push();
77 pNew->xModelToWorld.setToProduct(pPrev->xModelToWorld, xMat);
81 pNew->xModelToWorld = xMat;
99 m_TransformStack.
pop();
107 if(m_TransformStack.
top())
108 return m_TransformStack.
top()->xModelToWorld;
117 const Transforms* pTop = m_TransformStack.
top();
120 if(!pTop->bWorldToModelValid)
122 pTop->xWorldToModel = pTop->xModelToWorld.inverse();
123 pTop->bWorldToModelValid =
true;
125 return pTop->xWorldToModel;
static OdGeMatrix3d planeToWorld(const OdGeVector3d &normal)
static GE_STATIC_EXPORT const OdGeMatrix3d kIdentity
void push(const T &inVal)