CFx SDK Documentation  2022 SP0
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
CFxDbExtension Class Referenceabstract

#include <FxDbExtension.h>

Public Types

enum  PatternQuality { kSolid = 0x0 , kNotRecognizableY , kNotRecognizableX , kFullyRecognizable }
 
enum  { eDSHNone = 0x0 , eDSHDrawAsPolygons = 0x1 }
 
typedef bool(* FxAssertReadEnabledCallback) (const OdDbObject *pObject)
 
typedef void(* FxBlockWorldDrawCallback) (const OdDbBlockTableRecord *pObject, OdGiWorldDraw *pWd)
 

Public Member Functions

virtual ~CFxDbExtension ()=0
 
virtual bool getFilename (const OdDbDatabase *pDatabase, OdString &result) const =0
 
virtual bool purge (const OdDbDatabase *pDatabase, OdDbObjectIdArray &objectIds) const =0
 
virtual bool countHardReferences (const OdDbDatabase *pDatabase, const OdDbObjectIdArray &objectIds, OdUInt32 *counts) const =0
 
virtual void fire_layoutToBeActivated (OdDbLayoutManagerReactor *pReactor, const OdString &s, const OdDbObjectId &id) const =0
 
virtual void fire_layoutToBeDeactivated (OdDbLayoutManagerReactor *pReactor, const OdString &s, const OdDbObjectId &id) const =0
 
virtual OdResult setPlotViewId (OdDbPlotSettingsValidator *pValidator, OdDbPlotSettings *pPlotSet, const OdDbObjectId &id) const =0
 
virtual OdResult setPlotPaperSize (OdDbPlotSettingsValidator *pValidator, OdDbPlotSettings *pPlotSet, double paperWidth, double paperHeight) const =0
 
virtual OdResult setMargins (OdDbPlotSettingsValidator *pValidator, OdDbPlotSettings *pPlotSet, double leftMargin, double topMargin, double rightMargin, double bottomMargin) const =0
 
virtual OdResult setStyleSheet (OdDbPlotSettingsValidator *pValidator, OdDbPlotSettings *pPlotSet, const OdString &styleSheetName) const =0
 
virtual void OnObjectAboutToDestroy (OdDbDatabase *pDatabase, const OdDbObject *pObject)=0
 
virtual void OnObjectModified (OdDbDatabase *pDatabase, const OdDbObject *pObject)=0
 
virtual void OnObjectAppended (OdDbDatabase *pDatabase, const OdDbObject *pObject)=0
 
virtual void OnObjectUnappended (OdDbDatabase *pDatabase, const OdDbObject *pObject)=0
 
virtual void OnObjectReappended (OdDbDatabase *pDatabase, const OdDbObject *pObject)=0
 
virtual void OnObjectErased (OdDbDatabase *pDatabase, const OdDbObject *pObject)=0
 
virtual void FlushGraphics (OdDbDatabase *pDatabase, const OdDbObject *pObject)
 
virtual bool intersectWith (const OdDbSpline *pThis, const OdGeCurve3d *intersectingCurve, int &intn, OdGePoint3dArray &IntPtArr, const OdGeTol &tol) const =0
 
virtual OdResult getGeomExtents (const OdDbLine *pLine, OdGeExtents3d &extents)=0
 
virtual OdResult getGeomExtents (const OdDbXline *pXline, OdGeExtents3d &extents, bool referenceGeometryExtents)=0
 
virtual OdResult getGeomExtents (const OdDbRay *pRay, OdGeExtents3d &extents, bool referenceGeometryExtents)=0
 
virtual OdResult getGeomExtents (const OdDbArc *pArc, OdGeExtents3d &extents, bool referenceGeometryExtents, bool canQueryCache)=0
 
virtual OdResult getGeomExtents (const OdDbCircle *pCircle, OdGeExtents3d &extents, bool canQueryCache)=0
 
virtual OdResult getGeomExtents (const OdDbEllipse *pEllipse, OdGeExtents3d &extents, bool referenceGeometryExtents, bool canQueryCache)=0
 
virtual OdResult getGeomExtents (const OdDbPolyline *pPline, OdGeExtents3d &extents, bool canQueryCache)=0
 
virtual OdResult getGeomExtents (const OdDb2dPolyline *pPline, OdGeExtents3d &extents, bool canQueryCache)=0
 
virtual OdResult getGeomExtents (const OdDb3dPolyline *pPline, OdGeExtents3d &extents, bool canQueryCache)=0
 
virtual OdResult getGeomExtents (const OdDbSpline *pSpline, OdGeExtents3d &extents, bool referenceGeometryExtents, bool canQueryCache)=0
 
virtual OdResult getGeomExtents (const OdDbBlockReference *pBlockRef, OdGeExtents3d &extents, bool referenceGeometryExtents, bool canQueryCache)=0
 
virtual OdResult getGeomExtents (const OdDbEntity *pEntity, OdGeExtents3d &extents, bool referenceGeometryExtents, bool canQueryCache)=0
 
virtual OdResult GetSimplifiedExtents (const OdDbEntity *pEnt, OdGeExtents3d &extents)=0
 
virtual bool XrefHasCircularReference (OdDbDatabase *pHostDb, OdDbBlockTableRecord *pBTR)=0
 
virtual bool BlockHasSelfReferences (OdDbObjectId idBlock, const OdString &sBlockName)=0
 
virtual bool & SuppressWriteFileEvents ()=0
 
virtual OdStringActualWriteFileName ()=0
 
virtual void SetIsInsideXrefReload (bool bInsideReload)=0
 
virtual bool IsInsideXrefReload ()=0
 
virtual void OnOle2FrameCreate ()=0
 
virtual void InitOle2FrameCount ()=0
 
virtual int Ole2FrameCount ()=0
 
virtual OdString GetPDFFontsPath ()=0
 
virtual bool IsPDFUnderlayEnabled ()=0
 
virtual OdGiRasterImagePtr GetThumbnailImage (OdDbDatabase *pDb, int width, int height)=0
 
virtual OdGiRasterImagePtr GetThumbnailImage2 (OdDbDatabase *pDb, int width, int height)=0
 
virtual void OnUndoGroupBegin (OdDbDatabase *pDb)=0
 
virtual void OnUndoGroupEnd (OdDbDatabase *pDb)=0
 
virtual OdGsViewPtr GetGsView (OdDbDatabase *pDb, bool isModelSpace)=0
 
virtual int AddIdToLastUsedDimStyleIdArray (OdDbDimStyleTable *pTable, OdDbObjectId &id)
 
virtual int GetLastUsedDimStyleIdArray (OdDbDimStyleTable *pTable, OdHardPtrIdArray &out)
 
virtual void HighlightEntity (const OdDbObject *pObject, bool bDoIt, const OdDbFullSubentPath *pPath)=0
 
virtual const OdUInt8ArrayGetRecordData (OdDbUndoController *pController, OdUInt32 i) const =0
 
virtual OdUInt32 GetRecordCount (OdDbUndoController *pController) const =0
 
virtual void SetBoundaryInverted (OdUInt32 numoints, const OdGePoint2d *pPoints)=0
 
virtual const OdGePoint2dArrayGetBoundaryInverted () const =0
 
virtual double fxGetAttMTextWidth (const OdDbAttributeDefinition *pDef)
 
virtual void fxSetAttMTextWidth (OdDbAttributeDefinition *pDef, double width)
 
virtual int AuditMTextContents (OdString &sMTextContents)
 
virtual void fxSetIgnoreTableMergeLines (OdDbTable *pTable, bool bIgnore)
 
virtual void SetTransformOnlyCurrentAnnotativeContextData (bool bEnable)
 
virtual bool IsTransformOnlyCurrentAnnotativeContextData () const
 
virtual int GetSupportedAnnotationScales (OdDbObject *pObject, OdArray< OdString > &scales)
 
void SetCachePointer (const OdDbObject *pObject, void *pCache)
 
voidGetCachePointer (const OdDbObject *pObject)
 
void SetDrawOrder (const OdDbObject *pObject, int iDrawOrder)
 
int GetDrawOrder (const OdDbObject *pObject)
 
void SetDrawModes (const OdDbObject *pObject, OdUInt32 iDrawModes)
 
OdUInt32 GetDrawModes (const OdDbObject *pObject)
 
void SetFxAssertReadEnabledCallback (FxAssertReadEnabledCallback pCallback)
 
FxAssertReadEnabledCallback GetFxAssertReadEnabledCallback ()
 
OdDbObjectId fxGetDimstyleChildId (const OdRxClass *pDimClass, const OdDbObjectId &style)
 
OdResult fxGetDimstyleChildData (const OdRxClass *pDimClass, OdDbDimStyleTableRecordPtr &pRec, const OdDbObjectId &style)
 
OdDbObjectId fxGetDimstyleParentId (const OdDbObjectId &childStyle)
 
void applyColor (OdDbEntityPtr pThis, OdDbEntityPtr pOther)
 
void AddAnonymousGroup (OdDbDictionary *pDestDict, OdDbGroup *pGroup, const OdString &sName)
 
OdString GetNextAnonymousRecordName (OdDbDictionary *pDict)
 
void MoveXDataHidden (OdDbObject *pObj, const OdGePoint3dArray &arrStretchWindow, const OdGeMatrix3d &mToPlane, const OdGeVector3d &offset)
 
void MoveXDataHidden (OdDbObject *pObj, const OdGePoint3d &ptGripPoint, const OdGeVector3d &offset)
 
OdResult TranslateEntity (OdDbEntity *pObj, const OdGeVector3d &offset)
 
void LockXDataTransformation ()
 
void UnlockXDataTransformation ()
 
bool IsXDataTransformationLocked ()
 
void SetFxBlockWorldDrawCallback (FxBlockWorldDrawCallback pCallback)
 
FxBlockWorldDrawCallback GetFxBlockWorldDrawCallback ()
 
bool IsUndoingBlock (const OdDbDatabase *pDb)
 
OdDbHatchPtr CreateHatchFromBlkRef (OdDbBlockReferencePtr pObj)
 
double fxZeroDimscale (OdDbDatabase *pDb)
 
virtual void DrawDimensionalConstraintIcon (OdGiViewportDraw *pVd, const OdDbBlockTableRecord *pBTR, const OdDbDimension *pDimension, bool bIsDynamic)=0
 
virtual bool IsConstrainedDimension (const OdDbDimension *pDimension)=0
 
virtual bool DrawDynamicConstraint (OdGiViewportDraw *pVd, const OdDbDimension *pOrigDim)=0
 
virtual void ConstraintAuditDatabase (OdDbDatabase *pDb, OdDbAuditInfo *pInfo)=0
 
virtual OdResult AuditDualDimPlaceholder (OdDbDatabase *pDb, OdDbAuditInfo *pInfo)
 
virtual bool IsConstraintsEnabled ()=0
 
virtual OdResBufPtr GetConstraintBlockParameter (const OdString &sVarName, const OdString &sPropertyName, const OdGeMatrix3d &m=OdGeMatrix3d::kIdentity)=0
 
virtual bool SetConstraintBlockParameter (const OdString &sVarName, const OdString &sPropertyName, const OdResBuf *rb, const OdGeMatrix3d &m=OdGeMatrix3d::kIdentity)=0
 
virtual bool EvaluateConstraintBlockParameterFromGripPoint (const OdString &sVarName, OdDbBlockGrip *pGrip)=0
 
virtual bool IsDynamicDimensionVisibleOnLoading (const OdDbDimension *pDimension)=0
 
virtual void EnableDrawAttDefs (bool bEnable)=0
 
virtual bool IsDrawAttDefsEnabled () const =0
 
virtual void EnableDrawImageFrame (bool bEnable)
 
virtual bool IsDrawImageFrameEnabled () const
 
virtual OdDbFcfPtr fxGetToleranceFromMLeader (OdDbMLeader *)
 
virtual void fxSetToleranceToMLeader (OdDbMLeader *, const OdDbFcf *, int)
 
virtual void fxRecomputeMLeader (OdDbMLeader *)
 
virtual bool GetUndoList (OdDbDatabase *pDb, OdStringArray &commands, bool bRedo=false)
 
bool & GetHatchSolidFill (OdDbHatchPtr pHatch)
 
bool & GetHatchGradientFill (OdDbHatchPtr pHatch)
 
virtual PatternQuality CheckPattern (OdHatchPattern *pPattern, double pixelSize)=0
 
void EnableHatchOptimization (bool bEnable=true)
 
bool IsHatchOptimizationEnabled () const
 
void EnablePermanentUndo (bool bEnable)
 
bool IsPermanentUndoEnabled () const
 
OdDbUndoControllerGetFxUndoController (OdDbDatabase *pDatabase)
 
OdDbUndoControllerGetFxRedoController (OdDbDatabase *pDatabase)
 
void SetFxUndoReactor (OdDbDatabase *pDatabase, CFxDbUndoReactor *pReactor)
 
unsigned int GetBlockChildCount (OdDbBlockTableRecord *pRecord)
 
unsigned int GetBlockNumRefs (OdDbBlockTableRecord *pRecord)
 
virtual void GetPaperProperties (OdDbPlotSettings *pLayout, OdGePoint3dArray &points, OdGePoint3dArray &margins)=0
 
virtual void AddModificationFilter (CFxDbModificationFilter *pFilter)=0
 
virtual void RemoveModificationFilter (CFxDbModificationFilter *pFilter)=0
 
virtual OdDbObjectIdArray ApplyModificationFilters (const OdDbObjectIdArray &objectIds)=0
 
virtual bool IsHighlighted (OdGiCommonDraw *pWd) const =0
 
virtual bool OnCOMObjectUpdate (const OdDbObject *pDbObj)=0
 
virtual bool AutoloadApp (const OdString appName)=0
 
virtual bool DrawSolidHatch (OdDbHatchImpl *pImpl, OdGiContextForDbDatabase *pGiContext, OdGiGeometry &geom)
 
virtual int DrawSolidHatchFlags ()
 
virtual void GetHatchPatternSize (const OdDbHatch *pHatch, double &dPatternSize, double &dMaxDashLength, bool &bCanUseSolidOptimization)
 
virtual void ExecuteInMainThread (std::function< void() > f)
 
virtual bool IsMechanical () const
 
virtual double GetMPolygonPerimeter (const OdDbMPolygon *pMPolygon)
 
virtual int GetMPolygonClosestLoopTo (const OdDbMPolygon *pMPolygon, const OdGePoint3d &worldPt)
 
virtual OdResult GetMPolygonArea (const OdDbMPolygon *pMPolygon, double &area)
 
virtual bool GetSystemVariableRange (OdResBufPtr &Min, OdResBufPtr &Max, const OdString &Name)
 
virtual int GetSysVarStorageType (const OdString &Name)
 
virtual void OnSetPlotDevice (const OdString &sPlotDeviceName)
 
virtual bool BlockTableCheckAnonymousIdDuplicates () const
 
virtual void SetBlockTableCheckAnonymousIdDuplicates (bool check)
 

Static Public Member Functions

static OdDbBlockTableRecordPtr fxGetDimBlock (OdDbDimension *pDim, bool bCreateIfNotFound=false, OdDbDimensionObjectContextData *ctx=0)
 
static void StaticExecuteInMainThread (std::function< void() > f)
 

Protected Member Functions

 CFxDbExtension ()
 

Detailed Description

Definition at line 106 of file FxDbExtension.h.

Member Typedef Documentation

◆ FxAssertReadEnabledCallback

typedef bool(* CFxDbExtension::FxAssertReadEnabledCallback) (const OdDbObject *pObject)

Definition at line 218 of file FxDbExtension.h.

◆ FxBlockWorldDrawCallback

typedef void(* CFxDbExtension::FxBlockWorldDrawCallback) (const OdDbBlockTableRecord *pObject, OdGiWorldDraw *pWd)

Definition at line 243 of file FxDbExtension.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
eDSHNone 
eDSHDrawAsPolygons 

Definition at line 382 of file FxDbExtension.h.

◆ PatternQuality

Enumerator
kSolid 
kNotRecognizableY 
kNotRecognizableX 
kFullyRecognizable 

Definition at line 302 of file FxDbExtension.h.

Constructor & Destructor Documentation

◆ ~CFxDbExtension()

virtual CFxDbExtension::~CFxDbExtension ( )
pure virtual

◆ CFxDbExtension()

CFxDbExtension::CFxDbExtension ( )
protected

Member Function Documentation

◆ ActualWriteFileName()

virtual OdString& CFxDbExtension::ActualWriteFileName ( )
pure virtual

◆ AddAnonymousGroup()

void CFxDbExtension::AddAnonymousGroup ( OdDbDictionary pDestDict,
OdDbGroup pGroup,
const OdString sName 
)

◆ AddIdToLastUsedDimStyleIdArray()

virtual int CFxDbExtension::AddIdToLastUsedDimStyleIdArray ( OdDbDimStyleTable pTable,
OdDbObjectId id 
)
virtual

◆ AddModificationFilter()

virtual void CFxDbExtension::AddModificationFilter ( CFxDbModificationFilter pFilter)
pure virtual

◆ applyColor()

void CFxDbExtension::applyColor ( OdDbEntityPtr  pThis,
OdDbEntityPtr  pOther 
)

◆ ApplyModificationFilters()

virtual OdDbObjectIdArray CFxDbExtension::ApplyModificationFilters ( const OdDbObjectIdArray objectIds)
pure virtual

◆ AuditDualDimPlaceholder()

virtual OdResult CFxDbExtension::AuditDualDimPlaceholder ( OdDbDatabase pDb,
OdDbAuditInfo pInfo 
)
virtual

◆ AuditMTextContents()

virtual int CFxDbExtension::AuditMTextContents ( OdString sMTextContents)
virtual

◆ AutoloadApp()

virtual bool CFxDbExtension::AutoloadApp ( const OdString  appName)
pure virtual

◆ BlockHasSelfReferences()

virtual bool CFxDbExtension::BlockHasSelfReferences ( OdDbObjectId  idBlock,
const OdString sBlockName 
)
pure virtual

◆ BlockTableCheckAnonymousIdDuplicates()

virtual bool CFxDbExtension::BlockTableCheckAnonymousIdDuplicates ( ) const
virtual

◆ CheckPattern()

virtual PatternQuality CFxDbExtension::CheckPattern ( OdHatchPattern pPattern,
double  pixelSize 
)
pure virtual

◆ ConstraintAuditDatabase()

virtual void CFxDbExtension::ConstraintAuditDatabase ( OdDbDatabase pDb,
OdDbAuditInfo pInfo 
)
pure virtual

◆ countHardReferences()

virtual bool CFxDbExtension::countHardReferences ( const OdDbDatabase pDatabase,
const OdDbObjectIdArray objectIds,
OdUInt32 counts 
) const
pure virtual

◆ CreateHatchFromBlkRef()

OdDbHatchPtr CFxDbExtension::CreateHatchFromBlkRef ( OdDbBlockReferencePtr  pObj)

◆ DrawDimensionalConstraintIcon()

virtual void CFxDbExtension::DrawDimensionalConstraintIcon ( OdGiViewportDraw pVd,
const OdDbBlockTableRecord pBTR,
const OdDbDimension pDimension,
bool  bIsDynamic 
)
pure virtual

◆ DrawDynamicConstraint()

virtual bool CFxDbExtension::DrawDynamicConstraint ( OdGiViewportDraw pVd,
const OdDbDimension pOrigDim 
)
pure virtual

◆ DrawSolidHatch()

virtual bool CFxDbExtension::DrawSolidHatch ( OdDbHatchImpl *  pImpl,
OdGiContextForDbDatabase pGiContext,
OdGiGeometry geom 
)
virtual

◆ DrawSolidHatchFlags()

virtual int CFxDbExtension::DrawSolidHatchFlags ( )
virtual

◆ EnableDrawAttDefs()

virtual void CFxDbExtension::EnableDrawAttDefs ( bool  bEnable)
pure virtual

◆ EnableDrawImageFrame()

virtual void CFxDbExtension::EnableDrawImageFrame ( bool  bEnable)
virtual

◆ EnableHatchOptimization()

void CFxDbExtension::EnableHatchOptimization ( bool  bEnable = true)

◆ EnablePermanentUndo()

void CFxDbExtension::EnablePermanentUndo ( bool  bEnable)

◆ EvaluateConstraintBlockParameterFromGripPoint()

virtual bool CFxDbExtension::EvaluateConstraintBlockParameterFromGripPoint ( const OdString sVarName,
OdDbBlockGrip pGrip 
)
pure virtual

◆ ExecuteInMainThread()

virtual void CFxDbExtension::ExecuteInMainThread ( std::function< void() >  f)
virtual

◆ fire_layoutToBeActivated()

virtual void CFxDbExtension::fire_layoutToBeActivated ( OdDbLayoutManagerReactor pReactor,
const OdString s,
const OdDbObjectId id 
) const
pure virtual

◆ fire_layoutToBeDeactivated()

virtual void CFxDbExtension::fire_layoutToBeDeactivated ( OdDbLayoutManagerReactor pReactor,
const OdString s,
const OdDbObjectId id 
) const
pure virtual

◆ FlushGraphics()

virtual void CFxDbExtension::FlushGraphics ( OdDbDatabase pDatabase,
const OdDbObject pObject 
)
virtual

◆ fxGetAttMTextWidth()

virtual double CFxDbExtension::fxGetAttMTextWidth ( const OdDbAttributeDefinition pDef)
virtual

◆ fxGetDimBlock()

static OdDbBlockTableRecordPtr CFxDbExtension::fxGetDimBlock ( OdDbDimension pDim,
bool  bCreateIfNotFound = false,
OdDbDimensionObjectContextData ctx = 0 
)
static

◆ fxGetDimstyleChildData()

OdResult CFxDbExtension::fxGetDimstyleChildData ( const OdRxClass pDimClass,
OdDbDimStyleTableRecordPtr pRec,
const OdDbObjectId style 
)

◆ fxGetDimstyleChildId()

OdDbObjectId CFxDbExtension::fxGetDimstyleChildId ( const OdRxClass pDimClass,
const OdDbObjectId style 
)

◆ fxGetDimstyleParentId()

OdDbObjectId CFxDbExtension::fxGetDimstyleParentId ( const OdDbObjectId childStyle)

◆ fxGetToleranceFromMLeader()

virtual OdDbFcfPtr CFxDbExtension::fxGetToleranceFromMLeader ( OdDbMLeader )
virtual

◆ fxRecomputeMLeader()

virtual void CFxDbExtension::fxRecomputeMLeader ( OdDbMLeader )
virtual

◆ fxSetAttMTextWidth()

virtual void CFxDbExtension::fxSetAttMTextWidth ( OdDbAttributeDefinition pDef,
double  width 
)
virtual

◆ fxSetIgnoreTableMergeLines()

virtual void CFxDbExtension::fxSetIgnoreTableMergeLines ( OdDbTable pTable,
bool  bIgnore 
)
virtual

◆ fxSetToleranceToMLeader()

virtual void CFxDbExtension::fxSetToleranceToMLeader ( OdDbMLeader ,
const OdDbFcf ,
int   
)
virtual

◆ fxZeroDimscale()

double CFxDbExtension::fxZeroDimscale ( OdDbDatabase pDb)

◆ GetBlockChildCount()

unsigned int CFxDbExtension::GetBlockChildCount ( OdDbBlockTableRecord pRecord)

◆ GetBlockNumRefs()

unsigned int CFxDbExtension::GetBlockNumRefs ( OdDbBlockTableRecord pRecord)

◆ GetBoundaryInverted()

virtual const OdGePoint2dArray& CFxDbExtension::GetBoundaryInverted ( ) const
pure virtual

◆ GetCachePointer()

void* CFxDbExtension::GetCachePointer ( const OdDbObject pObject)

◆ GetConstraintBlockParameter()

virtual OdResBufPtr CFxDbExtension::GetConstraintBlockParameter ( const OdString sVarName,
const OdString sPropertyName,
const OdGeMatrix3d m = OdGeMatrix3d::kIdentity 
)
pure virtual

◆ GetDrawModes()

OdUInt32 CFxDbExtension::GetDrawModes ( const OdDbObject pObject)

◆ GetDrawOrder()

int CFxDbExtension::GetDrawOrder ( const OdDbObject pObject)

◆ getFilename()

virtual bool CFxDbExtension::getFilename ( const OdDbDatabase pDatabase,
OdString result 
) const
pure virtual

◆ GetFxAssertReadEnabledCallback()

FxAssertReadEnabledCallback CFxDbExtension::GetFxAssertReadEnabledCallback ( )

◆ GetFxBlockWorldDrawCallback()

FxBlockWorldDrawCallback CFxDbExtension::GetFxBlockWorldDrawCallback ( )

◆ GetFxRedoController()

OdDbUndoController* CFxDbExtension::GetFxRedoController ( OdDbDatabase pDatabase)

◆ GetFxUndoController()

OdDbUndoController* CFxDbExtension::GetFxUndoController ( OdDbDatabase pDatabase)

◆ getGeomExtents() [1/12]

virtual OdResult CFxDbExtension::getGeomExtents ( const OdDb2dPolyline pPline,
OdGeExtents3d extents,
bool  canQueryCache 
)
pure virtual

◆ getGeomExtents() [2/12]

virtual OdResult CFxDbExtension::getGeomExtents ( const OdDb3dPolyline pPline,
OdGeExtents3d extents,
bool  canQueryCache 
)
pure virtual

◆ getGeomExtents() [3/12]

virtual OdResult CFxDbExtension::getGeomExtents ( const OdDbArc pArc,
OdGeExtents3d extents,
bool  referenceGeometryExtents,
bool  canQueryCache 
)
pure virtual

◆ getGeomExtents() [4/12]

virtual OdResult CFxDbExtension::getGeomExtents ( const OdDbBlockReference pBlockRef,
OdGeExtents3d extents,
bool  referenceGeometryExtents,
bool  canQueryCache 
)
pure virtual

◆ getGeomExtents() [5/12]

virtual OdResult CFxDbExtension::getGeomExtents ( const OdDbCircle pCircle,
OdGeExtents3d extents,
bool  canQueryCache 
)
pure virtual

◆ getGeomExtents() [6/12]

virtual OdResult CFxDbExtension::getGeomExtents ( const OdDbEllipse pEllipse,
OdGeExtents3d extents,
bool  referenceGeometryExtents,
bool  canQueryCache 
)
pure virtual

◆ getGeomExtents() [7/12]

virtual OdResult CFxDbExtension::getGeomExtents ( const OdDbEntity pEntity,
OdGeExtents3d extents,
bool  referenceGeometryExtents,
bool  canQueryCache 
)
pure virtual

◆ getGeomExtents() [8/12]

virtual OdResult CFxDbExtension::getGeomExtents ( const OdDbLine pLine,
OdGeExtents3d extents 
)
pure virtual

◆ getGeomExtents() [9/12]

virtual OdResult CFxDbExtension::getGeomExtents ( const OdDbPolyline pPline,
OdGeExtents3d extents,
bool  canQueryCache 
)
pure virtual

◆ getGeomExtents() [10/12]

virtual OdResult CFxDbExtension::getGeomExtents ( const OdDbRay pRay,
OdGeExtents3d extents,
bool  referenceGeometryExtents 
)
pure virtual

◆ getGeomExtents() [11/12]

virtual OdResult CFxDbExtension::getGeomExtents ( const OdDbSpline pSpline,
OdGeExtents3d extents,
bool  referenceGeometryExtents,
bool  canQueryCache 
)
pure virtual

◆ getGeomExtents() [12/12]

virtual OdResult CFxDbExtension::getGeomExtents ( const OdDbXline pXline,
OdGeExtents3d extents,
bool  referenceGeometryExtents 
)
pure virtual

◆ GetGsView()

virtual OdGsViewPtr CFxDbExtension::GetGsView ( OdDbDatabase pDb,
bool  isModelSpace 
)
pure virtual

◆ GetHatchGradientFill()

bool& CFxDbExtension::GetHatchGradientFill ( OdDbHatchPtr  pHatch)

◆ GetHatchPatternSize()

virtual void CFxDbExtension::GetHatchPatternSize ( const OdDbHatch pHatch,
double &  dPatternSize,
double &  dMaxDashLength,
bool &  bCanUseSolidOptimization 
)
virtual

◆ GetHatchSolidFill()

bool& CFxDbExtension::GetHatchSolidFill ( OdDbHatchPtr  pHatch)

◆ GetLastUsedDimStyleIdArray()

virtual int CFxDbExtension::GetLastUsedDimStyleIdArray ( OdDbDimStyleTable pTable,
OdHardPtrIdArray out 
)
virtual

◆ GetMPolygonArea()

virtual OdResult CFxDbExtension::GetMPolygonArea ( const OdDbMPolygon pMPolygon,
double &  area 
)
virtual

◆ GetMPolygonClosestLoopTo()

virtual int CFxDbExtension::GetMPolygonClosestLoopTo ( const OdDbMPolygon pMPolygon,
const OdGePoint3d worldPt 
)
virtual

◆ GetMPolygonPerimeter()

virtual double CFxDbExtension::GetMPolygonPerimeter ( const OdDbMPolygon pMPolygon)
virtual

◆ GetNextAnonymousRecordName()

OdString CFxDbExtension::GetNextAnonymousRecordName ( OdDbDictionary pDict)

◆ GetPaperProperties()

virtual void CFxDbExtension::GetPaperProperties ( OdDbPlotSettings pLayout,
OdGePoint3dArray points,
OdGePoint3dArray margins 
)
pure virtual

◆ GetPDFFontsPath()

virtual OdString CFxDbExtension::GetPDFFontsPath ( )
pure virtual

◆ GetRecordCount()

virtual OdUInt32 CFxDbExtension::GetRecordCount ( OdDbUndoController pController) const
pure virtual

◆ GetRecordData()

virtual const OdUInt8Array& CFxDbExtension::GetRecordData ( OdDbUndoController pController,
OdUInt32  i 
) const
pure virtual

◆ GetSimplifiedExtents()

virtual OdResult CFxDbExtension::GetSimplifiedExtents ( const OdDbEntity pEnt,
OdGeExtents3d extents 
)
pure virtual

◆ GetSupportedAnnotationScales()

virtual int CFxDbExtension::GetSupportedAnnotationScales ( OdDbObject pObject,
OdArray< OdString > &  scales 
)
virtual

◆ GetSystemVariableRange()

virtual bool CFxDbExtension::GetSystemVariableRange ( OdResBufPtr Min,
OdResBufPtr Max,
const OdString Name 
)
virtual

◆ GetSysVarStorageType()

virtual int CFxDbExtension::GetSysVarStorageType ( const OdString Name)
virtual

◆ GetThumbnailImage()

virtual OdGiRasterImagePtr CFxDbExtension::GetThumbnailImage ( OdDbDatabase pDb,
int  width,
int  height 
)
pure virtual

◆ GetThumbnailImage2()

virtual OdGiRasterImagePtr CFxDbExtension::GetThumbnailImage2 ( OdDbDatabase pDb,
int  width,
int  height 
)
pure virtual

◆ GetUndoList()

virtual bool CFxDbExtension::GetUndoList ( OdDbDatabase pDb,
OdStringArray commands,
bool  bRedo = false 
)
virtual

◆ HighlightEntity()

virtual void CFxDbExtension::HighlightEntity ( const OdDbObject pObject,
bool  bDoIt,
const OdDbFullSubentPath pPath 
)
pure virtual

◆ InitOle2FrameCount()

virtual void CFxDbExtension::InitOle2FrameCount ( )
pure virtual

◆ intersectWith()

virtual bool CFxDbExtension::intersectWith ( const OdDbSpline pThis,
const OdGeCurve3d intersectingCurve,
int &  intn,
OdGePoint3dArray IntPtArr,
const OdGeTol tol 
) const
pure virtual

◆ IsConstrainedDimension()

virtual bool CFxDbExtension::IsConstrainedDimension ( const OdDbDimension pDimension)
pure virtual

◆ IsConstraintsEnabled()

virtual bool CFxDbExtension::IsConstraintsEnabled ( )
pure virtual

◆ IsDrawAttDefsEnabled()

virtual bool CFxDbExtension::IsDrawAttDefsEnabled ( ) const
pure virtual

◆ IsDrawImageFrameEnabled()

virtual bool CFxDbExtension::IsDrawImageFrameEnabled ( ) const
virtual

◆ IsDynamicDimensionVisibleOnLoading()

virtual bool CFxDbExtension::IsDynamicDimensionVisibleOnLoading ( const OdDbDimension pDimension)
pure virtual

◆ IsHatchOptimizationEnabled()

bool CFxDbExtension::IsHatchOptimizationEnabled ( ) const

◆ IsHighlighted()

virtual bool CFxDbExtension::IsHighlighted ( OdGiCommonDraw pWd) const
pure virtual

◆ IsInsideXrefReload()

virtual bool CFxDbExtension::IsInsideXrefReload ( )
pure virtual

◆ IsMechanical()

virtual bool CFxDbExtension::IsMechanical ( ) const
virtual

◆ IsPDFUnderlayEnabled()

virtual bool CFxDbExtension::IsPDFUnderlayEnabled ( )
pure virtual

◆ IsPermanentUndoEnabled()

bool CFxDbExtension::IsPermanentUndoEnabled ( ) const

◆ IsTransformOnlyCurrentAnnotativeContextData()

virtual bool CFxDbExtension::IsTransformOnlyCurrentAnnotativeContextData ( ) const
virtual

◆ IsUndoingBlock()

bool CFxDbExtension::IsUndoingBlock ( const OdDbDatabase pDb)

◆ IsXDataTransformationLocked()

bool CFxDbExtension::IsXDataTransformationLocked ( )

◆ LockXDataTransformation()

void CFxDbExtension::LockXDataTransformation ( )

◆ MoveXDataHidden() [1/2]

void CFxDbExtension::MoveXDataHidden ( OdDbObject pObj,
const OdGePoint3d ptGripPoint,
const OdGeVector3d offset 
)

◆ MoveXDataHidden() [2/2]

void CFxDbExtension::MoveXDataHidden ( OdDbObject pObj,
const OdGePoint3dArray arrStretchWindow,
const OdGeMatrix3d mToPlane,
const OdGeVector3d offset 
)

◆ Ole2FrameCount()

virtual int CFxDbExtension::Ole2FrameCount ( )
pure virtual

◆ OnCOMObjectUpdate()

virtual bool CFxDbExtension::OnCOMObjectUpdate ( const OdDbObject pDbObj)
pure virtual

◆ OnObjectAboutToDestroy()

virtual void CFxDbExtension::OnObjectAboutToDestroy ( OdDbDatabase pDatabase,
const OdDbObject pObject 
)
pure virtual

◆ OnObjectAppended()

virtual void CFxDbExtension::OnObjectAppended ( OdDbDatabase pDatabase,
const OdDbObject pObject 
)
pure virtual

◆ OnObjectErased()

virtual void CFxDbExtension::OnObjectErased ( OdDbDatabase pDatabase,
const OdDbObject pObject 
)
pure virtual

◆ OnObjectModified()

virtual void CFxDbExtension::OnObjectModified ( OdDbDatabase pDatabase,
const OdDbObject pObject 
)
pure virtual

◆ OnObjectReappended()

virtual void CFxDbExtension::OnObjectReappended ( OdDbDatabase pDatabase,
const OdDbObject pObject 
)
pure virtual

◆ OnObjectUnappended()

virtual void CFxDbExtension::OnObjectUnappended ( OdDbDatabase pDatabase,
const OdDbObject pObject 
)
pure virtual

◆ OnOle2FrameCreate()

virtual void CFxDbExtension::OnOle2FrameCreate ( )
pure virtual

◆ OnSetPlotDevice()

virtual void CFxDbExtension::OnSetPlotDevice ( const OdString sPlotDeviceName)
virtual

◆ OnUndoGroupBegin()

virtual void CFxDbExtension::OnUndoGroupBegin ( OdDbDatabase pDb)
pure virtual

◆ OnUndoGroupEnd()

virtual void CFxDbExtension::OnUndoGroupEnd ( OdDbDatabase pDb)
pure virtual

◆ purge()

virtual bool CFxDbExtension::purge ( const OdDbDatabase pDatabase,
OdDbObjectIdArray objectIds 
) const
pure virtual

◆ RemoveModificationFilter()

virtual void CFxDbExtension::RemoveModificationFilter ( CFxDbModificationFilter pFilter)
pure virtual

◆ SetBlockTableCheckAnonymousIdDuplicates()

virtual void CFxDbExtension::SetBlockTableCheckAnonymousIdDuplicates ( bool  check)
virtual

◆ SetBoundaryInverted()

virtual void CFxDbExtension::SetBoundaryInverted ( OdUInt32  numoints,
const OdGePoint2d pPoints 
)
pure virtual

◆ SetCachePointer()

void CFxDbExtension::SetCachePointer ( const OdDbObject pObject,
void pCache 
)

◆ SetConstraintBlockParameter()

virtual bool CFxDbExtension::SetConstraintBlockParameter ( const OdString sVarName,
const OdString sPropertyName,
const OdResBuf rb,
const OdGeMatrix3d m = OdGeMatrix3d::kIdentity 
)
pure virtual

◆ SetDrawModes()

void CFxDbExtension::SetDrawModes ( const OdDbObject pObject,
OdUInt32  iDrawModes 
)

◆ SetDrawOrder()

void CFxDbExtension::SetDrawOrder ( const OdDbObject pObject,
int  iDrawOrder 
)

◆ SetFxAssertReadEnabledCallback()

void CFxDbExtension::SetFxAssertReadEnabledCallback ( FxAssertReadEnabledCallback  pCallback)

◆ SetFxBlockWorldDrawCallback()

void CFxDbExtension::SetFxBlockWorldDrawCallback ( FxBlockWorldDrawCallback  pCallback)

◆ SetFxUndoReactor()

void CFxDbExtension::SetFxUndoReactor ( OdDbDatabase pDatabase,
CFxDbUndoReactor pReactor 
)

◆ SetIsInsideXrefReload()

virtual void CFxDbExtension::SetIsInsideXrefReload ( bool  bInsideReload)
pure virtual

◆ setMargins()

virtual OdResult CFxDbExtension::setMargins ( OdDbPlotSettingsValidator pValidator,
OdDbPlotSettings pPlotSet,
double  leftMargin,
double  topMargin,
double  rightMargin,
double  bottomMargin 
) const
pure virtual

◆ setPlotPaperSize()

virtual OdResult CFxDbExtension::setPlotPaperSize ( OdDbPlotSettingsValidator pValidator,
OdDbPlotSettings pPlotSet,
double  paperWidth,
double  paperHeight 
) const
pure virtual

◆ setPlotViewId()

virtual OdResult CFxDbExtension::setPlotViewId ( OdDbPlotSettingsValidator pValidator,
OdDbPlotSettings pPlotSet,
const OdDbObjectId id 
) const
pure virtual

◆ setStyleSheet()

virtual OdResult CFxDbExtension::setStyleSheet ( OdDbPlotSettingsValidator pValidator,
OdDbPlotSettings pPlotSet,
const OdString styleSheetName 
) const
pure virtual

◆ SetTransformOnlyCurrentAnnotativeContextData()

virtual void CFxDbExtension::SetTransformOnlyCurrentAnnotativeContextData ( bool  bEnable)
virtual

◆ StaticExecuteInMainThread()

static void CFxDbExtension::StaticExecuteInMainThread ( std::function< void() >  f)
static

◆ SuppressWriteFileEvents()

virtual bool& CFxDbExtension::SuppressWriteFileEvents ( )
pure virtual

◆ TranslateEntity()

OdResult CFxDbExtension::TranslateEntity ( OdDbEntity pObj,
const OdGeVector3d offset 
)

◆ UnlockXDataTransformation()

void CFxDbExtension::UnlockXDataTransformation ( )

◆ XrefHasCircularReference()

virtual bool CFxDbExtension::XrefHasCircularReference ( OdDbDatabase pHostDb,
OdDbBlockTableRecord pBTR 
)
pure virtual

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