CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | List of all members
OdDbBlockRepresentationContext Class Reference

#include <DbBlockRepresentation.h>

Inheritance diagram for OdDbBlockRepresentationContext:
OdRxObject

Public Member Functions

 OdDbBlockRepresentationContext ()
 
 ~OdDbBlockRepresentationContext ()
 
void init (const OdDbDynBlockReference *ref, OdDbBlockReference *dbref, OdDbEvalGraph *gr, bool bRequireEvaluate=false, bool loadIndstanceData=true)
 
void loadInstanceData (bool bRequireEvaluate=false, bool noHistoryData=true)
 
void compactRepresentation ()
 
bool originalPathToRepresentationPath (const OdDbObjectIdArray &, OdDbEntityPtrArray &res) const
 
bool representationPathToOriginalPath (OdDbObjectIdArray &) const
 
void createRepresentation (bool copied=true)
 
void addHistoryRecord (const OdString &name, const OdResBuf *value, OdDbEvalNodeId node)
 
OdDbXrecordPtr getHistoryRecord () const
 
bool applyHistory (OdResBufPtr pRb)
 
void updateRepresentation ()
 
OdDbObjectId getRepresentation () const
 
OdDbObjectId getOriginal () const
 
OdDbEvalExprPtr getRepresentationNode (OdDbEvalNodeId id)
 
OdDbBlockReferencePtr getReference ()
 
OdDbEvalGraphPtr getGraph ()
 
OdDbBlockTableRecordPtr getBlock ()
 
void writeUndo (OdDbEvalGraph *gr)
 
void readUndo (OdDbObjectId refId, OdDbDwgFiler *pFiler)
 
OdDbAttributePtr getAttribute (OdDbAttributeDefinition *)
 
OdGeMatrix3d getRelativeMatrix (const OdGeMatrix3d &m)
 
OdGeVector3d getRelativeOffset (const OdGeVector3d &v)
 
OdDbObjectId getBlockData () const
 
void setBlockUpdateMode (bool b)
 
bool blockUpdateMode () const
 
OdDbObjectId getBlockHData () const
 
- Public Member Functions inherited from OdRxObject
 ODRX_HEAP_OPERATORS ()
 
 OdRxObject ()
 
virtual ~OdRxObject ()
 
virtual OdRxObjectqueryX (const OdRxClass *pClass) const
 
virtual OdRxObjectx (const OdRxClass *pClass) const
 
virtual OdRxClassisA () const
 
virtual void addRef ()=0
 
virtual void release ()=0
 
virtual long numRefs () const
 
bool isKindOf (const OdRxClass *pClass) const
 
virtual OdRxObjectPtr clone () const
 
virtual void copyFrom (const OdRxObject *pSource)
 
virtual OdRx::Ordering comparedTo (const OdRxObject *pOther) const
 
virtual bool isEqualTo (const OdRxObject *pOther) const
 

Static Public Member Functions

static void tagBlockRecord (OdDbBlockTableRecord *repBTR, const OdDbHandle &originalBlockHandle)
 
static void clearRepBlock (OdDbBlockTableRecord *repRTR)
 
static OdDbBlockRepresentationContextgetRepresentationContext (OdDbBlockReference *br, bool validate=true)
 
- Static Public Member Functions inherited from OdRxObject
static OdRxObjectPtr cast (const OdRxObject *pointer)
 
static OdRxClassdesc ()
 

Detailed Description

<group OdDb_Classes>

Definition at line 45 of file DbBlockRepresentation.h.

Constructor & Destructor Documentation

◆ OdDbBlockRepresentationContext()

OdDbBlockRepresentationContext::OdDbBlockRepresentationContext ( )

◆ ~OdDbBlockRepresentationContext()

OdDbBlockRepresentationContext::~OdDbBlockRepresentationContext ( )

Member Function Documentation

◆ addHistoryRecord()

void OdDbBlockRepresentationContext::addHistoryRecord ( const OdString name,
const OdResBuf value,
OdDbEvalNodeId  node 
)

◆ applyHistory()

bool OdDbBlockRepresentationContext::applyHistory ( OdResBufPtr  pRb)

◆ blockUpdateMode()

bool OdDbBlockRepresentationContext::blockUpdateMode ( ) const
inline

Definition at line 98 of file DbBlockRepresentation.h.

◆ clearRepBlock()

static void OdDbBlockRepresentationContext::clearRepBlock ( OdDbBlockTableRecord repRTR)
static

◆ compactRepresentation()

void OdDbBlockRepresentationContext::compactRepresentation ( )

◆ createRepresentation()

void OdDbBlockRepresentationContext::createRepresentation ( bool  copied = true)

◆ getAttribute()

OdDbAttributePtr OdDbBlockRepresentationContext::getAttribute ( OdDbAttributeDefinition )

◆ getBlock()

OdDbBlockTableRecordPtr OdDbBlockRepresentationContext::getBlock ( )

◆ getBlockData()

OdDbObjectId OdDbBlockRepresentationContext::getBlockData ( ) const
inline

Definition at line 96 of file DbBlockRepresentation.h.

◆ getBlockHData()

OdDbObjectId OdDbBlockRepresentationContext::getBlockHData ( ) const

◆ getGraph()

OdDbEvalGraphPtr OdDbBlockRepresentationContext::getGraph ( )
inline

Definition at line 85 of file DbBlockRepresentation.h.

◆ getHistoryRecord()

OdDbXrecordPtr OdDbBlockRepresentationContext::getHistoryRecord ( ) const

◆ getOriginal()

OdDbObjectId OdDbBlockRepresentationContext::getOriginal ( ) const
inline

Definition at line 82 of file DbBlockRepresentation.h.

◆ getReference()

OdDbBlockReferencePtr OdDbBlockRepresentationContext::getReference ( )

◆ getRelativeMatrix()

OdGeMatrix3d OdDbBlockRepresentationContext::getRelativeMatrix ( const OdGeMatrix3d m)

◆ getRelativeOffset()

OdGeVector3d OdDbBlockRepresentationContext::getRelativeOffset ( const OdGeVector3d v)

◆ getRepresentation()

OdDbObjectId OdDbBlockRepresentationContext::getRepresentation ( ) const
inline

Definition at line 81 of file DbBlockRepresentation.h.

◆ getRepresentationContext()

static OdDbBlockRepresentationContext * OdDbBlockRepresentationContext::getRepresentationContext ( OdDbBlockReference br,
bool  validate = true 
)
static

◆ getRepresentationNode()

OdDbEvalExprPtr OdDbBlockRepresentationContext::getRepresentationNode ( OdDbEvalNodeId  id)

◆ init()

void OdDbBlockRepresentationContext::init ( const OdDbDynBlockReference ref,
OdDbBlockReference dbref,
OdDbEvalGraph gr,
bool  bRequireEvaluate = false,
bool  loadIndstanceData = true 
)

◆ loadInstanceData()

void OdDbBlockRepresentationContext::loadInstanceData ( bool  bRequireEvaluate = false,
bool  noHistoryData = true 
)

◆ originalPathToRepresentationPath()

bool OdDbBlockRepresentationContext::originalPathToRepresentationPath ( const OdDbObjectIdArray ,
OdDbEntityPtrArray res 
) const

◆ readUndo()

void OdDbBlockRepresentationContext::readUndo ( OdDbObjectId  refId,
OdDbDwgFiler pFiler 
)

◆ representationPathToOriginalPath()

bool OdDbBlockRepresentationContext::representationPathToOriginalPath ( OdDbObjectIdArray ) const

◆ setBlockUpdateMode()

void OdDbBlockRepresentationContext::setBlockUpdateMode ( bool  b)
inline

Definition at line 97 of file DbBlockRepresentation.h.

◆ tagBlockRecord()

static void OdDbBlockRepresentationContext::tagBlockRecord ( OdDbBlockTableRecord repBTR,
const OdDbHandle originalBlockHandle 
)
static

◆ updateRepresentation()

void OdDbBlockRepresentationContext::updateRepresentation ( )

◆ writeUndo()

void OdDbBlockRepresentationContext::writeUndo ( OdDbEvalGraph gr)

The documentation for this class was generated from the following file: