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;
OdSmartPtr< OdDbOsnapPointRef > OdDbOsnapPointRefPtr
bool assocFlag(int pointIndex) const
OdDbObjectId dimObjId() const
OdResult removePointRef(int ptType)
ODDB_DECLARE_MEMBERS(OdDbDimAssoc)
RotatedDimType rotatedDimType() const
void setAssocFlag(int assocFlag)
virtual void dxfOutFields(OdDbDxfFiler *pFiler) const ODRX_OVERRIDE
virtual void dwgOutFields(OdDbDwgFiler *pFiler) const ODRX_OVERRIDE
virtual OdResult dxfInFields(OdDbDxfFiler *pFiler) ODRX_OVERRIDE
void setDimObjId(const OdDbObjectId &dimId)
virtual OdResult dwgInFields(OdDbDwgFiler *pFiler) ODRX_OVERRIDE
OdDbOsnapPointRefPtr pointRef(int pointIndex) const
OdInt32 assocFlag() const
void setTransSpatial(bool value)
void addToPointRefReactor()
OdResult getDimAssocGeomIds(OdDbObjectIdArray &geomIds) const
void addToDimensionReactor(bool isAdd=true)
virtual void modifiedGraphics(const OdDbObject *pObj) ODRX_OVERRIDE
bool isTransSpatial() const
OdResult post(OdDbObjectId dimId, OdDbObjectId &dimAssocId, bool isActive=true)
OdResult updateDimension(bool update=true, bool skipReactors=false)
virtual void erased(const OdDbObject *pObj, bool erasing=true) ODRX_OVERRIDE
void setAssocFlag(int pointIndex, bool flagValue)
void removeAssociativity(bool force=true)
void setRotatedDimType(RotatedDimType dimType)
virtual void copied(const OdDbObject *pObj, const OdDbObject *pNewObj) ODRX_OVERRIDE
bool isAllGeomErased() const
void setPointRef(int pointIndex, OdDbOsnapPointRefPtr pOsnapPointRef)
void getIdPath(OdDbFullSubentPath &idPath) const
OdDb::OsnapMode osnapType() const
OdResult dxfInFields(OdDbDxfFiler *filer)
OdGePoint3d point() const
void getXrefIntHandles(OdHandleArray &xrefHandles) const
void getXrefHandles(OdHandleArray &xrefHandles) const
void setIdPath(const OdDbFullSubentPath &idPath)
virtual bool isXrefObj(OdDbObjectIdArray &ids1, OdDbObjectIdArray &ids2, bool isMainObj=true) const
void setIntIdPath(const OdDbFullSubentPath &intIdPath)
ODRX_DECLARE_MEMBERS(OdDbOsnapPointRef)
OdDbXrefFullSubentPath & mainEntity()
void setXrefHandles(const OdHandleArray &xrefHandles)
void dxfOutFields(OdDbDxfFiler *pFiler) const
virtual void updateDueToMirror(bool inMirror=false)
void dwgInFields(OdDbDwgFiler *pFiler)
void getIntIdPath(OdDbFullSubentPath &intIdPath) const
virtual OdResult updateSubentPath(OdDbIdMapping &idMap)
virtual bool isGeomErased() const
virtual OdResult updateXrefSubentPath()
void setNearPointParam(double nearOsnap)
void setOsnapType(OdDb::OsnapMode osnapMode)
OdDbXrefFullSubentPath & intersectEntity()
void setPoint(const OdGePoint3d &pt)
void setLastPointRef(OdDbOsnapPointRefPtr pOsnapPointRef)
double nearPointParam() const
void setXrefIntHandles(const OdHandleArray &xrefHandles)
virtual OdResult evalPoint(OdGePoint3d &pt)
const OdDbOsnapPointRef * lastPointRef() const
void dwgOutFields(OdDbDwgFiler *pFiler) const
virtual OdResult getEntities(OdDbFullSubentPathArray &ents, bool getLastPtRef=true) const
static bool calcTransform(const OdDbObjectIdArray &ids, OdGeMatrix3d &A_Ecs2Wcs)
virtual OdResult dxfInFields(OdDbDxfFiler *filer)=0
virtual bool isXrefObj(OdDbObjectIdArray &ids1, OdDbObjectIdArray &ids2, bool isMainObj=true) const =0
virtual OdResult updateSubentPath(OdDbIdMapping &idMap)=0
virtual void dwgOutFields(OdDbDwgFiler *filer) const =0
static OdGeMatrix3d mswcsToPswcs(const OdDbViewport *pVPort)
virtual OdResult updateXrefSubentPath()=0
virtual void updateDueToMirror(bool inMirror=false)=0
virtual void dwgInFields(OdDbDwgFiler *filer)=0
virtual OdResult evalPoint(OdGePoint3d &pnt_wcs)=0
ODRX_DECLARE_MEMBERS(OdDbPointRef)
virtual void dxfOutFields(OdDbDxfFiler *filer) const =0
virtual bool isGeomErased() const =0
virtual OdResult getEntities(OdDbFullSubentPathArray &ents, bool getLastPtRef=true) const =0
void dwgOut(OdDbDwgFiler *pFiler) const
OdHandleArray & xrefObjHandles()
void dwgIn(OdDbDwgFiler *pFiler)
void dxfOut(OdDbDxfFiler *pFiler, OdInt groupCodeOffset=0) const
GLsizei const GLfloat * value