CFx SDK Documentation
2020SP3
|
Go to the documentation of this file.
27 #ifndef OD_DBDIMASSOC_H
28 #define OD_DBDIMASSOC_H
225 double nearPointParam()
const;
231 void setNearPointParam(
double nearOsnap);
294 bool m_bUpdateDueToMirror;
311 enum { kMaxPointRefs = 4 };
327 kOverrideCenterPoint = 2,
343 kFirstPointRef = (1<<0),
344 kSecondPointRef = (1<<1),
345 kThirdPointRef = (1<<2),
346 kFourthPointRef = (1<<3)
472 return m_XrefObjHandles;
478 return m_XrefObjHandles;
490 m_OsnapMode = osnapMode;
502 return m_IntersectEntity;
514 m_dNearOsnap = nearOsnap;
531 return m_pLastPointRef;
536 return m_pLastPointRef;
542 m_pLastPointRef = pOsnapPointRef;
547 #endif // OD_DBDIMASSOC_H
virtual bool isXrefObj(OdDbObjectIdArray &ids1, OdDbObjectIdArray &ids2, bool isMainObj=true) const =0
ODDB_DECLARE_MEMBERS(OdDbDimAssoc)
bool assocFlag(int pointIndex) const
void getIntIdPath(OdDbFullSubentPath &intIdPath) const
OdSmartPtr< OdDbOsnapPointRef > OdDbOsnapPointRefPtr
OdResult post(OdDbObjectId dimId, OdDbObjectId &dimAssocId, bool isActive=true)
void setOsnapType(OdDb::OsnapMode osnapMode)
OdDbXrefFullSubentPath & intersectEntity()
bool isTransSpatial() const
ODRX_DECLARE_MEMBERS(OdDbPointRef)
void removeAssociativity(bool force=true)
const OdDbOsnapPointRef * lastPointRef() const
OdResult removePointRef(int ptType)
void dwgIn(OdDbDwgFiler *pFiler)
OdDbXrefFullSubentPath & mainEntity()
void setRotatedDimType(RotatedDimType dimType)
void setPointRef(int pointIndex, OdDbOsnapPointRefPtr pOsnapPointRef)
OdResult getDimAssocGeomIds(OdDbObjectIdArray &geomIds) const
void setAssocFlag(int assocFlag)
OdGePoint3d point() const
void setNearPointParam(double nearOsnap)
static OdGeMatrix3d mswcsToPswcs(const OdDbViewport *pVPort)
void dxfOutFields(OdDbDxfFiler *pFiler) const
OdInt32 assocFlag() const
void setLastPointRef(OdDbOsnapPointRefPtr pOsnapPointRef)
void setDimObjId(const OdDbObjectId &dimId)
void setXrefIntHandles(const OdHandleArray &xrefHandles)
virtual void dxfOutFields(OdDbDxfFiler *pFiler) const ODRX_OVERRIDE
virtual bool isGeomErased() const
virtual OdResult updateSubentPath(OdDbIdMapping &idMap)=0
virtual void dxfOutFields(OdDbDxfFiler *filer) const =0
bool isAllGeomErased() const
virtual OdResult getEntities(OdDbFullSubentPathArray &ents, bool getLastPtRef=true) const
virtual OdResult updateSubentPath(OdDbIdMapping &idMap)
virtual void dwgInFields(OdDbDwgFiler *filer)=0
void setIntIdPath(const OdDbFullSubentPath &intIdPath)
virtual OdResult updateXrefSubentPath()=0
void dwgOut(OdDbDwgFiler *pFiler) const
void dxfOut(OdDbDxfFiler *pFiler, OdInt groupCodeOffset=0) const
virtual void dwgOutFields(OdDbDwgFiler *pFiler) const ODRX_OVERRIDE
OdDbObjectId dimObjId() const
virtual void dwgOutFields(OdDbDwgFiler *filer) const =0
OdResult dxfInFields(OdDbDxfFiler *filer)
void setXrefHandles(const OdHandleArray &xrefHandles)
virtual void modifiedGraphics(const OdDbObject *pObj) ODRX_OVERRIDE
virtual OdResult evalPoint(OdGePoint3d &pnt_wcs)=0
virtual OdResult updateXrefSubentPath()
void setTransSpatial(bool value)
void addToPointRefReactor()
void dwgOutFields(OdDbDwgFiler *pFiler) const
void getIdPath(OdDbFullSubentPath &idPath) const
ODRX_DECLARE_MEMBERS(OdDbOsnapPointRef)
void getXrefIntHandles(OdHandleArray &xrefHandles) const
void dwgInFields(OdDbDwgFiler *pFiler)
virtual OdResult dxfInFields(OdDbDxfFiler *filer)=0
virtual void erased(const OdDbObject *pObj, bool erasing=true) ODRX_OVERRIDE
double nearPointParam() const
virtual void updateDueToMirror(bool inMirror=false)
virtual OdResult dwgInFields(OdDbDwgFiler *pFiler) ODRX_OVERRIDE
virtual bool isXrefObj(OdDbObjectIdArray &ids1, OdDbObjectIdArray &ids2, bool isMainObj=true) const
OdDb::OsnapMode osnapType() const
static bool calcTransform(const OdDbObjectIdArray &ids, OdGeMatrix3d &A_Ecs2Wcs)
void setAssocFlag(int pointIndex, bool flagValue)
virtual OdResult getEntities(OdDbFullSubentPathArray &ents, bool getLastPtRef=true) const =0
GLsizei const GLfloat * value
void setIdPath(const OdDbFullSubentPath &idPath)
virtual bool isGeomErased() const =0
virtual OdResult dxfInFields(OdDbDxfFiler *pFiler) ODRX_OVERRIDE
OdDbOsnapPointRefPtr pointRef(int pointIndex) const
void addToDimensionReactor(bool isAdd=true)
virtual OdResult evalPoint(OdGePoint3d &pt)
void getXrefHandles(OdHandleArray &xrefHandles) const
void setPoint(const OdGePoint3d &pt)
virtual void copied(const OdDbObject *pObj, const OdDbObject *pNewObj) ODRX_OVERRIDE
OdHandleArray & xrefObjHandles()
RotatedDimType rotatedDimType() const
OdResult updateDimension(bool update=true, bool skipReactors=false)
virtual void updateDueToMirror(bool inMirror=false)=0