CFx SDK Documentation 2024 SP0
|
#include <AECGeNestedGridDivision.h>
Public Types | |
enum | Orientation { eHorizontal = 0 , eVertical = 1 } |
Public Member Functions | |
OdUInt16 | GetIndex () |
const OdString & | GetName () 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) |
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 AECImpObj | |
const OdString & | GetDescription () const |
void | SetDescription (const OdString &strDescription) |
virtual void | onObjectLoaded () |
virtual void | SubClose () |
DOM. | |
OdRxObject * | GetOwner () const |
OdRxObject * | GetOwner (OdRxClass *pClass) const |
void | addRefSubPtr () |
void | releaseSubPtr () |
void | assertReadEnabled () const |
void | assertWriteEnabled (bool autoUndo=true, bool recordModified=true) |
bool | isReadEnabled () const |
bool | isWriteEnabled () const |
OdDbDatabase * | database () const |
void | copyFrom (const OdRxObject *pOther) |
virtual OdUInt16 | minSupportedVersion () const |
void | SetOwner (OdDbObject *pOwner) |
DOM. | |
void | SetOwner (AECImpObj *pOwner) |
DOM. | |
class AECSIBase * | GetImpl () const |
DOM. | |
virtual OdResult | dwgInFieldsEx20 (AECDbDwgFiler *pFiler) |
DOM. | |
virtual OdResult | dwgInFieldsEx1 (AECDbDwgFiler *pFiler) |
DOM. | |
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 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 |
Protected Attributes | |
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. | |
OdUInt16 | m_iMinSupportedVersion |
Additional Inherited Members | |
Static Public Member Functions inherited from OdRxObjectImpl< OdRxObject, AECImpObj > | |
static OdSmartPtr< AECImpObj > | createObject () |
Static Public Member Functions inherited from OdRxObject | |
static OdRxObjectPtr | cast (const OdRxObject *pointer) |
static OdRxClass * | desc () |
Protected Member Functions inherited from OdRxObjectImpl< OdRxObject, AECImpObj > | |
ODRX_HEAP_OPERATORS () | |
Nested Grid Division.
<group TA_API_Subobjects_GeNg>
Definition at line 34 of file AECGeNestedGridDivision.h.
Grid orientation.
Enumerator | |
---|---|
eHorizontal | |
eVertical |
Definition at line 42 of file AECGeNestedGridDivision.h.
|
virtual |
Returns the number of cells within cell with this division assigned.
dDistUnderBaseline | [in] - the max distanse from the baseline to the edge of the grid. |
dDistAboveBaseHeight | [in] - the max distanse from the base height to the edge of the grid. |
gridDimension | [in] - dimension of grid |
Reimplemented in AECGeNestedGridDivisionByBaseHeights, AECGeNestedGridDivisionDivideBy, AECGeNestedGridDivisionManual, and AECGeNestedGridDivisionRepeat.
|
virtual |
double AECGeNestedGridDivision::GetEndOffset | ( | ) | const |
Returns end offset.
OdUInt16 AECGeNestedGridDivision::GetIndex | ( | ) |
Returns division index.
const OdString & AECGeNestedGridDivision::GetName | ( | ) | const |
Returns division name.
Orientation AECGeNestedGridDivision::GetOrientation | ( | ) | const |
Returns division orientation.
double AECGeNestedGridDivision::GetStartOffset | ( | ) | const |
Returns start offset.
void AECGeNestedGridDivision::SetEndOffset | ( | double | dEndOffset | ) |
Sets end offset.
void AECGeNestedGridDivision::SetOrientation | ( | Orientation | eOrientation | ) |
Sets division orientation.
void AECGeNestedGridDivision::SetStartOffset | ( | double | dStartOffset | ) |
Sets start offset.
|
protected |
Definition at line 129 of file AECGeNestedGridDivision.h.
|
protected |
Definition at line 122 of file AECGeNestedGridDivision.h.
|
protected |
Definition at line 119 of file AECGeNestedGridDivision.h.
|
protected |
Definition at line 113 of file AECGeNestedGridDivision.h.
|
protected |
Definition at line 116 of file AECGeNestedGridDivision.h.
|
protected |
Definition at line 125 of file AECGeNestedGridDivision.h.