CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | List of all members
OdDbDimensionRecomputePE Class Referenceabstract

#include <DbDimension.h>

Inheritance diagram for OdDbDimensionRecomputePE:
OdRxObject

Public Member Functions

 ODRX_DECLARE_MEMBERS (OdDbDimensionRecomputePE)
 
virtual void recomputeDimMeasurement (OdDbDimension *pDimension)=0
 
virtual void recomputeDimBlock (OdDbDimension *pDimension, OdDbDimensionObjectContextData *ctx)=0
 
virtual void formatMeasurement (OdDbDimension *pDimension, OdString &formattedMeasurement, double measurementValue, const OdString &dimensionText)=0
 
- 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
 
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
 

Static Public Member Functions

static void setMeasurementValue (OdDbDimension *pDimension, double measurementValue)
 
static void resetDimBlockInsertParams (OdDbDimension *pDimension)
 
- Static Public Member Functions inherited from OdRxObject
static OdRxObjectPtr cast (const OdRxObject *pointer)
 
static OdRxClassdesc ()
 

Detailed Description

This class is the Dimension Recompute Protocol Extension class.

<group OdDb_Classes>

Definition at line 942 of file DbDimension.h.

Member Function Documentation

◆ formatMeasurement()

virtual void OdDbDimensionRecomputePE::formatMeasurement ( OdDbDimension pDimension,
OdString formattedMeasurement,
double  measurementValue,
const OdString dimensionText 
)
pure virtual

Returns the formatted measurement value.

Parameters
pDimension[in] Pointer to the dimension entity.
formattedMeasurement[out] Receives the formatted measurement.
measurementValue[in] Measurement value to be formatted.
dimensionText[in] Dimension text for formatting
Remarks
measurementValue is formatted per the specified dimension text and the effective dimension style.

◆ ODRX_DECLARE_MEMBERS()

OdDbDimensionRecomputePE::ODRX_DECLARE_MEMBERS ( OdDbDimensionRecomputePE  )

◆ recomputeDimBlock()

virtual void OdDbDimensionRecomputePE::recomputeDimBlock ( OdDbDimension pDimension,
OdDbDimensionObjectContextData ctx 
)
pure virtual

Recomputes the dimension block referenced by the specified Dimension entity.

Remarks
The OdDbBlockTableRecord of the dimension block is updated to reflect any changes made to this Dimension entity since the last time the block table record was updated.
Parameters
pDimension[in] Pointer to the dimension entity.

◆ recomputeDimMeasurement()

virtual void OdDbDimensionRecomputePE::recomputeDimMeasurement ( OdDbDimension pDimension)
pure virtual

Recomputes the dimension measurement for the specified Dimension entity.

Parameters
pDimension[in] Pointer to the dimension entity.

◆ resetDimBlockInsertParams()

static void OdDbDimensionRecomputePE::resetDimBlockInsertParams ( OdDbDimension pDimension)
static

Resets the dimension block insertion parameters for the specified Dimension entity.

Parameters
pDimension[in] Pointer to the dimension entity.
Remarks
The insertion point is set to (0,0). The X-, Y- and Z-scale factors are set 1.0. The rotation angle is set to 0.0.

◆ setMeasurementValue()

static void OdDbDimensionRecomputePE::setMeasurementValue ( OdDbDimension pDimension,
double  measurementValue 
)
static

Sets the measurement value for the specified Dimension entity.

Parameters
pDimension[in] Pointer to the dimension entity.
measurementValue[in] Measurement value.

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