24#ifndef _DbBlockRepresentation_h_Included_
25#define _DbBlockRepresentation_h_Included_
57 bool m_bBlockUpdateMode;
58 void eraseOldArrayClones();
59 void updateAttributeMap();
60 bool m_bNDBROAttributes;
61 std::map<OdDbAttributeDefinition*, void*> m_pAttributeMap;
62 std::set<OdDbObjectId> m_TransformedCache;
63 std::map<OdDbStub*, OdIntArray> m_StretchedCache;
99 void setBlockUpdateMode(
bool b) { m_bBlockUpdateMode = b; m_TransformedCache.clear(); m_StretchedCache.clear(); }
OdSmartPtr< OdDbAttribute > OdDbAttributePtr
OdSmartPtr< OdDbBlockReference > OdDbBlockReferencePtr
void DYNBLOCKS_EXPORT oddbUpdateAttributes(OdDbBlockReference *pRef, OdDbBlockTableRecord *pBlk)
OdSmartPtr< OdDbBlockTableRecord > OdDbBlockTableRecordPtr
OdSmartPtr< OdResBuf > OdResBufPtr
OdArray< OdDbEntityPtr > OdDbEntityPtrArray
OdSmartPtr< OdDbEvalGraph > OdDbEvalGraphPtr
unsigned long OdDbEvalNodeId
OdSmartPtr< OdDbEvalExpr > OdDbEvalExprPtr
OdSmartPtr< OdDbXrecord > OdDbXrecordPtr
OdArray< OdDbObjectId, OdClrMemAllocator< OdDbObjectId > > OdDbObjectIdArray
OdArray< int, OdMemoryAllocator< int > > OdIntArray
bool originalPathToRepresentationPath(const OdDbObjectIdArray &, OdDbEntityPtrArray &res) const
OdDbBlockTableRecordPtr getBlock() const
OdDbXrecordPtr getHistoryRecord() const
static void tagBlockRecord(OdDbBlockTableRecord *repBTR, const OdDbHandle &originalBlockHandle)
OdDbObjectId getRepresentation() const
void createRepresentation(bool copied=true)
static OdDbBlockRepresentationContext * getRepresentationContext(OdDbBlockReference *br, bool validate=true)
std::function< bool() > m_abortFunc
bool applyHistory(OdResBufPtr pRb)
void SetAbortFunc(std::function< bool() > abortFunc)
OdGeMatrix3d getRelativeMatrix(const OdGeMatrix3d &m) const
~OdDbBlockRepresentationContext()
std::function< bool() > GetAbortFunc() const
void updateRepresentation()
OdDbObjectId getBlockHData() const
OdDbObjectId getBlockData() const
void setBlockUpdateMode(bool b)
void compactRepresentation()
OdDbEvalGraphPtr getGraph() const
OdGeVector3d getRelativeOffset(const OdGeVector3d &v) const
bool blockUpdateMode() const
void addHistoryRecord(const OdString &name, const OdResBuf *value, OdDbEvalNodeId node)
void readUndo(OdDbObjectId refId, OdDbDwgFiler *pFiler)
OdDbEvalExprPtr getRepresentationNode(OdDbEvalNodeId id) const
friend class OdDbDynBlockReference
bool registerStretchedEntity(OdDbObjectId id, const OdIntArray &indices)
OdDbBlockReferencePtr getReference() const
static void clearRepBlock(OdDbBlockTableRecord *repRTR)
OdDbObjectId getOriginal() const
bool registerTransformedEntity(OdDbObjectId id)
OdDbBlockRepresentationContext()
void writeUndo(OdDbEvalGraph *gr)
void init(const OdDbDynBlockReference *ref, OdDbBlockReference *dbref, OdDbEvalGraph *gr, bool bRequireEvaluate=false, bool loadIndstanceData=true)
void loadInstanceData(bool bRequireEvaluate=false, bool noHistoryData=true)
OdDbAttributePtr getAttribute(OdDbAttributeDefinition *)
bool representationPathToOriginalPath(OdDbObjectIdArray &) const
static TOOLKIT_EXPORT_STATIC const OdDbObjectId kNull
GLuint const GLchar * name
GLsizei const GLfloat * value