36class OdGsUpdateContext;
37class OdGsDisplayContext;
79 kPersistent = 0x00000001,
80 kContainer = 0x00000002,
82 kHLT_All = 0x00000008,
83 kSyncDrawable=0x00000010,
85 kSelectHidden=0x00000040,
86 kHiddenAll = 0x00000080,
87 kSelStyle = 0x00000100,
96 enum { kInvalidateVp = 0x80000000 };
132 void*
operator new(size_t);
133 void operator delete(
void *);
176 bool isContainer()
const;
185 bool isSyncDrawable()
const;
208 OdDbStub* underlyingDrawableId()
const;
228 virtual void display(OdGsDisplayContext& ctx) = 0;
246 virtual void highlight(
bool bDoIt,
bool bWholeBranch,
OdUInt32 nSelStyle = 0);
253 bool isHighlighted()
const;
259 bool isHighlightedAll()
const;
268 virtual void hide(
bool bDoIt,
bool bSelectable =
false,
bool bWholeBranch =
true);
274 bool isHidden()
const;
280 bool isSelectableIfHidden()
const;
286 bool isHiddenAll()
const;
299 bool hasSelectionStyle()
const;
#define GS_TOOLKIT_EXPORT
GS_TOOLKIT_EXPORT OdGiDrawablePtr fxUnderlyingDrawable(const OdGsNode *)
#define SETBIT(flags, bit, value)
#define GETBIT(flags, bit)
virtual bool extents(OdGeExtents3d &extents) const =0
OdGsModel * model() const
bool isSelectableIfHidden() const
virtual void setDrawableNull()
virtual void update(OdGsUpdateContext &ctx, OdGsContainerNode *pParent, OdSiSpatialIndex *pParentIndex)=0
virtual bool postprocessNodeLoading(OdGsFiler *pFiler)
TD_USING(OdGsCache::extents)
OdUInt32 userFlags() const
virtual void highlight(bool bDoIt, bool bWholeBranch, OdUInt32 nSelStyle=0)
virtual OdDb::LineWeight getMaxLineweightUsed() const
bool modelExtents(const OdGsView *pView, OdGeExtents3d &ext, bool bUseModelTf=true) const
virtual ENodeType nodeType() const =0
OdGiDrawablePtr underlyingDrawable() const
virtual bool saveNodeState(OdGsFiler *pFiler, OdGsBaseVectorizer *pVectorizer=NULL) const
bool hasSelectionStyle() const
bool isHighlightedAll() const
bool modelExtents(OdGeExtents3d &ext, bool bUseModelTf=true) const
virtual void addContentToUpdateManager(OdUInt32 viewportId, OdGsUpdateManager *pManager, const UpdateManagerContext &context)
ODRX_DECLARE_MEMBERS(OdGsNode)
friend GS_TOOLKIT_EXPORT OdGiDrawablePtr fxUnderlyingDrawable(const OdGsNode *)
bool isHighlighted() const
virtual void invalidate(OdGsContainerNode *pParent, OdGsViewImpl *pView, OdUInt32 mask)=0
virtual bool extents(const OdGsView *pView, OdGeExtents3d &ext) const
void setSelectionStyleImpl(OdUInt32 nStyle)
virtual bool loadClientNodeState(OdGsFiler *pFiler, OdGsBaseVectorizer *pVectorizer)
void setToDrawable(const OdGiDrawable *pUnderlyingDrawable)
void setInvalidVp(bool val)
OdDbStub * underlyingDrawableId() const
OdUInt32 getSelectionStyleImpl() const
virtual void hide(bool bDoIt, bool bSelectable=false, bool bWholeBranch=true)
void * m_underlyingDrawable
virtual void propagateLayerChanges(OdGsViewImpl &view)=0
virtual void updateVisible(OdGsViewImpl *pViewImpl)
OdUInt32 selectionStyle() const
virtual bool saveClientNodeState(OdGsFiler *pFiler, OdGsBaseVectorizer *pVectorizer) const
static GS_STATIC_EXPORT AllocatorArray s_aAlloc
OdGsNode(const OdGsNode &c)
OdGsBaseModel * baseModel() const
void setUserFlags(OdUInt32 val)
virtual bool loadNodeState(OdGsFiler *pFiler, OdGsBaseVectorizer *pVectorizer=NULL)
virtual void display(OdGsDisplayContext &ctx)=0
virtual bool isMetafilesCompatible(const OdGsViewImpl *pView1, const OdGsViewImpl *pView2, OdGsUpdateContext *ctx)
bool isSyncDrawable() const
OdGsNode(OdGsBaseModel *pModel, const OdGiDrawable *pUnderlyingDrawable)