CFx SDK Documentation  2023 SP0
Enumerations | Functions
AECGr Namespace Reference

Enumerations

enum  Glyph {
  eglSquare , eglSquareViewportOriented , eglArrowFlip , eglArrowStretch ,
  eglPlus , eglPlusViewportOriented , eglMinus , eglMinusViewportOriented ,
  eglVertex , eglEdge , eglEditInPlaceMarker , eglEditInPlaceMarkerActive
}
 
enum  Result {
  erOk , erFailed , erConstrainted , erInternalError ,
  erNotImplemented , erInvalidCall , erInvalidParameter
}
 

Functions

AECBASE_API Result getGripPoints (AECDbEntity *pEntity, std::vector< AECGrPoint > &aGrips, double dCurViewUnitSize, OdUInt8 iGripSize, const OdGeVector3d &vViewDir, OdUInt8 iBitFlags)
 
AECBASE_API Result moveGripPointsAt (AECDbEntity *pEntity, const OdDbVoidPtrArray &aGripAppData, const std::vector< OdUInt32 > &aModes, const OdGeVector3d &vOffset, OdUInt8 iBitFlags)
 
AECBASE_API void RegisterObjects ()
 
AECBASE_API void UnregisterObjects ()
 

Detailed Description

<group TA_API_Grips>

Enumeration Type Documentation

◆ Glyph

AEC Grip point visual type.

Enumerator
eglSquare 
eglSquareViewportOriented 
eglArrowFlip 
eglArrowStretch 
eglPlus 
eglPlusViewportOriented 
eglMinus 
eglMinusViewportOriented 
eglVertex 
eglEdge 
eglEditInPlaceMarker 
eglEditInPlaceMarkerActive 

Definition at line 36 of file AECGr.h.

◆ Result

Result code for AEC Grip operations.

Enumerator
erOk 
erFailed 
erConstrainted 
erInternalError 
erNotImplemented 
erInvalidCall 
erInvalidParameter 

Definition at line 55 of file AECGr.h.

Function Documentation

◆ getGripPoints()

AECBASE_API Result AECGr::getGripPoints ( AECDbEntity pEntity,
std::vector< AECGrPoint > &  aGrips,
double  dCurViewUnitSize,
OdUInt8  iGripSize,
const OdGeVector3d vViewDir,
OdUInt8  iBitFlags 
)

Returns AEC Grip info for specified entity.

Parameters
pEntity[in] Pointer to AEC entity. It should be opened for read.
aGrips[out] Array of AECGrPoint object to append to.
dCurViewUnitSize[in] Size of one pixes.
iGripSize[in] Grip size. Should be in range from 1 to 255.
vViewDir[in] View direction.
iBitFlags[in] Bit flags. Currently unused.
Returns
...

◆ moveGripPointsAt()

AECBASE_API Result AECGr::moveGripPointsAt ( AECDbEntity pEntity,
const OdDbVoidPtrArray aGripAppData,
const std::vector< OdUInt32 > &  aModes,
const OdGeVector3d vOffset,
OdUInt8  iBitFlags 
)

Returns AEC Grip info for specified entity.

Parameters
pEntity[in] Pointer to AEC entity. It should be opened for write.
aGripAppData[in] Application data for points to move.
aModes[in] Mode for each modified grip point.
vOffset[in] Offset for specified grips.
iBitFlags[in] Bit flags. Currently unused.
Returns
...

◆ RegisterObjects()

AECBASE_API void AECGr::RegisterObjects ( )

◆ UnregisterObjects()

AECBASE_API void AECGr::UnregisterObjects ( )