CFx SDK Documentation  2020SP3
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)
 
void loadInstanceData (bool bRequireEvaluate=false)
 
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, OdDbBlockParameter *param)
 
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
 
- 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)
 
- Static Public Member Functions inherited from OdRxObject
static OdRxObjectPtr cast (const OdRxObject *pointer)
 
static OdRxClassdesc ()
 

Detailed Description

See also
TD_Db

<group OdDb_Classes>

Definition at line 47 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,
OdDbBlockParameter param 
)

◆ 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 92 of file DbBlockRepresentation.h.

◆ getGraph()

OdDbEvalGraphPtr OdDbBlockRepresentationContext::getGraph ( )
inline

Definition at line 81 of file DbBlockRepresentation.h.

◆ getOriginal()

OdDbObjectId OdDbBlockRepresentationContext::getOriginal ( ) const
inline

Definition at line 78 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 77 of file DbBlockRepresentation.h.

◆ getRepresentationContext()

static OdDbBlockRepresentationContext* OdDbBlockRepresentationContext::getRepresentationContext ( OdDbBlockReference br)
static

◆ getRepresentationNode()

OdDbEvalExprPtr OdDbBlockRepresentationContext::getRepresentationNode ( OdDbEvalNodeId  id)

◆ init()

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

◆ loadInstanceData()

void OdDbBlockRepresentationContext::loadInstanceData ( bool  bRequireEvaluate = false)

◆ originalPathToRepresentationPath()

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

◆ readUndo()

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

◆ representationPathToOriginalPath()

bool OdDbBlockRepresentationContext::representationPathToOriginalPath ( OdDbObjectIdArray ) const

◆ 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: