CFx SDK Documentation  2023 SP0
Public Member Functions | Protected Attributes | List of all members
AECGaCustomBlock Class Reference

#include <AECGaCustomBlock.h>

Inheritance diagram for AECGaCustomBlock:
AECImpObj OdRxObjectImpl< OdRxObject, AECImpObj > OdRxObject

Public Member Functions

OdDbObjectId GetBlock () const
 
AECDispCompEnt::XPosition GetXPosition () const
 
AECDispCompEnt::YPosition GetYPosition () const
 
AECDispCompEnt::ZPosition GetZPosition () const
 
bool IsMirrorX () const
 
bool IsMirrorY () const
 
bool IsMirrorZ () const
 
bool IsScaleToFitWidth () const
 
bool IsScaleToFitHeight () const
 
bool IsScaleToFitDepth () const
 
bool IsScaleToFitLockXYRatio () const
 
const OdGeVector3dGetInsertionOffset () const
 
void GetOffsetFromOrigin (const OdGeVector3d &vEntityDimension, OdGeVector3d &vOffset) const
 
- Public Member Functions inherited from AECImpObj
const OdStringGetDescription () const
 
void SetDescription (const OdString &strDescription)
 
virtual void onObjectLoaded ()
 
virtual void SubClose ()
 DOM. More...
 
OdRxObjectGetOwner () const
 
OdRxObjectGetOwner (OdRxClass *pClass) const
 
void addRefSubPtr ()
 
void releaseSubPtr ()
 
void assertReadEnabled () const
 
void assertWriteEnabled (bool autoUndo=true, bool recordModified=true)
 
bool isReadEnabled () const
 
bool isWriteEnabled () const
 
OdDbDatabasedatabase () const
 
void copyFrom (const OdRxObject *pOther)
 
virtual OdUInt16 minSupportedVersion () const
 
void SetOwner (OdDbObject *pOwner)
 DOM. More...
 
void SetOwner (AECImpObj *pOwner)
 DOM. More...
 
class AECSIBase * GetImpl () const
 DOM. More...
 
virtual OdResult dwgInFieldsEx20 (AECDbDwgFiler *pFiler)
 DOM. More...
 
virtual OdResult dwgInFieldsEx1 (AECDbDwgFiler *pFiler)
 DOM. More...
 
- Public Member Functions inherited from OdRxObjectImpl< OdRxObject, AECImpObj >
 OdRxObjectImpl ()
 
void addRef ()
 
void release ()
 
long numRefs () 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
 
bool isKindOf (const OdRxClass *pClass) const
 
virtual OdRxObjectPtr clone () const
 
virtual OdRx::Ordering comparedTo (const OdRxObject *pOther) const
 
virtual bool isEqualTo (const OdRxObject *pOther) const
 

Protected Attributes

AECDispCompEnt::BlockFlags m_uFlags
 
OdDbHardPointerId m_hpidBlockTableRecord
 
OdGeVector3d m_vInsertionOffset
 
- Protected Attributes inherited from AECImpObj
class AECSIBase * m_pImp
 DOM. More...
 
OdUInt16 m_iMinSupportedVersion
 

Additional Inherited Members

- Static Public Member Functions inherited from OdRxObjectImpl< OdRxObject, AECImpObj >
static OdSmartPtr< AECImpObjcreateObject ()
 
- Static Public Member Functions inherited from OdRxObject
static OdRxObjectPtr cast (const OdRxObject *pointer)
 
static OdRxClassdesc ()
 
- Protected Member Functions inherited from OdRxObjectImpl< OdRxObject, AECImpObj >
 ODRX_HEAP_OPERATORS ()
 

Detailed Description

Grid Assembly custom block definition.

<group TA_API_Subobjects_Ga>

Definition at line 35 of file AECGaCustomBlock.h.

Member Function Documentation

◆ GetBlock()

OdDbObjectId AECGaCustomBlock::GetBlock ( ) const

Returns the Object ID of ACAD block.

◆ GetInsertionOffset()

const OdGeVector3d& AECGaCustomBlock::GetInsertionOffset ( ) const

Returns the offset of insertion point.

◆ GetOffsetFromOrigin()

void AECGaCustomBlock::GetOffsetFromOrigin ( const OdGeVector3d vEntityDimension,
OdGeVector3d vOffset 
) const

Returns the offset from the entity`s origin.

Parameters
vEntityDimension[in] - three dimensions of the entity.
vOffset[out] - offset from origin.

◆ GetXPosition()

AECDispCompEnt::XPosition AECGaCustomBlock::GetXPosition ( ) const

Returns the position of insertion point along X axis.

◆ GetYPosition()

AECDispCompEnt::YPosition AECGaCustomBlock::GetYPosition ( ) const

Returns the position of insertion point along Y axis.

◆ GetZPosition()

AECDispCompEnt::ZPosition AECGaCustomBlock::GetZPosition ( ) const

Returns the position of insertion point along Z axis.

◆ IsMirrorX()

bool AECGaCustomBlock::IsMirrorX ( ) const

Returns whether the block is mirrored about X axis.

◆ IsMirrorY()

bool AECGaCustomBlock::IsMirrorY ( ) const

Returns whether the block is mirrored about Y axis.

◆ IsMirrorZ()

bool AECGaCustomBlock::IsMirrorZ ( ) const

Returns whether the block is mirrored about Z axis.

◆ IsScaleToFitDepth()

bool AECGaCustomBlock::IsScaleToFitDepth ( ) const

Returns whether the block is scaled to fit depth.

◆ IsScaleToFitHeight()

bool AECGaCustomBlock::IsScaleToFitHeight ( ) const

Returns whether the block is scaled to fit height.

◆ IsScaleToFitLockXYRatio()

bool AECGaCustomBlock::IsScaleToFitLockXYRatio ( ) const

Returns whether the block is scaled to keep XY ratio.

◆ IsScaleToFitWidth()

bool AECGaCustomBlock::IsScaleToFitWidth ( ) const

Returns whether the block is scaled to fit width.

Member Data Documentation

◆ m_hpidBlockTableRecord

OdDbHardPointerId AECGaCustomBlock::m_hpidBlockTableRecord
protected

Definition at line 115 of file AECGaCustomBlock.h.

◆ m_uFlags

AECDispCompEnt::BlockFlags AECGaCustomBlock::m_uFlags
protected

Definition at line 112 of file AECGaCustomBlock.h.

◆ m_vInsertionOffset

OdGeVector3d AECGaCustomBlock::m_vInsertionOffset
protected

Definition at line 118 of file AECGaCustomBlock.h.


The documentation for this class was generated from the following file: