187 double textRotation);
247 double lineSpacingFactor);
296 double horizontalRotation);
312 bool singleReferenced =
true);
359 double dimBlockRotation);
398 bool forceUpdate =
true);
569 kShapeAngular = 0x02,
632#define VAR_DEF(type, name, dxf, def_value, metric_def_value, reserve1, reserve2)\
643 virtual type dim##name() const; \
651virtual void setDim##name(type val);
759 double measurementValue,
818 bool& isConstraintObject,
820 bool& isReferenceConstraint)
const;
851 bool bShouldParticipate);
1000 double measurementValue,
const OdString& dimensionText ) = 0;
OdSmartPtr< OdDbDimension > OdDbDimensionPtr
OdSmartPtr< OdDbDimensionRecomputePE > OdDbDimensionRecomputePEPtr
OdSmartPtr< OdDbDimStyleTableRecord > OdDbDimStyleTableRecordPtr
void setDimBlockId(const OdDbObjectId &dimBlockId, bool singleReferenced=true)
OdGeMatrix3d dimBlockTransform() const
void setTextLineSpacingStyle(OdDb::LineSpacingStyle lineSpacingStyle)
virtual OdResult subTransformBy(const OdGeMatrix3d &xfm) ODRX_OVERRIDE
double getExtLineFixLen() const
OdGeMatrix3d getEcs() const
void useSetTextPosition()
int inspectionFrame() const
void resetTextDefinedSize()
OdDb::LineSpacingStyle textLineSpacingStyle() const
OdUInt32 subSetAttributes(OdGiDrawableTraits *pTraits) const
void setDynamicDimension(bool bDynamic)
void textDefinedSize(double &width, double &height) const
OdResult isConstraintObject(bool &isConstraintObject, bool &hasExpression, bool &isReferenceConstraint) const
bool isDynamicDimension() const
void setHorizontalRotation(double horizontalRotation)
void recomputeDimBlock(bool forceUpdate=true)
void setArrowFirstIsFlipped(bool bIsFlipped)
virtual OdDbObjectPtr subWblockClone(OdDbIdMapping &ownerIdMap, OdDbObject *, bool bPrimary) const ODRX_OVERRIDE
virtual OdResult getPlane(OdGePlane &plane, OdDb::Planarity &planarity) const
virtual OdResult subGetTransformedCopy(const OdGeMatrix3d &xfm, OdDbEntityPtr &pCopy) const ODRX_OVERRIDE
void setExtLineFixLenEnable(bool extLineFixLenEnable)
OdGeScale3d dimBlockScale() const
bool getArrowSecondIsFlipped() const
OdGePoint3d textPosition() const
void setExtLineFixLen(double extLineFixLen)
void setDimensionText(const OdString &dimensionText)
const OdString dimensionText() const
bool isSingleDimBlockReference() const
virtual void dxfOutFields(OdDbDxfFiler *pFiler) const
virtual void dxfOutFields_R12(OdDbDxfFiler *pFiler) const
void setInspectionLabel(const OdString &label)
OdDbObjectId getDimLinetype() const
double textRotation() const
double dimBlockRotation() const
virtual void dwgOutFields(OdDbDwgFiler *pFiler) const
OdDbObjectId getDimExt2Linetype() const
bool getExtLineFixLenEnable() const
bool shouldParticipateInOPM() const
virtual OdResult subGetCompoundObjectTransform(OdGeMatrix3d &xM) const ODRX_OVERRIDE
OdDbObjectId dimensionStyle() const
void setDimensionStyle(OdDbObjectId objectID)
OdGeVector3d normal() const
void setTextAttachment(OdDbMText::AttachmentPoint attachmentPoint)
void setBgrndTxtColor(const OdCmColor &bgrndTxtColor, OdUInt16 bgrndTxtFlags)
void fieldFromMText(OdDbMTextPtr &pDimMText)
virtual OdResult dxfInFields(OdDbDxfFiler *pFiler)
OdString inspectionLabel() const
bool isUsingDefaultTextPosition() const
void setTextPosition(const OdGePoint3d &textPosition)
OdResult setConstraintDynamic(bool bDynamic)
double textLineSpacingFactor() const
double horizontalRotation() const
void setDimstyleData(const OdDbDimStyleTableRecord *pDimstyle)
virtual OdResult dwgInFields(OdDbDwgFiler *pFiler)
void subSetDatabaseDefaults(OdDbDatabase *pDb, bool doSubents)
void setDimExt1Linetype(const OdDbObjectId &linetypeId)
void setArrowSecondIsFlipped(bool bIsFlipped)
void setTextRotation(double textRotation)
void setDIMTALN(bool val)
OdUInt16 getBgrndTxtColor(OdCmColor &bgrndTxtColor) const
OdDbObjectPtr dimBlock(OdDb::OpenMode openMode=OdDb::kForRead)
void setTextLineSpacingFactor(double lineSpacingFactor)
bool getArrowFirstIsFlipped() const
void formatMeasurement(OdString &formattedMeasurement, double measurementValue, const OdString &dimensionText)
OdString inspectionRate() const
bool isConstraintDynamic() const
void setTextDefinedSize(double width, double height)
void setInspectionFrame(int frame)
OdDbObjectId getDimExt1Linetype() const
void setDimBlockRotation(double dimBlockRotation)
void setShouldParticipateInOPM(bool bShouldParticipate)
void setNormal(const OdGeVector3d &normal)
void setInspection(bool val)
void setElevation(double elevation)
void setDimExt2Linetype(const OdDbObjectId &linetypeId)
void setInspectionRate(const OdString &label)
virtual bool isConstraintObject() const
OdResult subGetGeomExtents(OdGeExtents3d &extents) const
void setDimstyleData(OdDbObjectId dimstyleID)
void fieldToMText(OdDbMTextPtr &pDimMText)
OdDbObjectId dimBlockId() const
void setDimBlockPosition(const OdGePoint3d &dimBlockPosition)
DWGMAP_DECLARE_MEMBERS(OdDbDimension)
virtual bool isPlanar() const
void subViewportDraw(OdGiViewportDraw *pVd) const
void useDefaultTextPosition()
virtual OdResult dxfInFields_R12(OdDbDxfFiler *pFiler)
OdResult subGetClassID(void *pClsid) const
virtual void appendToOwner(OdDbIdPair &idPair, OdDbObject *pOwnerObject, OdDbIdMapping &ownerIdMap) ODRX_OVERRIDE
OdResult explodeGeometry(OdRxObjectPtrArray &entitySet) const
virtual OdResult subExplode(OdRxObjectPtrArray &entitySet) const ODRX_OVERRIDE
double getMeasurement() const
void setDimLinetype(const OdDbObjectId &linetypeId)
void setDimBlockScale(const OdGeScale3d &dimBlockScale)
OdDbMText::AttachmentPoint textAttachment() const
void getDimstyleData(OdDbDimStyleTableRecord *pRecord) const
bool subWorldDraw(OdGiWorldDraw *pWd) const
virtual void modified(const OdDbObject *pObject)
OdGePoint3d dimBlockPosition() const
virtual void recomputeDimBlock(OdDbDimension *pDimension, OdDbDimensionObjectContextData *ctx)=0
virtual void recomputeDimMeasurement(OdDbDimension *pDimension)=0
virtual void formatMeasurement(OdDbDimension *pDimension, OdString &formattedMeasurement, double measurementValue, const OdString &dimensionText)=0
static void resetDimBlockInsertParams(OdDbDimension *pDimension)
ODRX_DECLARE_MEMBERS(OdDbDimensionRecomputePE)
static void setMeasurementValue(OdDbDimension *pDimension, double measurementValue)
GLint GLenum GLsizei width
GLint GLenum GLsizei GLsizei height