CFx SDK Documentation 2024 SP0
|
#include <AECGripManager.h>
Public Member Functions | |
AECGripManager () | |
void | init (AECDbEntity *pEnt, double dUnitSize, OdUInt8 iGripSize, const OdGeVector3d &vViewDir, OdUInt8 iFlags) |
AECDbEntity * | entity () const |
double | gripSize () const |
bool | is3d () const |
bool | isFullSet () const |
bool | isDispRepActive (OdRxClass *pClass) const |
const OdGeVector3d & | viewDirection () const |
std::vector< AECGripPtr > & | grips () const |
std::vector< AECGrPoint > & | points () const |
std::vector< OdUInt32 > & | modes () const |
AECGr::Result | regenerateGrips () |
AECGr::Result | moveGrips (const OdDbVoidPtrArray &aGripAppData, const std::vector< OdUInt32 > &aModes, const OdGeVector3d &vOffset) |
void | clear () |
OdUInt8 | entityGripState () const |
void | setEntityGripState (OdUInt8 iState) const |
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 |
Additional Inherited Members | |
Static Public Member Functions inherited from OdRxObject | |
static OdRxObjectPtr | cast (const OdRxObject *pointer) |
static OdRxClass * | desc () |
Internal class that calculates and caches grips for AEC entity. <group TA_API_Grips>
Definition at line 34 of file AECGripManager.h.
AECGripManager::AECGripManager | ( | ) |
Constructor.
void AECGripManager::clear | ( | ) |
AECDbEntity * AECGripManager::entity | ( | ) | const |
Returns managed entity.
OdUInt8 AECGripManager::entityGripState | ( | ) | const |
std::vector< AECGripPtr > & AECGripManager::grips | ( | ) | const |
double AECGripManager::gripSize | ( | ) | const |
Returns view unit size.
void AECGripManager::init | ( | AECDbEntity * | pEnt, |
double | dUnitSize, | ||
OdUInt8 | iGripSize, | ||
const OdGeVector3d & | vViewDir, | ||
OdUInt8 | iFlags | ||
) |
Initializes grip manager.
bool AECGripManager::is3d | ( | ) | const |
Returns whether an entity has 3d representation with current view direction.
bool AECGripManager::isDispRepActive | ( | OdRxClass * | pClass | ) | const |
bool AECGripManager::isFullSet | ( | ) | const |
std::vector< OdUInt32 > & AECGripManager::modes | ( | ) | const |
AECGr::Result AECGripManager::moveGrips | ( | const OdDbVoidPtrArray & | aGripAppData, |
const std::vector< OdUInt32 > & | aModes, | ||
const OdGeVector3d & | vOffset | ||
) |
Moves grip points.
std::vector< AECGrPoint > & AECGripManager::points | ( | ) | const |
AECGr::Result AECGripManager::regenerateGrips | ( | ) |
Stores grip information.
const OdGeVector3d & AECGripManager::viewDirection | ( | ) | const |
Returns view direction.