25#ifndef _DBVIEWERSTREAMER_API_H_
26#define _DBVIEWERSTREAMER_API_H_
54 return extents.isValidExtents();
58 return static_cast<Entry*
>(siEntity);
75 void reset(
OdUInt32 n,
bool isPlanar =
false) {
78 if (si.
isNull() || this->isPlanar != isPlanar)
82 this->isPlanar = isPlanar;
173 bool bForceCreateIndexes =
false,
bool bEnableUnload =
true ) = 0;
OdSmartPtr< OdDbPartialViewingIndex > OdDbPartialViewingIndexPtr
OdSmartPtr< OdDbPartialViewingFilter > OdDbPartialViewingFilterPtr
OdSmartPtr< OdDbPartialViewingModule > OdDbPartialViewingModulePtr
ODDB_DECLARE_MEMBERS(OdDbPartialViewingFilter)
const OdGsView * get() const
void set(const OdGsView *view)
OdDbPartialViewingFilter()
virtual OdRxClass * indexClass() const
ODDB_DECLARE_MEMBERS(OdDbPartialViewingIndex)
virtual void rebuildFull(OdDbIndexUpdateData *pIdxData)
virtual void dwgOutFields(OdDbDwgFiler *pFiler) const
bool getWorldExtents(OdGeExtents3d &ext) const
virtual OdResult dwgInFields(OdDbDwgFiler *pFiler)
void query(const OdSiShape &query, OdSiVisitor &visitor)
OdDbPartialViewingIndex()
virtual OdDbFilteredBlockIteratorPtr newIterator(const OdDbFilter *pFilter) const
virtual void extend(OdDbObjectId entId, const OdGeExtents3d &extents)
virtual void rebuildModified(OdDbBlockChangeIterator *iterator)
virtual void manageData(OdDbObjectIterator &willBeShown, OdDbObjectIterator &mayBeUnloaded)=0
virtual OdMutex * accessMutex()
virtual OdDbObjectIteratorPtr currentSet()=0
virtual OdDbObjectIteratorPtr getUnloadedObjects(OdDbObjectIterator &objects)=0
virtual OdDbObjectIteratorPtr filterCustomViewingData(OdDbObjectId blockId, OdDbDatabase *pDb, OdGsView *pGsView, const OdGeMatrix3d &transformMatrix, bool bForceCreateIndexes=false)=0
virtual void extendIndex(OdDbBlockTableRecord *pBTR, OdDbStub *id, const OdGeExtents3d &ext)=0
OdSmartPtr< DataManagerContext > DataManagerContextPtr
virtual void filterViewingData(OdGsDevice *filterSettings, DataManagerContext *dataManager, OdArray< OdDbFilterPtr > *pFilters=0, bool bForceCreateIndexes=false, bool bEnableUnload=true)=0
virtual bool hasIndex(OdDbBlockTableRecord *pBTR, bool bCheckExtents=false)=0
virtual void addIndex(OdGsDevice *filterSettings)=0
virtual OdUInt64 countUnloadedEntries(OdGsDevice *filterSettings)=0
virtual void addIndex(OdDbBlockTableRecord *pBTR, bool bUpdate=true)=0
virtual OdUInt64 countUnloadedEntries(OdDbBlockTableRecord *pBTR)=0
virtual OdGsDevicePtr attachDataManagerTo(OdGsDevice *gs, DataManagerContext *mgrCtx)=0
static OdSiSpatialIndexPtr createObject(OdUInt32 flags, unsigned int initialNumEntity, unsigned int maxDepth=30, unsigned int maxCount=20, double eps=1e-10)
virtual bool extents(OdGeExtents3d &extents) const =0
static Entry * cast(OdSiEntity *siEntity)
bool extents(OdGeExtents3d &extents) const