CFx SDK Documentation 2024 SP0
|
#include <DbGeomRef.h>
Public Member Functions | |
ODRX_DECLARE_MEMBERS (OdDbSubentRef) | |
OdDbSubentRef () | |
OdDbSubentRef (const OdDbCompoundObjectId &compId, const OdDbSubentId &subent=OdDbSubentId()) | |
OdDbSubentRef & | operator= (const OdDbSubentRef &src) |
virtual void | copyFrom (const OdRxObject *src) |
virtual void | reset () |
virtual bool | isValid () const |
virtual bool | isEmpty () const |
virtual const OdDbCompoundObjectId & | entity () const |
virtual OdDbSubentId | subentId () const |
virtual OdDbEntityPtr | createEntity () const |
virtual OdResult | evaluateAndCacheGeometry () |
Public Member Functions inherited from OdDbGeomRef | |
ODRX_DECLARE_MEMBERS (OdDbGeomRef) | |
virtual | ~OdDbGeomRef () |
virtual void | reset () |
virtual bool | isValid () const |
virtual bool | isEmpty () const |
virtual OdDbEntityPtr | createEntity () const |
virtual OdResult | evaluateAndCacheGeometry () |
Public Member Functions inherited from OdRxObject | |
ODRX_HEAP_OPERATORS () | |
OdRxObject () | |
virtual | ~OdRxObject () |
virtual OdRxObject * | queryX (const OdRxClass *pClass) const |
virtual OdRxObject * | x (const OdRxClass *pClass) const |
virtual OdRxClass * | isA () 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 OdSmartPtr< OdDbSubentRef > | createObject (const OdDbCompoundObjectId &compId, const OdDbSubentId &subent=OdDbSubentId()) |
static OdSmartPtr< OdDbSubentRef > | createObject (const OdDbCompoundObjectId *pid, const OdDbSubentId &subentid=OdDbSubentId()) |
Static Public Member Functions inherited from OdRxObject | |
static OdRxObjectPtr | cast (const OdRxObject *pointer) |
static OdRxClass * | desc () |
Protected Member Functions | |
void | setEntity (const OdDbCompoundObjectId &entityId) |
void | setSubent (const OdDbSubentId &subentId) |
void | setFromSubentPath (const OdDbFullSubentPath &pathSubEnt) |
This class represents a reference to a subent object.
<group OdDb_Classes>
Definition at line 102 of file DbGeomRef.h.
OdDbSubentRef::OdDbSubentRef | ( | ) |
Constructor creates an instance of this class.
OdDbSubentRef::OdDbSubentRef | ( | const OdDbCompoundObjectId & | compId, |
const OdDbSubentId & | subent = OdDbSubentId() |
||
) |
Creates an instance of this class.
compId | [in] input component id |
subent | [in] input subentity id |
|
virtual |
Creates OdDbSubentRef using other OdDbSubentRef.
src | [in] subentity reference that will be copied |
Reimplemented from OdRxObject.
Reimplemented in OdDbFaceRef, OdDbEdgeRef, and OdDbVertexRef.
|
virtual |
Creates an entity using this subent reference.
Reimplemented from OdDbGeomRef.
Reimplemented in OdDbFaceRef, OdDbEdgeRef, and OdDbVertexRef.
|
static |
Creates an instance of this class.
compId | [in] input component id |
subent | [in] input subentity id |
|
inlinestatic |
Deprecated.
Definition at line 133 of file DbGeomRef.h.
|
virtual |
Returns an object ID of the compounded entity.
Reimplemented in OdDbVertexRef.
|
virtual |
Evaluates and caches the geometry.
Reimplemented from OdDbGeomRef.
Reimplemented in OdDbFaceRef, OdDbEdgeRef, and OdDbVertexRef.
|
virtual |
Checks whether this subent reference is empty.
Reimplemented from OdDbGeomRef.
Reimplemented in OdDbFaceRef, and OdDbEdgeRef.
|
virtual |
Checks whether this subent reference is valid.
Reimplemented from OdDbGeomRef.
Reimplemented in OdDbFaceRef, OdDbEdgeRef, and OdDbVertexRef.
OdDbSubentRef::ODRX_DECLARE_MEMBERS | ( | OdDbSubentRef | ) |
OdDbSubentRef & OdDbSubentRef::operator= | ( | const OdDbSubentRef & | src | ) |
Creates OdDbSubentRef using other OdDbSubentRef.
src | [in] subentity reference that will be copied |
|
virtual |
Resets this subent reference.
Reimplemented from OdDbGeomRef.
Reimplemented in OdDbFaceRef, OdDbEdgeRef, and OdDbVertexRef.
|
protected |
Sets the compounded entity using an object ID.
entityId | [in] the object ID. |
|
protected |
Sets an subent ID using the full subent path.
pathSubEnt | [in] the full subent path. |
|
protected |
Sets an subent ID.
|
virtual |
Returns an subent ID.
Reimplemented in OdDbVertexRef.