CFx SDK Documentation 2024 SP0
|
#include <AECGeGridUV.h>
Public Member Functions | |
double | GetXDimension () const |
void | SetXDimension (double dDimension) |
double | GetYDimension () const |
void | SetYDimension (double dDimension) |
double | GetXBaySize () const |
void | SetXBaySize (double dSize) |
double | GetYBaySize () const |
void | SetYBaySize (double dSize) |
double | GetXStartOffset () const |
void | SetXStartOffset (double dOffset) |
double | GetXEndOffset () const |
void | SetXEndOffset (double dOffset) |
double | GetYStartOffset () const |
void | SetYStartOffset (double dOffset) |
double | GetYEndOffset () const |
void | SetYEndOffset (double dOffset) |
AECDefs::SpacingType | GetXSpacingType () const |
void | SetXSpacingType (AECDefs::SpacingType eType) |
AECDefs::SpacingType | GetYSpacingType () const |
void | SetYSpacingType (AECDefs::SpacingType eType) |
OdUInt32 | GetNextIndex () const |
OdUInt32 | GetNextIndexInc () |
OdUInt32 | GetNodeCount () const |
AECLayoutGrid2dNodeSubPtr | GetNodeByIndex (OdUInt32 iIndex) const |
AECImpArraySubPtr | GetNodes () const |
DOM. | |
OdUInt32 | GetCellCount () const |
AECLayoutGrid2dCellSubPtr | GetCellByIndex (OdUInt32 iIndex) const |
AECImpArraySubPtr | GetCells () const |
DOM. | |
void | GetRealXDimension (OdGeInterval &intDimension) const |
void | GetRealXPositions (std::vector< double > &aPos) const |
void | GetRealYDimension (OdGeInterval &intDimension) const |
void | GetRealYPositions (std::vector< double > &aPos) const |
OdUInt32 | GetXCellCount () const |
void | SetXCellCount (OdUInt32 iCount) |
OdUInt32 | GetYCellCount () const |
void | SetYCellCount (OdUInt32 iCount) |
virtual void | AddXGridLine (double dLocation) |
virtual void | ModeXGridLine (double dLocation, double dNewLocation) |
virtual void | RemoveXGridLine (double dLocation) |
virtual void | AddYGridLine (double dLocation) |
virtual void | ModeYGridLine (double dLocation, double dNewLocation) |
virtual void | RemoveYGridLine (double dLocation) |
virtual void | Regenerate () |
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 Member Functions | |
virtual void | RegenerateXY (OdUInt32 iCntX, OdUInt32 iCntY) |
DOM. | |
void | FindX (double dX, std::vector< AECLayoutGrid2dNodeSubPtr > &aX) const |
DOM. | |
void | FindY (double dY, std::vector< AECLayoutGrid2dNodeSubPtr > &aY) const |
DOM. | |
Protected Member Functions inherited from OdRxObjectImpl< OdRxObject, AECImpObj > | |
ODRX_HEAP_OPERATORS () | |
Static Protected Member Functions | |
static void | GetCoords (AECDefs::SpacingType eType, const std::vector< double > &aOld, OdUInt32 iEvenCnt, double dS, double dE, double dBaySize, std::vector< double > &aRes) |
DOM. | |
Protected Attributes | |
double | m_dXDimension |
double | m_dYDimension |
double | m_dXBaySize |
double | m_dYBaySize |
double | m_dXStartOffset |
double | m_dYStartOffset |
double | m_dXEndOffset |
double | m_dYEndOffset |
AECDefs::SpacingType | m_eXSpacing |
AECDefs::SpacingType | m_eYSpacing |
OdUInt32 | m_iNextIndex |
AECImpArray | m_aNodes |
AECImpArray | m_aCells |
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 () |
Abstract base class for UV Grids.
<group TA_API_Subobjects_Ge>
Definition at line 37 of file AECGeGridUV.h.
|
virtual |
Adds X grid line.
Reimplemented in AECGeGridUVW.
|
virtual |
Adds Y grid line.
Reimplemented in AECGeGridUVW.
|
protected |
DOM.
|
protected |
DOM.
AECLayoutGrid2dCellSubPtr AECGeGridUV::GetCellByIndex | ( | OdUInt32 | iIndex | ) | const |
Returns cell by index.
OdUInt32 AECGeGridUV::GetCellCount | ( | ) | const |
Returns the number of cells.
AECImpArraySubPtr AECGeGridUV::GetCells | ( | ) | const |
DOM.
|
staticprotected |
DOM.
OdUInt32 AECGeGridUV::GetNextIndex | ( | ) | const |
Returns the index to assign to the newly created primitive within this grid definition.
OdUInt32 AECGeGridUV::GetNextIndexInc | ( | ) |
Same as GetNextCellIndex method. This variant increases next index by one.
AECLayoutGrid2dNodeSubPtr AECGeGridUV::GetNodeByIndex | ( | OdUInt32 | iIndex | ) | const |
Returns node by index.
OdUInt32 AECGeGridUV::GetNodeCount | ( | ) | const |
Returns the number of nodes.
AECImpArraySubPtr AECGeGridUV::GetNodes | ( | ) | const |
DOM.
void AECGeGridUV::GetRealXDimension | ( | OdGeInterval & | intDimension | ) | const |
Returns calculated X dimension.
void AECGeGridUV::GetRealXPositions | ( | std::vector< double > & | aPos | ) | const |
Returns grid lines positions along X axis.
void AECGeGridUV::GetRealYDimension | ( | OdGeInterval & | intDimension | ) | const |
Returns calculated Y dimension.
void AECGeGridUV::GetRealYPositions | ( | std::vector< double > & | aPos | ) | const |
Returns grid lines positions along Y axis.
double AECGeGridUV::GetXBaySize | ( | ) | const |
Returns segment dimension along X axis.
OdUInt32 AECGeGridUV::GetXCellCount | ( | ) | const |
Returns the number of cells along X axis.
double AECGeGridUV::GetXDimension | ( | ) | const |
Returns grid X dimension of the grid.
double AECGeGridUV::GetXEndOffset | ( | ) | const |
Returns end offset along X axis.
AECDefs::SpacingType AECGeGridUV::GetXSpacingType | ( | ) | const |
Returns type of spacing for X axis.
double AECGeGridUV::GetXStartOffset | ( | ) | const |
Returns start offset along X axis.
double AECGeGridUV::GetYBaySize | ( | ) | const |
Returns segment dimension along Y axis.
OdUInt32 AECGeGridUV::GetYCellCount | ( | ) | const |
Returns the number of cells along Y axis.
double AECGeGridUV::GetYDimension | ( | ) | const |
Returns grid Y dimension of the grid.
double AECGeGridUV::GetYEndOffset | ( | ) | const |
Returns end offset along Y axis.
AECDefs::SpacingType AECGeGridUV::GetYSpacingType | ( | ) | const |
Returns type of spacing for Y axis.
double AECGeGridUV::GetYStartOffset | ( | ) | const |
Returns start offset along Y axis.
|
virtual |
Moves existing X grid line.
Reimplemented in AECGeGridUVW.
|
virtual |
Moves existing Y grid line.
Reimplemented in AECGeGridUVW.
|
virtual |
Regenerates node and cell information.
Reimplemented in AECGeGridUVW.
DOM.
Reimplemented in AECGeGridUVW.
|
virtual |
Removes existing X grid line.
Reimplemented in AECGeGridUVW.
|
virtual |
Removes existing Y grid line.
Reimplemented in AECGeGridUVW.
void AECGeGridUV::SetXBaySize | ( | double | dSize | ) |
Sets segment dimension along X axis.
Sets the number of cells along X axis.
void AECGeGridUV::SetXDimension | ( | double | dDimension | ) |
Sets grid X dimension of the grid.
void AECGeGridUV::SetXEndOffset | ( | double | dOffset | ) |
Sets end offset along X axis.
void AECGeGridUV::SetXSpacingType | ( | AECDefs::SpacingType | eType | ) |
Sets type of spacing for X axis.
void AECGeGridUV::SetXStartOffset | ( | double | dOffset | ) |
Sets start offset along X axis.
void AECGeGridUV::SetYBaySize | ( | double | dSize | ) |
Sets segment dimension along Y axis.
Sets the number of cells along Y axis.
void AECGeGridUV::SetYDimension | ( | double | dDimension | ) |
Sets grid Y dimension of the grid.
void AECGeGridUV::SetYEndOffset | ( | double | dOffset | ) |
Sets end offset along Y axis.
void AECGeGridUV::SetYSpacingType | ( | AECDefs::SpacingType | eType | ) |
Sets type of spacing for Y axis.
void AECGeGridUV::SetYStartOffset | ( | double | dOffset | ) |
Sets start offset along Y axis.
|
protected |
Definition at line 360 of file AECGeGridUV.h.
|
protected |
Definition at line 357 of file AECGeGridUV.h.
|
protected |
Definition at line 327 of file AECGeGridUV.h.
|
protected |
Definition at line 318 of file AECGeGridUV.h.
|
protected |
Definition at line 341 of file AECGeGridUV.h.
|
protected |
Definition at line 334 of file AECGeGridUV.h.
|
protected |
Definition at line 331 of file AECGeGridUV.h.
|
protected |
Definition at line 322 of file AECGeGridUV.h.
|
protected |
Definition at line 345 of file AECGeGridUV.h.
|
protected |
Definition at line 337 of file AECGeGridUV.h.
|
protected |
Definition at line 348 of file AECGeGridUV.h.
|
protected |
Definition at line 351 of file AECGeGridUV.h.
|
protected |
Definition at line 354 of file AECGeGridUV.h.