CFx SDK Documentation
2020SP3
|
Go to the documentation of this file.
24 #ifndef __OD_GS_MATERIAL_NODE__
25 #define __OD_GS_MATERIAL_NODE__
83 typedef std::map<const void *, DataEntry>
CacheMap;
142 #endif // __OD_GS_MATERIAL_NODE__
const OdRxObject * cachedData(OdGsBaseVectorizer &view) const
bool isCachedDataModified(OdGsBaseVectorizer &view) const
OdGsMaterialNode * setPrevNode(OdGsMaterialNode *newNode)
OdGiMaterialTraitsData m_materialTraits
OdRxObjectPtr m_pCachedData
OdGsMaterialNode(OdGsBaseModel *pModel, const OdGiDrawable *pUnderlyingDrawable, bool bSetGsNode=true)
virtual void propagateLayerChanges(OdGsViewImpl &view)
void setCachedData(OdGsBaseVectorizer &view, OdRxObject *newCachedData)
void invalidate(OdGsContainerNode *pParent, OdGsViewImpl *pView, OdUInt32 mask)
OdGsMaterialNode * m_pMatNext
OdGsMaterialNode * prevNode() const
ODRX_DECLARE_MEMBERS(OdGsMaterialNode)
bool isDataModified() const
bool loadNodeState(OdGsFiler *pFiler, OdGsBaseVectorizer *pVectorizer=NULL)
void setCachedDataUpdated(OdGsBaseVectorizer &view)
OdMutexPtr & cacheMutex()
OdGsMaterialNode * setNextNode(OdGsMaterialNode *newNode)
OdGiMaterialTraitsData & materialTraits()
virtual void update(OdGsBaseVectorizer &view)
const OdGiMaterialTraitsData & materialTraits() const
OdGsMaterialNode * m_pMatPrev
std::map< const void *, DataEntry > CacheMap
bool saveNodeState(OdGsFiler *pFiler, OdGsBaseVectorizer *pVectorizer=NULL) const
#define GS_TOOLKIT_EXPORT
void display(OdGsDisplayContext &ctx)
bool extents(OdGeExtents3d &) const
bool m_cachedDataModified
OdGsMaterialNode * nextNode() const
virtual ENodeType nodeType() const
void update(OdGsUpdateContext &ctx, OdGsContainerNode *pParent, OdSiSpatialIndex *pParentIndex)
virtual void onModified(OdGsBaseVectorizer &view)