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

#include <AECCustomMemberBlock.h>

Inheritance diagram for AECCustomMemberBlock:
AECDispCompEnt AECDispComp AECImpObj OdRxObjectImpl< OdRxObject, AECImpObj > OdRxObject

Public Types

enum  FitType { eNo = 0 , eScaleToFit = 1 , eSpaceEvently = 2 }
 
enum  Display { eAlways = 0 , eWhenIntersectingCutPlane = 1 , eWhenAboveCutPlane = 2 , eWhenBelowCutPlane = 3 }
 
enum  OperationType { eAdditive , eSubtractive , eNone }
 
- Public Types inherited from AECDispCompEnt
enum  XPosition { exLeft = 0 , exCenter = 1 , exRight = 2 }
 
enum  YPosition { eyFront = 0 , eyCenter = 1 , eyBack = 2 }
 
enum  ZPosition { ezBottom = 0 , ezCenter = 1 , ezTop = 2 }
 

Public Member Functions

OdDbObjectId GetBlock () const
 
void SetBlock (const OdDbObjectId &idBlock)
 
XPosition GetXPosition () const
 
void SetXPosition (XPosition ePosition)
 
bool IsMirrorX () const
 
void SetIsMirrorX (bool bMirror)
 
bool IsMirrorY () const
 
void SetIsMirrorY (bool bMirror)
 
bool IsMirrorZ () const
 
void SetIsMirrorZ (bool bMirror)
 
const OdGeVector3dGetInsertionOffset () const
 
void SetInsertionOffset (const OdGeVector3d &vOffset)
 
bool IsRepeatBlockDisplay () const
 
void SetIsRepeatBlockDisplay (bool bRepeat)
 
double GetStartOffsetX () const
 
void SetStartOffsetX (double dOffset)
 
double GetEndOffsetX () const
 
void SetEndOffsetX (double dOffset)
 
double GetSpaceBetween () const
 
void SetSpaceBetween (double dSpace)
 
FitType GetFit () const
 
void SetFit (FitType eType)
 
Display GetDisplayCondition () const
 
void SetDisplayCondition (Display eCondition)
 
OperationType operationType () const
 
void SetOperationType (OperationType operationType)
 
- Public Member Functions inherited from AECDispCompEnt
virtual void SetDbProperties (const OdDbDatabase *pDb)
 DOM. More...
 
bool IsVisible () const
 
void SetIsVisible (bool bVisible)
 
const OdCmColorGetColor () const
 
void SetColor (const OdCmColor &cColor)
 
OdDbObjectId GetLayer () const
 
void SetLayer (const OdDbObjectId &idLayer)
 
OdDbObjectId GetLinetype () const
 
void SetLinetype (const OdDbObjectId &idLinetype)
 
OdDb::LineWeight GetLineWeight () const
 
void SetLineWeight (OdDb::LineWeight eLineWeight)
 
double GetLtScale () const
 
void SetLtScale (double dScale)
 
OdDb::PlotStyleNameType GetPlotStyleNameType () const
 
void SetPlotStyleNameType (OdDb::PlotStyleNameType eType)
 
OdDbObjectId GetPlotStyle () const
 
void SetPlotStyle (const OdDbObjectId &idPlotStyle)
 
bool MayBeByMaterial () const
 
void SetMayBeByMaterial (bool bMayBeByMaterial)
 
bool IsByMaterial () const
 
void SetIsByMaterial (bool bByMaterial)
 
- 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

OdDbHardPointerId m_hpidBlock
 
BlockFlags m_uFlags
 
OdGeVector3d m_vInsertionOffset
 
double m_dStartOffset
 
double m_dEndOffset
 
double m_dSpaceBetween
 
OdUInt8 m_eDisplay
 
OdUInt8 m_eOpType
 
OdUInt32Array m_aComponents
 
- Protected Attributes inherited from AECDispCompEnt
bool m_bVisible
 
OdDbHardPointerId m_hpidDbLayerTableRecord
 
OdCmColor m_cColor
 
bool m_bNoneColor
 
OdDbHardPointerId m_hpidDbLineTypeTableRecord
 
OdDb::LineWeight m_eLineWeight
 
double m_dLtScale
 
OdDb::PlotStyleNameType m_ePlotStyleName
 
OdDbHardPointerId m_hpidPlotStyle
 
MaterialFlags m_iMaterialFlags
 
OdUInt32 m_unknSmartStrID
 DOM. More...
 
OdString m_unknSmartStrValue
 DOM. More...
 
OdInt32 m_iUnknown1
 DOM. More...
 
- Protected Attributes inherited from AECDispComp
bool m_bApplicable
 
bool m_bInherited
 
- 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

Structural Member custom block.

<group TA_API_Subobjects_Display_Components>

Definition at line 36 of file AECCustomMemberBlock.h.

Member Enumeration Documentation

◆ Display

Display condition.

Enumerator
eAlways 
eWhenIntersectingCutPlane 
eWhenAboveCutPlane 
eWhenBelowCutPlane 

Definition at line 57 of file AECCustomMemberBlock.h.

◆ FitType

Fit type.

Remarks
For structural members only?
Enumerator
eNo 
eScaleToFit 
eSpaceEvently 

Definition at line 47 of file AECCustomMemberBlock.h.

◆ OperationType

Enumerator
eAdditive 
eSubtractive 
eNone 

Definition at line 65 of file AECCustomMemberBlock.h.

Member Function Documentation

◆ GetBlock()

OdDbObjectId AECCustomMemberBlock::GetBlock ( ) const

Returns the Object ID of ACAD block.

◆ GetDisplayCondition()

Display AECCustomMemberBlock::GetDisplayCondition ( ) const

Returns display condition.

Remarks
Used only when used in plan representations.

◆ GetEndOffsetX()

double AECCustomMemberBlock::GetEndOffsetX ( ) const

Returns the end offset along X axis.

◆ GetFit()

FitType AECCustomMemberBlock::GetFit ( ) const

Returns fit type.

◆ GetInsertionOffset()

const OdGeVector3d& AECCustomMemberBlock::GetInsertionOffset ( ) const

Returns the offset of insertion point.

◆ GetSpaceBetween()

double AECCustomMemberBlock::GetSpaceBetween ( ) const

Returns the gap between blocks along X axis.

◆ GetStartOffsetX()

double AECCustomMemberBlock::GetStartOffsetX ( ) const

Returns the start offset along X axis.

◆ GetXPosition()

XPosition AECCustomMemberBlock::GetXPosition ( ) const

Returns the position of insertion point along X axis.

◆ IsMirrorX()

bool AECCustomMemberBlock::IsMirrorX ( ) const

Returns whether the block is mirrored about X axis.

◆ IsMirrorY()

bool AECCustomMemberBlock::IsMirrorY ( ) const

Returns whether the block is mirrored about Y axis.

◆ IsMirrorZ()

bool AECCustomMemberBlock::IsMirrorZ ( ) const

Returns whether the block is mirrored about Z axis.

◆ IsRepeatBlockDisplay()

bool AECCustomMemberBlock::IsRepeatBlockDisplay ( ) const

Returns whether block display is repeated.

◆ operationType()

OperationType AECCustomMemberBlock::operationType ( ) const

◆ SetBlock()

void AECCustomMemberBlock::SetBlock ( const OdDbObjectId idBlock)

Sets the Object ID of ACAD block.

◆ SetDisplayCondition()

void AECCustomMemberBlock::SetDisplayCondition ( Display  eCondition)

Sets display condition.

Remarks
Used only when used in plan representations.

◆ SetEndOffsetX()

void AECCustomMemberBlock::SetEndOffsetX ( double  dOffset)

Sets the end offset along X axis.

◆ SetFit()

void AECCustomMemberBlock::SetFit ( FitType  eType)

Sets fit type.

◆ SetInsertionOffset()

void AECCustomMemberBlock::SetInsertionOffset ( const OdGeVector3d vOffset)

Sets the offset of insertion point.

◆ SetIsMirrorX()

void AECCustomMemberBlock::SetIsMirrorX ( bool  bMirror)

Sets whether the block is mirrored about X axis.

◆ SetIsMirrorY()

void AECCustomMemberBlock::SetIsMirrorY ( bool  bMirror)

Sets whether the block is mirrored about Y axis.

◆ SetIsMirrorZ()

void AECCustomMemberBlock::SetIsMirrorZ ( bool  bMirror)

Sets whether the block is mirrored about Z axis.

◆ SetIsRepeatBlockDisplay()

void AECCustomMemberBlock::SetIsRepeatBlockDisplay ( bool  bRepeat)

Sets whether block display is repeated.

◆ SetOperationType()

void AECCustomMemberBlock::SetOperationType ( OperationType  operationType)

◆ SetSpaceBetween()

void AECCustomMemberBlock::SetSpaceBetween ( double  dSpace)

Sets the gap between blocks along X axis.

◆ SetStartOffsetX()

void AECCustomMemberBlock::SetStartOffsetX ( double  dOffset)

Sets the start offset along X axis.

◆ SetXPosition()

void AECCustomMemberBlock::SetXPosition ( XPosition  ePosition)

Sets the position of insertion point along X axis.

Member Data Documentation

◆ m_aComponents

OdUInt32Array AECCustomMemberBlock::m_aComponents
protected

Definition at line 226 of file AECCustomMemberBlock.h.

◆ m_dEndOffset

double AECCustomMemberBlock::m_dEndOffset
protected

Definition at line 216 of file AECCustomMemberBlock.h.

◆ m_dSpaceBetween

double AECCustomMemberBlock::m_dSpaceBetween
protected

Definition at line 219 of file AECCustomMemberBlock.h.

◆ m_dStartOffset

double AECCustomMemberBlock::m_dStartOffset
protected

Definition at line 213 of file AECCustomMemberBlock.h.

◆ m_eDisplay

OdUInt8 AECCustomMemberBlock::m_eDisplay
protected

Definition at line 222 of file AECCustomMemberBlock.h.

◆ m_eOpType

OdUInt8 AECCustomMemberBlock::m_eOpType
protected

Definition at line 225 of file AECCustomMemberBlock.h.

◆ m_hpidBlock

OdDbHardPointerId AECCustomMemberBlock::m_hpidBlock
protected

Definition at line 204 of file AECCustomMemberBlock.h.

◆ m_uFlags

BlockFlags AECCustomMemberBlock::m_uFlags
protected

Definition at line 207 of file AECCustomMemberBlock.h.

◆ m_vInsertionOffset

OdGeVector3d AECCustomMemberBlock::m_vInsertionOffset
protected

Definition at line 210 of file AECCustomMemberBlock.h.


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