CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
Classes | Public Types | Public Member Functions | List of all members
OdDbPartialViewingModule Class Referenceabstract

#include <DbPartialViewing.h>

Inheritance diagram for OdDbPartialViewingModule:
OdRxModule OdRxObject

Classes

class  DataManagerContext
 

Public Types

typedef OdSmartPtr< DataManagerContextDataManagerContextPtr
 

Public Member Functions

virtual OdGsDevicePtr attachDataManagerTo (OdGsDevice *gs, DataManagerContext *mgrCtx)=0
 
virtual void filterViewingData (OdGsDevice *filterSettings, DataManagerContext *dataManager, OdArray< OdDbFilterPtr > *pFilters=0, bool bForceCreateIndexes=false, bool bEnableUnload=true)=0
 
virtual void addIndex (OdGsDevice *filterSettings)=0
 
virtual void addIndex (OdDbBlockTableRecord *pBTR, bool bUpdate=true)=0
 
virtual bool hasIndex (OdDbBlockTableRecord *pBTR, bool bCheckExtents=false)=0
 
virtual void extendIndex (OdDbBlockTableRecord *pBTR, OdDbStub *id, const OdGeExtents3d &ext)=0
 
virtual OdDbObjectIteratorPtr getUnloadedObjects (OdDbObjectIterator &objects)=0
 
virtual OdDbObjectIteratorPtr filterCustomViewingData (OdDbObjectId blockId, OdDbDatabase *pDb, OdGsView *pGsView, const OdGeMatrix3d &transformMatrix, bool bForceCreateIndexes=false)=0
 
virtual OdUInt64 countUnloadedEntries (OdGsDevice *filterSettings)=0
 
virtual OdUInt64 countUnloadedEntries (OdDbBlockTableRecord *pBTR)=0
 
- Public Member Functions inherited from OdRxModule
 ODRX_DECLARE_MEMBERS (OdRxModule)
 
virtual voidsysData ()=0
 
virtual void deleteModule ()=0
 
virtual void initApp ()=0
 
virtual void uninitApp ()=0
 
virtual OdString moduleName () const =0
 
- Public Member Functions inherited from OdRxObject
 ODRX_HEAP_OPERATORS ()
 
 OdRxObject ()
 
virtual ~OdRxObject ()
 
virtual OdRxObjectqueryX (const OdRxClass *pClass) const
 
virtual OdRxObjectx (const OdRxClass *pClass) const
 
virtual OdRxClassisA () const
 
virtual void addRef ()=0
 
virtual void release ()=0
 
virtual long numRefs () const
 
bool isKindOf (const OdRxClass *pClass) const
 
virtual OdRxObjectPtr clone () const
 
virtual void copyFrom (const OdRxObject *pSource)
 
virtual OdRx::Ordering comparedTo (const OdRxObject *pOther) const
 
virtual bool isEqualTo (const OdRxObject *pOther) const
 

Additional Inherited Members

- Static Public Member Functions inherited from OdRxObject
static OdRxObjectPtr cast (const OdRxObject *pointer)
 
static OdRxClassdesc ()
 

Detailed Description

Library: OdDbPartialViewing <group OdDb_Classes>

Definition at line 141 of file DbPartialViewing.h.

Member Typedef Documentation

◆ DataManagerContextPtr

Definition at line 169 of file DbPartialViewing.h.

Member Function Documentation

◆ addIndex() [1/2]

virtual void OdDbPartialViewingModule::addIndex ( OdDbBlockTableRecord pBTR,
bool  bUpdate = true 
)
pure virtual

◆ addIndex() [2/2]

virtual void OdDbPartialViewingModule::addIndex ( OdGsDevice filterSettings)
pure virtual

◆ attachDataManagerTo()

virtual OdGsDevicePtr OdDbPartialViewingModule::attachDataManagerTo ( OdGsDevice gs,
DataManagerContext mgrCtx 
)
pure virtual

Attaches Db/Gs data manager that filters (unloads/pages/markup/erase) offscreen data when entire drawing file is too big to be loaded completely into run-time.

Returns
Returns OdGsDevice-based wrapper that implements entity filtering.
Parameters
gs[in] Input GS to be managed.
queryFilter[in, optional] interface object for filtering control.
mgrCtx[in, optional] hook for custom data management.
See also
OdDbPartialViewingFilter OdDbPartialViewingIndex OdGsDevice

◆ countUnloadedEntries() [1/2]

virtual OdUInt64 OdDbPartialViewingModule::countUnloadedEntries ( OdDbBlockTableRecord pBTR)
pure virtual

◆ countUnloadedEntries() [2/2]

virtual OdUInt64 OdDbPartialViewingModule::countUnloadedEntries ( OdGsDevice filterSettings)
pure virtual

◆ extendIndex()

virtual void OdDbPartialViewingModule::extendIndex ( OdDbBlockTableRecord pBTR,
OdDbStub *  id,
const OdGeExtents3d ext 
)
pure virtual

◆ filterCustomViewingData()

virtual OdDbObjectIteratorPtr OdDbPartialViewingModule::filterCustomViewingData ( OdDbObjectId  blockId,
OdDbDatabase pDb,
OdGsView pGsView,
const OdGeMatrix3d transformMatrix,
bool  bForceCreateIndexes = false 
)
pure virtual

◆ filterViewingData()

virtual void OdDbPartialViewingModule::filterViewingData ( OdGsDevice filterSettings,
DataManagerContext dataManager,
OdArray< OdDbFilterPtr > *  pFilters = 0,
bool  bForceCreateIndexes = false,
bool  bEnableUnload = true 
)
pure virtual

◆ getUnloadedObjects()

virtual OdDbObjectIteratorPtr OdDbPartialViewingModule::getUnloadedObjects ( OdDbObjectIterator objects)
pure virtual

◆ hasIndex()

virtual bool OdDbPartialViewingModule::hasIndex ( OdDbBlockTableRecord pBTR,
bool  bCheckExtents = false 
)
pure virtual

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