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