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

#include <AECGeNestedGridDivisionRepeat.h>

Inheritance diagram for AECGeNestedGridDivisionRepeat:
AECGeNestedGridDivision AECImpObj OdRxObjectImpl< OdRxObject, AECImpObj > OdRxObject

Classes

union  Flags
 DOM. More...
 

Public Types

enum  AdjustmentType { eGrow = 0 , eShrink = 1 }
 
- Public Types inherited from AECGeNestedGridDivision
enum  Orientation { eHorizontal = 0 , eVertical = 1 }
 

Public Member Functions

double GetCellDimension () const
 
void SetCellDimension (double dCellDimension)
 
bool AutoAdjustCells () const
 
void SetAutoAdjustCells (bool bOn)
 
bool AdjustStartCells () const
 
void SetAdjustStartCells (bool bOn)
 
bool AdjustEndCells () const
 
void SetAdjustEndCells (bool bOn)
 
bool AdjustMiddleCells () const
 
void SetAdjustMiddleCells (bool bOn)
 
AdjustmentType GetAdjustmentType () const
 
void SetAdjustmentType (AECGeNestedGridDivisionRepeat::AdjustmentType eAdjustmentType)
 
bool IsMaintAtLstHalfCellDim () const
 
void SetIsMaintAtLstHalfCellDim (bool bOn)
 
virtual OdUInt16 GetCellCount (double dDistUnderBaseline, double dDistAboveBaseHeight, double dGridDim) const
 
virtual void GetCellsDims (double dGridDim, std::vector< double > &aOffsets) const
 
- Public Member Functions inherited from AECGeNestedGridDivision
OdUInt16 GetIndex ()
 
const OdStringGetName () const
 
void SetName (const OdString &strDivisionName)
 
Orientation GetOrientation () const
 
void SetOrientation (Orientation eOrientation)
 
double GetStartOffset () const
 
void SetStartOffset (double dStartOffset)
 
double GetEndOffset () const
 
void SetEndOffset (double dEndOffset)
 
- 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

double m_dCellDimension
 
Flags m_uFlags
 
- Protected Attributes inherited from AECGeNestedGridDivision
Orientation m_eOrientation
 
OdUInt16 m_iDivisionIndex
 
double m_dStartOffset
 
double m_dEndOffset
 
OdString m_strDivisionName
 
bool m_bIndexCorrect
 
- 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

Nested Grid Division Repeat.

<group TA_API_Subobjects_GeNg>

Definition at line 34 of file AECGeNestedGridDivisionRepeat.h.

Member Enumeration Documentation

◆ AdjustmentType

Type of cell adjustment.

Enumerator
eGrow 
eShrink 

Definition at line 42 of file AECGeNestedGridDivisionRepeat.h.

Member Function Documentation

◆ AdjustEndCells()

bool AECGeNestedGridDivisionRepeat::AdjustEndCells ( ) const

Returns if end cells are adjusted.

Remarks
Valid only if cells are auto-adjusted.

◆ AdjustMiddleCells()

bool AECGeNestedGridDivisionRepeat::AdjustMiddleCells ( ) const

Returns if middle cells are adjusted.

Remarks
Valid only if cells are auto-adjusted.

◆ AdjustStartCells()

bool AECGeNestedGridDivisionRepeat::AdjustStartCells ( ) const

Returns if start cells are adjusted.

Remarks
Valid only if cells are auto-adjusted.

◆ AutoAdjustCells()

bool AECGeNestedGridDivisionRepeat::AutoAdjustCells ( ) const

Returns if cells are auto-adjusted.

◆ GetAdjustmentType()

AdjustmentType AECGeNestedGridDivisionRepeat::GetAdjustmentType ( ) const

Returns adjustment type.

Remarks
Valid only if cells are auto-adjusted.

◆ GetCellCount()

virtual OdUInt16 AECGeNestedGridDivisionRepeat::GetCellCount ( double  dDistUnderBaseline,
double  dDistAboveBaseHeight,
double  dGridDim 
) const
virtual

AECGeNestedGridDivision override.

Reimplemented from AECGeNestedGridDivision.

◆ GetCellDimension()

double AECGeNestedGridDivisionRepeat::GetCellDimension ( ) const

Returns cell dimension.

◆ GetCellsDims()

virtual void AECGeNestedGridDivisionRepeat::GetCellsDims ( double  dGridDim,
std::vector< double > &  aOffsets 
) const
virtual

AECGeNestedGridDivision override.

Reimplemented from AECGeNestedGridDivision.

◆ IsMaintAtLstHalfCellDim()

bool AECGeNestedGridDivisionRepeat::IsMaintAtLstHalfCellDim ( ) const

Returns if for the adjusted cells their size is maintained at least half of cell dimension.

Remarks
Valid only if cells are auto-adjusted, Shrink mode is set, More then one cells are adjusted.

◆ SetAdjustEndCells()

void AECGeNestedGridDivisionRepeat::SetAdjustEndCells ( bool  bOn)

Sets the flag if end cells are adjusted.

Remarks
Valid only if cells are auto-adjusted.

◆ SetAdjustmentType()

void AECGeNestedGridDivisionRepeat::SetAdjustmentType ( AECGeNestedGridDivisionRepeat::AdjustmentType  eAdjustmentType)

Sets adjustment type.

Remarks
Valid only if cells are auto-adjusted.

◆ SetAdjustMiddleCells()

void AECGeNestedGridDivisionRepeat::SetAdjustMiddleCells ( bool  bOn)

Sets the flag if middle cells are adjusted.

Remarks
Valid only if cells are auto-adjusted.

◆ SetAdjustStartCells()

void AECGeNestedGridDivisionRepeat::SetAdjustStartCells ( bool  bOn)

Sets the flag if start cells are adjusted.

Remarks
Valid only if cells are auto-adjusted.

◆ SetAutoAdjustCells()

void AECGeNestedGridDivisionRepeat::SetAutoAdjustCells ( bool  bOn)

Sets the flag if cells are auto-adjusted.

◆ SetCellDimension()

void AECGeNestedGridDivisionRepeat::SetCellDimension ( double  dCellDimension)

Sets cell dimension.

◆ SetIsMaintAtLstHalfCellDim()

void AECGeNestedGridDivisionRepeat::SetIsMaintAtLstHalfCellDim ( bool  bOn)

Sets the flag if for the adjusted cells their size is maintained at least half of cell dimension.

Remarks
Valid only if cells are auto-adjusted, Shrink mode is set, More then one cells are adjusted.

Member Data Documentation

◆ m_dCellDimension

double AECGeNestedGridDivisionRepeat::m_dCellDimension
protected

Definition at line 194 of file AECGeNestedGridDivisionRepeat.h.

◆ m_uFlags

Flags AECGeNestedGridDivisionRepeat::m_uFlags
protected

Definition at line 197 of file AECGeNestedGridDivisionRepeat.h.


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