CFx SDK Documentation  2020SP3
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Static Protected Member Functions | Protected Attributes | Friends | List of all members
OdGsBlockReferenceNode Class Reference

#include <GsBlockReferenceNode.h>

Inheritance diagram for OdGsBlockReferenceNode:
OdGsEntityNode OdGsAwareFlagsArray OdGsNode OdSiEntity OdGsCache OdRxObject OdGsMInsertBlockNode

Public Types

enum  { kValid = OdGsEntityNode::kLastFlag << 1, kBrExcludeFromViewExt = OdGsEntityNode::kLastFlag << 2, kBrClipped = OdGsEntityNode::kLastFlag << 3, kLastFlag = kBrClipped }
 
- Public Types inherited from OdGsEntityNode
enum  MetafileCompatibilityLevel { kSkipCheckCompatible = 0, kCheckViewChanges = 1, kCheckCompatibleView = 2, kFindCompatible = 3 }
 
typedef OdSmartPtr< Metafile > MetafilePtr
 

Public Member Functions

 ODRX_DECLARE_MEMBERS (OdGsBlockReferenceNode)
 
 OdGsBlockReferenceNode (OdGsBaseModel *pModel, const OdGiDrawable *pDrawable, bool bSetGsNode=false)
 
 ~OdGsBlockReferenceNode ()
 
bool isValid () const
 
void setValid (bool bSet)
 
bool excludeFromViewExt () const
 
void setExcludeFromViewExt (bool bSet)
 
virtual bool isReference () const
 
virtual bool layersChanged (OdGsViewImpl &view) const
 
virtual void update (OdGsUpdateContext &ctx, OdGsContainerNode *pParent, OdSiSpatialIndex *pParentIndex)
 
virtual void propagateLayerChanges (OdGsViewImpl &view)
 
virtual void invalidate (OdGsContainerNode *pParent, OdGsViewImpl *pView, OdUInt32 mask)
 
virtual void destroy ()
 
virtual void destroySubitems ()
 
virtual bool select (OdGsBaseVectorizer &view, OdSiSelBaseVisitor *, OdGsView::SelectionMode mode)
 
bool highlightSubnodes (OdUInt32 nSubnodes, bool bHighlight, bool bAll)
 
virtual OdUInt32 awareFlags (OdUInt32 viewportId) const
 
virtual bool awareFlagsAreInvalid (OdUInt32 viewportId) const
 
virtual bool isEmpty ()
 
virtual OdGsEntityNode * firstEntity ()
 
virtual OdGsEntityNode * firstAttrib ()
 
void updateImpl (OdGsUpdateContext &ctx, const OdGiDrawable *pInsert, OdSiSpatialIndex *pParentIndex)
 
OdGsBlockNode * blockNode () const
 
void clearBlockNode ()
 
virtual void makeStock ()
 
virtual void releaseStock ()
 
virtual void propagateLayerChangesStock ()
 
void updateBlockNode (const OdGiDrawable *pBlockTableRecord)
 
void * sharedDefinition ()
 
virtual bool isMInsert () const
 
virtual void doDisplay (OdGsDisplayContext &ctx)
 
virtual bool doSelect (OdGsBaseVectorizer &vect, OdGiDrawable *pDrw, OdSiSelBaseVisitor *pVisitor, OdGsView::SelectionMode mode)
 
virtual void spatialQuery (const OdGsView &view, OdSiRecursiveVisitor *pVisitor)
 
- Public Member Functions inherited from OdGsEntityNode
OdGsEntityNode::MetafilePtr metafileAt (int metafileIndex) const
 
void setMetafile (OdGsEntityNode::Metafile *metafiles)
 
void setMetafileAt (int metafileIndex, OdGsEntityNode::Metafile *pMetafile)
 
void convertToViewportDependent (const OdGsUpdateContext &ctx)
 
OdGsEntityNode::Metafile * metafile (const OdGsViewImpl &view, OdGsUpdateContext *ctx, MetafileCompatibilityLevel findCompatibleLevel=kFindCompatible)
 
void setMetafile (OdGsUpdateContext &ctx, OdGsEntityNode::Metafile *metafiles)
 
OdRxObject * findCompatibleCache (const OdGsViewImpl &keyView, OdGsUpdateContext *ctx, OdUInt32 awareMask=0)
 
 ODRX_DECLARE_MEMBERS (OdGsEntityNode)
 
 OdGsEntityNode (OdGsBaseModel *pModel, const OdGiDrawable *pUnderlyingDrawable, bool bSetGsNode=false)
 
 ~OdGsEntityNode ()
 
void setNextEntity (OdGsEntityNode *pNextEntity)
 
void setNextEntity (OdUInt32 nVpId, OdGsEntityNode *pNextEntity)
 
OdGsEntityNode * nextEntity ()
 
OdGsEntityNode * nextEntity (OdUInt32 nVpId)
 
const OdGsEntityNode * nextEntity () const
 
const OdGsEntityNode * nextEntity (OdUInt32 nVpId) const
 
OdUInt32 numNextEntity () const
 
void enableMultipleNextEntities (OdUInt32 nMaxVpId)
 
void update (OdGsUpdateContext &ctx, OdGsContainerNode *pParent, OdSiSpatialIndex *pParentIndex)
 
void updateVisible (OdGsViewImpl *pViewImpl)
 
virtual OdGsEntityNode::MetafilePtr regenMetafile (OdGsUpdateContext &ctx, OdUInt32 vpDepFlags)
 
virtual ENodeType nodeType () const
 
virtual bool isLight () const
 
void display (OdGsDisplayContext &ctx)
 
void select (OdGsBaseVectorizer &view)
 
void invalidate (OdGsContainerNode *pParent, OdGsViewImpl *pView, OdUInt32 mask)
 
bool extents (OdGeExtents3d &extents) const
 
bool spatiallyIndexed () const
 
bool spatiallyIndexed (OdUInt32 nVpId) const
 
void setSpatiallyIndexed (bool spatiallyIndexed)
 
void setSpatiallyIndexed (OdUInt32 nVpId, bool spatiallyIndexed)
 
bool owned () const
 
bool owned (OdUInt32 nVpId) const
 
void setOwned (bool owned)
 
void setOwned (OdUInt32 nVpId, bool owned)
 
bool markedByUpdateManager () const
 
void setMarkedByUpdateManager (bool marked)
 
bool hasExtents () const
 
const OdGeExtents3d & extents () const
 
virtual bool hasFrozenLayers ()
 
bool markedToSkip (unsigned mask)
 
void markToSkip (unsigned mask, bool markToSkip)
 
void markToSkipAll ()
 
void destroy ()
 
bool markedAsNonSelectable () const
 
void markAsNonSelectable (bool val)
 
bool isMarkedSkipSelection () const
 
void markSkipSelection (bool val)
 
bool isMarkedErased () const
 
void markErased (bool val)
 
bool isInWorkset () const
 
void setInWorkset (bool val)
 
bool isRegenOnDraw () const
 
void setRegenOnDraw (bool val)
 
bool isSingleThreaded () const
 
void setSingleThreaded (bool val)
 
virtual void highlight (bool bDoIt, bool bWholeBranch)
 
void setHlBranch (OdGsHlBranch *pBr)
 
OdGsHlBranch * hlBranch ()
 
const OdGsHlBranch * hlBranch () const
 
bool extents (const OdGsView *pView, OdGeExtents3d &ext) const
 
OdDb::LineWeight getMaxLineweightUsed () const
 
void addMaxLineweightUsed (OdDb::LineWeight lwd)
 
void setMaxLineweightUsed (OdDb::LineWeight lwd)
 
bool entityUnerased () const
 
void setEntityUnerased (bool flag)
 
bool isInvisible () const
 
bool isExtentsOutOfModelSpace () const
 
void setExtentsOutOfModelSpace (bool flag)
 
void resetInvalidVpFlag ()
 
void setAsLightSourceOwner (bool bSet)
 
bool isLightSourceOwner () const
 
bool isRequireRegenOnHighlightChange () const
 
bool saveNodeState (OdGsFiler *pFiler, OdGsBaseVectorizer *pVectorizer=NULL) const
 
bool loadNodeState (OdGsFiler *pFiler, OdGsBaseVectorizer *pVectorizer=NULL)
 
void addContentToUpdateManager (OdUInt32 viewportId, OdGsUpdateManager *pManager, const UpdateManagerContext &context)
 
- Public Member Functions inherited from OdGsNode
bool invalidVp () const
 
void setToDrawable (const OdGiDrawable *pUnderlyingDrawable)
 
 ODRX_DECLARE_MEMBERS (OdGsNode)
 
void * operator new (size_t)
 
void operator delete (void *)
 
void addRef ()
 
void release ()
 
 OdGsNode (OdGsBaseModel *pModel, const OdGiDrawable *pUnderlyingDrawable)
 
virtual ~OdGsNode ()
 
OdGsBaseModel * baseModel () const
 
OdGsModel * model () const
 
bool isContainer () const
 
bool isSyncDrawable () const
 
OdGiDrawablePtr underlyingDrawable () const
 
OdDbStub * underlyingDrawableId () const
 
bool isHighlighted () const
 
bool isHighlightedAll () const
 
void hide (bool bDoIt)
 
bool isHidden () const
 
void setSelectableIfHidden (bool bSelectable)
 
bool isSelectableIfHidden () const
 
 TD_USING (OdGsCache::extents)
 
virtual void setDrawableNull ()
 
- Public Member Functions inherited from OdGsCache
 ODRX_DECLARE_MEMBERS (OdGsCache)
 
- Public Member Functions inherited from OdRxObject
 ODRX_HEAP_OPERATORS ()
 
 OdRxObject ()
 
virtual ~OdRxObject ()
 
virtual OdRxObject * queryX (const OdRxClass *pClass) const
 
virtual OdRxObject * x (const OdRxClass *pClass) const
 
virtual OdRxClass * isA () const
 
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
 

Static Public Member Functions

static OdGsBlockReferenceNode * create (OdGsBaseModel *pModel, const OdGiDrawable *pDrawable)
 
- Static Public Member Functions inherited from OdGsEntityNode
static void * Alloc (size_t nBytes)
 
static void Free (void *pMemBlock)
 
static void * Realloc (void *pMemBlock, size_t newSize, size_t)
 
static OdGsEntityNode::MetafilePtr getEmptyMetafile (OdUInt32 flags, OdGsLayerNode *pLayerNode=NULL)
 
static unsigned markToSkipMask (OdUInt32 threadIndex)
 
- Static Public Member Functions inherited from OdRxObject
static OdRxObjectPtr cast (const OdRxObject *pointer)
 
static OdRxClass * desc ()
 

Protected Member Functions

virtual void setChildrenUpToDate (bool childrenUpToDate, const OdUInt32 nVpID)
 
virtual bool childrenUpToDate (OdUInt32 nVpID) const
 
virtual bool childrenRegenDraw (OdUInt32 nVpID) const
 
void updateAttribute (OdGsUpdateContext &ctx, OdGsEntityNode *pNode, const OdGiDrawable *pInsert, OdGsMarker marker)
 
void setAwareFlags (OdUInt32 viewportId, OdUInt32 nAwareFlags)
 
virtual void playAsGeometry (OdGsBaseVectorizer &view, EMetafilePlayMode eMode)
 
void initBlockNode (const OdGiDrawable *pBlock)
 
void setMetafile (OdGsUpdateContext &ctx, OdGsEntityNode::Metafile *pMf, OdUInt32 awareFlags, const OdGeExtents3d &ext)
 
bool needRegen (OdUInt32 nVpID) const
 
virtual void doUpdateImpl (OdGsUpdateContext &ctx, const OdGiDrawable *pBlockTableRecord, unsigned iInstance)
 
void drawBlock (OdGsUpdateContext &ctx, const OdGiDrawable *pBlockTableRecord, OdGsBlockReferenceNodeImpl *pContainer, bool bEnableSharedGraphics)
 
void postUpdateStep (OdGsUpdateState &state)
 
void addEntPropsFromState (const OdGsUpdateState &state)
 
void checkCancelledSharedRef (OdGsUpdateState &state)
 
virtual void doSpatialQuery (OdGsSpQueryContext &ctx)
 
bool saveClientNodeState (OdGsFiler *pFiler, OdGsBaseVectorizer *pVectorizer) const
 
bool loadClientNodeState (OdGsFiler *pFiler, OdGsBaseVectorizer *pVectorizer)
 
bool postprocessNodeLoading (OdGsFiler *pFiler)
 
- Protected Member Functions inherited from OdGsEntityNode
MetafilePtrArray & metafileArray ()
 
const MetafilePtrArray & metafileArray () const
 
OdGsEntityNode::MetafilePtr metafile () const
 
void setExtentsFromMetafiles ()
 
bool findMetafileInStock (OdGsUpdateContext &ctx)
 
void insertToSpatialIndex (OdUInt32 nVpId, OdSiSpatialIndex &parentIndex, const OdGeExtents3d &prevExtents)
 
void setExtentsFlags ()
 
OdGsDCRect extentsToPixels (const OdGeExtents3d &ext, OdGsViewImpl *pViewImpl)
 
- Protected Member Functions inherited from OdGsNode
void setInvalidVp (bool val)
 
void clearDrawable ()
 
 OdGsNode (const OdGsNode &c)
 
- Protected Member Functions inherited from OdGsAwareFlagsArray
bool findFlag (OdUInt32 nVpID) const
 
 OdGsAwareFlagsArray ()
 
void setChildrenUpToDate (bool childrenUpToDate, const OdUInt32 nVpID)
 
bool childrenUpToDate (OdUInt32 nVpID) const
 
OdUInt32 get (OdUInt32 nVpID) const
 
void set (OdUInt32 nVpID, OdUInt32 flags)
 
void clear ()
 
bool isEmpty () const
 
OdUInt32 numAwareFlags () const
 
bool areInvalid (OdUInt32 nVpID) const
 

Static Protected Member Functions

static void actionPostUpdateStep (void *pObj, OdGsUpdateState &state)
 
static void actionAddEntPropsFromState (void *pObj, OdGsUpdateState &state)
 
static void actionCheckCancelledSharedRef (void *pObj, OdGsUpdateState &state)
 
static void actionRestartLocked (void *pObj, OdGsUpdateContext &ctx)
 

Protected Attributes

TPtr< OdGsBlockReferenceNodeImpl > m_pImpl
 
OdGsBlockNode * m_pBlockNode
 
OdGsEntityNode * m_pFirstAttrib
 
- Protected Attributes inherited from OdGsEntityNode
OdGeExtents3d m_extents
 
OdGsHlBranchPtr m_hlBranch
 
MetafileHolder m_metafile
 
OdUInt32 m_entFlags
 
- Protected Attributes inherited from OdGsNode
OdGsNode * m_pPrev
 
OdGsNode * m_pNext
 
OdGsBaseModel * m_pModel
 
void * m_underlyingDrawable
 
OdUInt32 m_flags
 

Friends

class WorldDrawBlockRef
 
class GsDrawableNested
 
class OdGsSpQueryContext
 

Additional Inherited Members

- Protected Types inherited from OdGsEntityNode
enum  {
  kHasExtents = OdGsNode::kLastFlag << 1, kSpatiallyIndexed = OdGsNode::kLastFlag << 2, kInWorkset = OdGsNode::kLastFlag << 3, kSingleThreaded = OdGsNode::kLastFlag << 4,
  kOwned = OdGsNode::kLastFlag << 5, kDrawableRegenDraw = OdGsNode::kLastFlag << 6, kEntityUnerased = OdGsNode::kLastFlag << 7, kInvisible = OdGsNode::kLastFlag << 8,
  kExtentsOutOfMS = OdGsNode::kLastFlag << 9, kNonSelectable = OdGsNode::kLastFlag << 10, kSkipSelection = OdGsNode::kLastFlag << 11, kErased = OdGsNode::kLastFlag << 12,
  kDrawableIsXref = OdGsNode::kLastFlag << 13, kMultilistNextPtr = OdGsNode::kLastFlag << 14, kLastFlag = kMultilistNextPtr
}
 
enum  {
  kLineweightBit1 = (1 << 0), kLineweightBit2 = (1 << 1), kLineweightOffset = 0, kLineweightBit3 = (1 << 2),
  kLineweightBit4 = (1 << 3), kLineweightBit5 = (1 << 4), kLineweightBit6 = (1 << 5), kLineweightBit7 = (1 << 6),
  kLineweightBit8 = (1 << 7), kLineweightBitMask = kLineweightBit1 | kLineweightBit2 | kLineweightBit3 | kLineweightBit4 | kLineweightBit5 | kLineweightBit6 | kLineweightBit7 | kLineweightBit8, kLightSourceOwner = (1 << 8), kRegenOnHighlight = (1 << 9),
  kMarkedByUpdateManager = (1 << 10), kLastEntFlag = kMarkedByUpdateManager
}
 
enum  { kMarkedToSkipFirst = 0x00000001, kMarkedToSkipLast = kMarkedToSkipFirst << 30, kMarkedToSkipAll = 0x7FFFFFFF }
 
- Protected Types inherited from OdGsNode
enum  {
  kPersistent = 0x00000001, kContainer = 0x00000002, kHLT = 0x00000004, kHLT_All = 0x00000008,
  kSyncDrawable = 0x00000010, kHidden = 0x00000020, kSelectHidden = 0x00000040, kLastFlag = kSelectHidden
}
 
enum  { kInvalidateVp = 0x80000000 }
 
- Protected Types inherited from OdGsAwareFlagsArray
enum  { kChildrenNotUpToDate = 0x80000000 }
 
- Static Protected Attributes inherited from OdGsNode
static GS_STATIC_EXPORT AllocatorArray s_aAlloc
 

Detailed Description

Corresponding C++ library: TD_Gs

<group OdGs_Classes>

Definition at line 226 of file GsBlockReferenceNode.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
kValid 
kBrExcludeFromViewExt 
kBrClipped 
kLastFlag 

Definition at line 237 of file GsBlockReferenceNode.h.

Constructor & Destructor Documentation

◆ OdGsBlockReferenceNode()

OdGsBlockReferenceNode::OdGsBlockReferenceNode ( OdGsBaseModel *  pModel,
const OdGiDrawable *  pDrawable,
bool  bSetGsNode = false 
)

◆ ~OdGsBlockReferenceNode()

OdGsBlockReferenceNode::~OdGsBlockReferenceNode ( )

Member Function Documentation

◆ actionAddEntPropsFromState()

static void OdGsBlockReferenceNode::actionAddEntPropsFromState ( void *  pObj,
OdGsUpdateState &  state 
)
staticprotected

◆ actionCheckCancelledSharedRef()

static void OdGsBlockReferenceNode::actionCheckCancelledSharedRef ( void *  pObj,
OdGsUpdateState &  state 
)
staticprotected

◆ actionPostUpdateStep()

static void OdGsBlockReferenceNode::actionPostUpdateStep ( void *  pObj,
OdGsUpdateState &  state 
)
staticprotected

◆ actionRestartLocked()

static void OdGsBlockReferenceNode::actionRestartLocked ( void *  pObj,
OdGsUpdateContext &  ctx 
)
staticprotected

◆ addEntPropsFromState()

void OdGsBlockReferenceNode::addEntPropsFromState ( const OdGsUpdateState &  state)
protected

◆ awareFlags()

virtual OdUInt32 OdGsBlockReferenceNode::awareFlags ( OdUInt32  viewportId) const
virtual

Returns the Aware flags for the specified Viewport for object.

Parameters
viewportId[in] Viewport ID.

Reimplemented from OdGsEntityNode.

◆ awareFlagsAreInvalid()

virtual bool OdGsBlockReferenceNode::awareFlagsAreInvalid ( OdUInt32  viewportId) const
virtual

Check Aware flags for the specified Viewport and return true if flags are invalid, i.e. cannot be used for determining awareness of the node about view properties.

Parameters
viewportId[in] Viewport ID.

◆ blockNode()

OdGsBlockNode* OdGsBlockReferenceNode::blockNode ( ) const
inline

Definition at line 296 of file GsBlockReferenceNode.h.

◆ checkCancelledSharedRef()

void OdGsBlockReferenceNode::checkCancelledSharedRef ( OdGsUpdateState &  state)
protected

◆ childrenRegenDraw()

virtual bool OdGsBlockReferenceNode::childrenRegenDraw ( OdUInt32  nVpID) const
protectedvirtual

◆ childrenUpToDate()

virtual bool OdGsBlockReferenceNode::childrenUpToDate ( OdUInt32  nVpID) const
protectedvirtual

◆ clearBlockNode()

void OdGsBlockReferenceNode::clearBlockNode ( )
inline

Definition at line 481 of file GsBlockReferenceNode.h.

◆ create()

static OdGsBlockReferenceNode* OdGsBlockReferenceNode::create ( OdGsBaseModel *  pModel,
const OdGiDrawable *  pDrawable 
)
static

◆ destroy()

virtual void OdGsBlockReferenceNode::destroy ( )
virtual

Implements OdGsNode.

Reimplemented in OdGsMInsertBlockNode.

◆ destroySubitems()

virtual void OdGsBlockReferenceNode::destroySubitems ( )
virtual

Reimplemented in OdGsMInsertBlockNode.

◆ doDisplay()

virtual void OdGsBlockReferenceNode::doDisplay ( OdGsDisplayContext &  ctx)
virtual

Reimplemented in OdGsMInsertBlockNode.

◆ doSelect()

virtual bool OdGsBlockReferenceNode::doSelect ( OdGsBaseVectorizer &  vect,
OdGiDrawable *  pDrw,
OdSiSelBaseVisitor *  pVisitor,
OdGsView::SelectionMode  mode 
)
virtual

Reimplemented in OdGsMInsertBlockNode.

◆ doSpatialQuery()

virtual void OdGsBlockReferenceNode::doSpatialQuery ( OdGsSpQueryContext &  ctx)
protectedvirtual

◆ doUpdateImpl()

virtual void OdGsBlockReferenceNode::doUpdateImpl ( OdGsUpdateContext &  ctx,
const OdGiDrawable *  pBlockTableRecord,
unsigned  iInstance 
)
protectedvirtual

Reimplemented in OdGsMInsertBlockNode.

◆ drawBlock()

void OdGsBlockReferenceNode::drawBlock ( OdGsUpdateContext &  ctx,
const OdGiDrawable *  pBlockTableRecord,
OdGsBlockReferenceNodeImpl *  pContainer,
bool  bEnableSharedGraphics 
)
protected

◆ excludeFromViewExt()

bool OdGsBlockReferenceNode::excludeFromViewExt ( ) const
inline

Definition at line 247 of file GsBlockReferenceNode.h.

◆ firstAttrib()

virtual OdGsEntityNode* OdGsBlockReferenceNode::firstAttrib ( )
inlinevirtual

Reimplemented in OdGsMInsertBlockNode.

Definition at line 292 of file GsBlockReferenceNode.h.

◆ firstEntity()

virtual OdGsEntityNode* OdGsBlockReferenceNode::firstEntity ( )
virtual

Reimplemented in OdGsMInsertBlockNode.

◆ highlightSubnodes()

bool OdGsBlockReferenceNode::highlightSubnodes ( OdUInt32  nSubnodes,
bool  bHighlight,
bool  bAll 
)

Add/release counter of highlighted children of the node, and set kHLT/kHLT_All flags if necessary

Parameters
nSubnodes[in] number of subnodes
bHighlight[in] if true then highlight else unhighlight
bAll[in] if true then consider kHLT_All flag Returns true if and only if highlighting of the child caused changing of kHLT flag on the container.

◆ initBlockNode()

void OdGsBlockReferenceNode::initBlockNode ( const OdGiDrawable *  pBlock)
protected

◆ invalidate()

virtual void OdGsBlockReferenceNode::invalidate ( OdGsContainerNode *  pParent,
OdGsViewImpl *  pView,
OdUInt32  mask 
)
virtual

Invalidates the cached data within this object.

Parameters
pParent[in] Pointer to the ContainerNode object for this Node object.
pView[in] Pointer to the VectorizeView object for which data are to be invalidated.
mask[in] Mask.
Remarks
The cached data will be regenerated the next time this Node object is accessed.

Implements OdGsNode.

Reimplemented in OdGsMInsertBlockNode.

◆ isEmpty()

virtual bool OdGsBlockReferenceNode::isEmpty ( )
virtual

Returns true if the node has no graphical content.

Reimplemented from OdGsEntityNode.

◆ isMInsert()

virtual bool OdGsBlockReferenceNode::isMInsert ( ) const
inlinevirtual

Reimplemented in OdGsMInsertBlockNode.

Definition at line 305 of file GsBlockReferenceNode.h.

◆ isReference()

virtual bool OdGsBlockReferenceNode::isReference ( ) const
inlinevirtual

Reimplemented from OdGsEntityNode.

Definition at line 250 of file GsBlockReferenceNode.h.

◆ isValid()

bool OdGsBlockReferenceNode::isValid ( void  ) const
inline

Definition at line 245 of file GsBlockReferenceNode.h.

◆ layersChanged()

virtual bool OdGsBlockReferenceNode::layersChanged ( OdGsViewImpl &  view) const
virtual

Reimplemented from OdGsEntityNode.

Reimplemented in OdGsMInsertBlockNode.

◆ loadClientNodeState()

bool OdGsBlockReferenceNode::loadClientNodeState ( OdGsFiler *  pFiler,
OdGsBaseVectorizer *  pVectorizer 
)
protectedvirtual

Reimplemented from OdGsNode.

Reimplemented in OdGsMInsertBlockNode.

◆ makeStock()

virtual void OdGsBlockReferenceNode::makeStock ( )
virtual

Reimplemented from OdGsEntityNode.

Reimplemented in OdGsMInsertBlockNode.

◆ needRegen()

bool OdGsBlockReferenceNode::needRegen ( OdUInt32  nVpID) const
inlineprotected

Definition at line 325 of file GsBlockReferenceNode.h.

◆ ODRX_DECLARE_MEMBERS()

OdGsBlockReferenceNode::ODRX_DECLARE_MEMBERS ( OdGsBlockReferenceNode  )

◆ playAsGeometry()

virtual void OdGsBlockReferenceNode::playAsGeometry ( OdGsBaseVectorizer &  view,
EMetafilePlayMode  eMode 
)
protectedvirtual

Reimplemented from OdGsEntityNode.

Reimplemented in OdGsMInsertBlockNode.

◆ postprocessNodeLoading()

bool OdGsBlockReferenceNode::postprocessNodeLoading ( OdGsFiler *  pFiler)
protectedvirtual

Reimplemented from OdGsNode.

Reimplemented in OdGsMInsertBlockNode.

◆ postUpdateStep()

void OdGsBlockReferenceNode::postUpdateStep ( OdGsUpdateState &  state)
protected

◆ propagateLayerChanges()

virtual void OdGsBlockReferenceNode::propagateLayerChanges ( OdGsViewImpl &  view)
virtual

Invalidates parts of cache depended on layers modified since last regeneration.

Remarks
For internal use only. Returns this if and only if the this node is one of modified layers.

Reimplemented from OdGsEntityNode.

◆ propagateLayerChangesStock()

virtual void OdGsBlockReferenceNode::propagateLayerChangesStock ( )
virtual

Reimplemented from OdGsEntityNode.

Reimplemented in OdGsMInsertBlockNode.

◆ releaseStock()

virtual void OdGsBlockReferenceNode::releaseStock ( )
virtual

Reimplemented from OdGsEntityNode.

Reimplemented in OdGsMInsertBlockNode.

◆ saveClientNodeState()

bool OdGsBlockReferenceNode::saveClientNodeState ( OdGsFiler *  pFiler,
OdGsBaseVectorizer *  pVectorizer 
) const
protectedvirtual

Reimplemented from OdGsNode.

Reimplemented in OdGsMInsertBlockNode.

◆ select()

virtual bool OdGsBlockReferenceNode::select ( OdGsBaseVectorizer &  view,
OdSiSelBaseVisitor *  ,
OdGsView::SelectionMode  mode 
)
virtual

◆ setAwareFlags()

void OdGsBlockReferenceNode::setAwareFlags ( OdUInt32  viewportId,
OdUInt32  nAwareFlags 
)
protected

◆ setChildrenUpToDate()

virtual void OdGsBlockReferenceNode::setChildrenUpToDate ( bool  childrenUpToDate,
const OdUInt32  nVpID 
)
protectedvirtual

◆ setExcludeFromViewExt()

void OdGsBlockReferenceNode::setExcludeFromViewExt ( bool  bSet)
inline

Definition at line 248 of file GsBlockReferenceNode.h.

◆ setMetafile()

void OdGsBlockReferenceNode::setMetafile ( OdGsUpdateContext &  ctx,
OdGsEntityNode::Metafile *  pMf,
OdUInt32  awareFlags,
const OdGeExtents3d &  ext 
)
protected

◆ setValid()

void OdGsBlockReferenceNode::setValid ( bool  bSet)
inline

Definition at line 246 of file GsBlockReferenceNode.h.

◆ sharedDefinition()

void* OdGsBlockReferenceNode::sharedDefinition ( )

◆ spatialQuery()

virtual void OdGsBlockReferenceNode::spatialQuery ( const OdGsView &  view,
OdSiRecursiveVisitor *  pVisitor 
)
virtual

◆ update()

virtual void OdGsBlockReferenceNode::update ( OdGsUpdateContext &  ctx,
OdGsContainerNode *  pParent,
OdSiSpatialIndex *  pParentIndex 
)
virtual

Updates the cached data within this Node object for the specified VectorizeView and ContainerNode objects.

Parameters
pParent[in] Pointer to the ContainerNode object for this Node object.
view[in] VectorizeView object for which data are to be updated.

Implements OdGsNode.

◆ updateAttribute()

void OdGsBlockReferenceNode::updateAttribute ( OdGsUpdateContext &  ctx,
OdGsEntityNode *  pNode,
const OdGiDrawable *  pInsert,
OdGsMarker  marker 
)
protected

◆ updateBlockNode()

void OdGsBlockReferenceNode::updateBlockNode ( const OdGiDrawable *  pBlockTableRecord)

◆ updateImpl()

void OdGsBlockReferenceNode::updateImpl ( OdGsUpdateContext &  ctx,
const OdGiDrawable *  pInsert,
OdSiSpatialIndex *  pParentIndex 
)

Friends And Related Function Documentation

◆ GsDrawableNested

friend class GsDrawableNested
friend

Definition at line 369 of file GsBlockReferenceNode.h.

◆ OdGsSpQueryContext

friend class OdGsSpQueryContext
friend

Definition at line 370 of file GsBlockReferenceNode.h.

◆ WorldDrawBlockRef

friend class WorldDrawBlockRef
friend

Definition at line 368 of file GsBlockReferenceNode.h.

Member Data Documentation

◆ m_pBlockNode

OdGsBlockNode* OdGsBlockReferenceNode::m_pBlockNode
protected

Definition at line 364 of file GsBlockReferenceNode.h.

◆ m_pFirstAttrib

OdGsEntityNode* OdGsBlockReferenceNode::m_pFirstAttrib
protected

Definition at line 366 of file GsBlockReferenceNode.h.

◆ m_pImpl

TPtr<OdGsBlockReferenceNodeImpl> OdGsBlockReferenceNode::m_pImpl
protected

Definition at line 362 of file GsBlockReferenceNode.h.


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