CFx SDK Documentation
2020SP3
|
#include <DbSSet.h>
Public Member Functions | |
ODRX_DECLARE_MEMBERS (OdDbSelectionSet) | |
virtual const OdDbDatabase * | database () const =0 |
virtual OdDbObjectIdArray | objectIdArray () const =0 |
TD_USING (OdSelectionSet::append) | |
virtual void | append (const OdDbObjectId &entityId, OdDbSelectionMethod *pMethod=0)=0 |
virtual void | append (const OdDbObjectIdArray &entityIds, OdDbSelectionMethod *pMethod=0) |
virtual void | append (const OdDbFullSubentPath &subent, OdDbSelectionMethod *pMethod=0)=0 |
virtual void | append (const OdSelectionSet *pSSet) |
TD_USING (OdSelectionSet::remove) | |
virtual void | remove (const OdDbObjectId &entityId)=0 |
virtual void | remove (const OdDbObjectIdArray &entityIds) |
virtual void | remove (const OdDbFullSubentPath &subent)=0 |
virtual void | remove (const OdSelectionSet *pSSet) |
TD_USING (OdSelectionSet::isMember) | |
virtual bool | isMember (const OdDbObjectId &entityId) const =0 |
virtual bool | isMember (const OdDbFullSubentPath &subent) const =0 |
TD_USING (OdSelectionSet::method) | |
virtual OdDbSelectionMethodPtr | method (const OdDbObjectId &entityId) const =0 |
virtual OdUInt32 | subentCount (const OdDbObjectId &entityId) const =0 |
virtual bool | getSubentity (const OdDbObjectId &entityId, OdUInt32 i, OdDbFullSubentPath &path) const =0 |
virtual OdDbSelectionMethodPtr | method (const OdDbFullSubentPath &subent) const =0 |
Public Member Functions inherited from OdSelectionSet | |
ODRX_DECLARE_MEMBERS (OdSelectionSet) | |
virtual const OdRxObject * | baseDatabase () const =0 |
virtual OdSelectionSetIteratorPtr | newIterator () const =0 |
virtual OdUInt32 | numEntities () const =0 |
virtual void | append (OdDbStub *entityId, OdDbSelectionMethod *pMethod=0)=0 |
virtual void | append (const OdDbBaseFullSubentPath &subent, OdDbSelectionMethod *pMethod=0)=0 |
virtual void | remove (OdDbStub *entityId)=0 |
virtual void | remove (const OdDbBaseFullSubentPath &subent)=0 |
virtual bool | isMember (OdDbStub *entityId) const =0 |
virtual bool | isMember (const OdDbBaseFullSubentPath &subent) const =0 |
virtual OdDbSelectionMethodPtr | method (OdDbStub *entityId) const =0 |
virtual void | clear ()=0 |
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 OdDbSelectionSetPtr | createObject (const OdDbDatabase *pDb) |
static OdDbSelectionSetPtr | select (const OdDbDatabase *pDb, const OdRxObject *pFilter=0) |
static OdDbSelectionSetPtr | select (const OdDbObjectId &vpId, int nPoints, const OdGePoint3d *wcsPts, OdDbVisualSelection::Mode mode=OdDbVisualSelection::kCrossing, OdDbVisualSelection::SubentSelectionMode sm=OdDbVisualSelection::kDisableSubents, const OdRxObject *pFilter=0) |
Static Public Member Functions inherited from OdRxObject | |
static OdRxObjectPtr | cast (const OdRxObject *pointer) |
static OdRxClass * | desc () |
Protected Member Functions | |
OdDbSelectionSet () | |
Protected Member Functions inherited from OdSelectionSet | |
OdSelectionSet () | |
This class represents Selection Sets in an Teigha application.
<group OdDb_Classes>
|
protected |
|
pure virtual |
Appends the specified subentity to this SelectionSet object.
subent | [in] Subentity path to append. |
pMethod | [in] Selection method to associate with objects |
|
pure virtual |
|
virtual |
Appends the specified entity to this SelectionSet object.
entityIds | [in] Array of Object IDs of the OdDbEntity's. |
pMethod | [in] Selection method to associate with objects. |
|
virtual |
Appends the specified entity to this SelectionSet object.
pSSet | [in] Other selection set to copy entities from. |
Implements OdSelectionSet.
|
static |
Creates a SelectionSet object for the specified database.
pDb | [in] Pointer to the database object for which to create the SelectionSet object. |
|
pure virtual |
|
pure virtual |
Returns the given subentity path inside the entity with the given id. (analogous to acedSSSubentName)
entityId | [in] entity id for the parent of the subentity |
i | [in] index of the subentity. |
path | [out] Path to the subentity. |
|
pure virtual |
Returns true if and only if the specified subentity is a member of this SelectionSet object.
entityId | [in] Subentity path. |
|
pure virtual |
Returns true if and only if the specified subentity is a member of this SelectionSet object.
entityId | [in] Subentity path. |
|
pure virtual |
Returns the selection method for the given subentity.
|
pure virtual |
Returns the selection method for the given subentity.
entityId | [in] Subentity path. |
|
pure virtual |
Returns an Iterator object that provides access to the entities in this Selection Set.
OdDbSelectionSet::ODRX_DECLARE_MEMBERS | ( | OdDbSelectionSet | ) |
|
pure virtual |
Removes the specified subentity from this SelectionSet object.
subent | [in] Subentity path to remove. |
|
pure virtual |
Removes the specified entity from this SelectionSet object.
entityId | [in] Object ID of the OdDbEntity. |
|
virtual |
Removes the specified entity from this SelectionSet object.
entityIds | [in] Array Object ID of the OdDbEntity. |
|
virtual |
Removes the specified entity from this SelectionSet object.
pSSet | [in] Object ID of the OdDbEntity. |
Implements OdSelectionSet.
|
static |
Filter selection only.
pDb | [in] Pointer to the database object for which to create the SelectionSet object. |
pFilter | [in] object of type OdDbSelectionFilter or pointer to a OdResBuf chain defining the filter. |
|
static |
Filter selection only.
vpId | [in] id of OdDbViewportTableRecord record or OdDbViewport entity in which to select. |
nPoints | [in] |
wcsPts | [in] |
mode | [in] |
pFilter | [in] object of type OdDbSelectionFilter or pointer to a OdResBuf chain defining the filter. |
|
pure virtual |
Returns the number of subentities selected inside the entity with the given id. (analogous to acedSSSubentLength)
entityId | [in] entity id for the parent of the subentity |
OdDbSelectionSet::TD_USING | ( | OdSelectionSet::append | ) |
Returns the number of entities in this group.
Appends the specified entity to this SelectionSet object.
entityId | [in] Object ID of the OdDbEntity. |
method | [in] Selection method to associate with object |
OdDbSelectionSet::TD_USING | ( | OdSelectionSet::isMember | ) |
Returns true if and only if the specified entity is a member of this SelectionSet object.
entityId | [in] Object ID of the OdDbEntity. |
OdDbSelectionSet::TD_USING | ( | OdSelectionSet::method | ) |
OdDbSelectionSet::TD_USING | ( | OdSelectionSet::remove | ) |
Removes the specified entity from this SelectionSet object.
entityId | [in] Object ID of the OdDbEntity. |