24#ifndef __ODGSMODEL_H_INCLUDED_
25#define __ODGSMODEL_H_INCLUDED_
169 kInvalidateIsolines = 0,
170 kInvalidateViewportCache = 1,
172 kInvalidateMaterials = 3,
173 kInvalidateLinetypes = 4
265 bool bSelectHidden =
false,
const OdGsView* pView = 0) = 0;
288 kNumRenderTypes = kMaxRenderType - kMinRenderType
446 double dTop,
double dBottom) = 0;
OdSmartPtr< OdGiDrawable > OdGiDrawablePtr
OdGiDrawablePtr(* OdGiOpenDrawableFn)(OdDbStub *id)
ODRX_DECLARE_MEMBERS(OdGsCache)
virtual void setDrawableNull()=0
virtual OdGsModel * model() const =0
virtual bool extents(OdGeExtents3d &extents) const =0
virtual void removeModelReactor(OdGsModelReactor *pReactor)=0
virtual OdDbStub * visualStyle() const =0
virtual void setEnableViewExtentsCalculation(bool bEnable)=0
virtual void onErased(OdGiDrawable *pErased, OdDbStub *parentID)=0
virtual bool isLightsInBlocksEnabled() const =0
virtual void addModelReactor(OdGsModelReactor *pReactor)=0
virtual void onModifiedGraphics(const OdGiDrawable *pModified, OdDbStub *parentID)=0
virtual void onUnerased(OdGiDrawable *pUnerased, OdGiDrawable *pParent)
virtual bool visualStyle(OdGiVisualStyle &visualStyle) const =0
virtual void setVisualStyle(OdDbStub *visualStyleId)=0
virtual OdGeMatrix3d transform() const =0
virtual bool viewSectioningOverride() const =0
virtual void setVisualStyle(const OdGiVisualStyle &visualStyle)=0
virtual void invalidateVisible(OdGsDevice *pDevice)=0
virtual OdDbStub * background() const =0
virtual void onAdded(OdGiDrawable *pAdded, OdDbStub *parentID)=0
virtual void setRenderType(RenderType renderType)=0
virtual void setViewClippingOverride(bool bEnable)=0
virtual RenderType renderType() const =0
ODRX_DECLARE_MEMBERS(OdGsModel)
virtual void setBackground(OdDbStub *backgroundId)=0
virtual void highlight(const OdGiPathNode &path, const OdGsMarker *pMarkers, OdUInt32 nMarkers, bool bDoIt=true, OdUInt32 nStyle=0, const OdGsView *pView=NULL)=0
virtual void invalidate(OdGsView *pView)=0
virtual OdGsView::RenderMode renderModeOverride() const =0
virtual void invalidate(InvalidationHint hint)=0
virtual void onErased(OdGiDrawable *pErased, OdGiDrawable *pParent)=0
virtual void hide(const OdGiPathNode &path, bool bDoIt=true, bool bSelectHidden=false, const OdGsView *pView=NULL)=0
virtual void setTransform(const OdGeMatrix3d &)=0
virtual bool viewClippingOverride() const =0
virtual void setRenderModeOverride(OdGsView::RenderMode mode=OdGsView::kNone)=0
virtual void setSectioningVisualStyle(OdDbStub *visualStyleId)=0
virtual void highlight(const OdGiPathNode &path, bool bDoIt=true, OdUInt32 nStyle=0, const OdGsView *pView=NULL)=0
virtual void onModified(OdGiDrawable *pModified, OdDbStub *parentID)=0
virtual void setSelectable(bool bEnable)=0
virtual bool isLinetypesEnabled() const =0
virtual bool setSectioning(const OdGePoint3dArray &points, const OdGeVector3d &upVector)=0
virtual void onAdded(OdGiDrawable *pAdded, OdGiDrawable *pParent)=0
virtual void hide(const OdGiPathNode &path, const OdGsMarker *pMarkers, OdUInt32 nMarkers, bool bDoIt=true, bool bSelectHidden=false, const OdGsView *pView=0)=0
virtual void setViewSectioningOverride(bool bEnable)=0
virtual void onModified(OdGiDrawable *pModified, OdGiDrawable *pParent)=0
virtual void onUnerased(OdGiDrawable *pUnerased, OdDbStub *parentID)
virtual bool isSelectable() const =0
virtual void setEnableLightsInBlocks(bool bEnable)=0
virtual bool setSectioning(const OdGePoint3dArray &points, const OdGeVector3d &upVector, double dTop, double dBottom)=0
virtual void setEnableLinetypes(bool bEnable)=0
virtual bool isSectioningEnabled() const =0
virtual void setOpenDrawableFn(OdGiOpenDrawableFn openDrawableFn)=0
virtual void setEnableSectioning(bool bEnable)=0
virtual bool isViewExtentsCalculationEnabled() const =0
virtual bool onErased(OdGsModel *pModel, OdGiDrawable *pErased, OdDbStub *parentID)
virtual ~OdGsModelReactor()
virtual bool onAdded(OdGsModel *pModel, OdGiDrawable *pAdded, OdDbStub *parentID)
virtual bool onAdded(OdGsModel *pModel, OdGiDrawable *pAdded, OdGiDrawable *pParent)
virtual bool onErased(OdGsModel *pModel, OdGiDrawable *pErased, OdGiDrawable *pParent)
virtual bool onModified(OdGsModel *pModel, OdGiDrawable *pModified, OdDbStub *parentID)
virtual bool onUnerased(OdGsModel *pModel, OdGiDrawable *pUnerased, OdGiDrawable *pParent)
virtual bool onUnerased(OdGsModel *pModel, OdGiDrawable *pUnerased, OdDbStub *parentID)
virtual bool onModified(OdGsModel *pModel, OdGiDrawable *pModified, OdGiDrawable *pParent)