CFx SDK Documentation 2026 SP0
Loading...
Searching...
No Matches
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 , kForceNotEmpty = OdGsEntityNode::kLastFlag << 4 ,
  kBrOwnGeom = OdGsEntityNode::kLastFlag << 5 , kLastFlag = kBrOwnGeom
}
 
- Public Types inherited from OdGsEntityNode
enum  MetafileCompatibilityLevel { kSkipCheckCompatible = 0 , kCheckViewChanges = 1 , kCheckCompatibleView = 2 , kFindCompatible = 3 }
 
typedef OdSmartPtr< MetafileMetafilePtr
 

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)
 
bool isForceNotEmpty () const
 
void setForceNotEmpty (bool b)
 
virtual bool isReference () const
 
virtual bool isSelfReferential () 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 OdGsEntityNodefirstEntity ()
 
virtual OdGsEntityNodefirstAttrib ()
 
void updateImpl (OdGsUpdateContext &ctx, const OdGiDrawable *pInsert, OdSiSpatialIndex *pParentIndex)
 
OdGsBlockNodeblockNode () const
 
void clearBlockNode ()
 
virtual void makeStock ()
 
virtual void releaseStock ()
 
virtual void propagateLayerChangesStock ()
 
void updateBlockNode (const OdGiDrawable *pBlockTableRecord)
 
voidsharedDefinition (const OdGsViewImpl &view)
 
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)
 
virtual bool getSharedTransform (OdGeMatrix3d &transform) const
 
virtual void invalidateBlockNode (OdGsContainerNode *pParent, OdGsViewImpl *pView, OdUInt32 mask, bool bRecursively=true)
 
- 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::Metafilemetafile (const OdGsViewImpl &view, OdGsUpdateContext *ctx, MetafileCompatibilityLevel findCompatibleLevel=kFindCompatible)
 
void setMetafile (OdGsUpdateContext &ctx, OdGsEntityNode::Metafile *metafiles)
 
OdRxObjectfindCompatibleCache (const OdGsViewImpl &keyView, OdGsUpdateContext *ctx, OdUInt32 awareMask=0)
 
OdRxObjectfindFirstGsMetafile (const OdGsViewImpl &view, bool *bContainsNested=nullptr, MetafileCompatibilityLevel findCompatibleLevel=kSkipCheckCompatible)
 
 ODRX_DECLARE_MEMBERS (OdGsEntityNode)
 
 OdGsEntityNode (OdGsBaseModel *pModel, const OdGiDrawable *pUnderlyingDrawable, bool bSetGsNode=false)
 
 ~OdGsEntityNode ()
 
void setNextEntity (OdGsEntityNode *pNextEntity)
 
void setNextEntity (OdUInt32 nVpId, OdGsEntityNode *pNextEntity)
 
OdGsEntityNodenextEntity ()
 
OdGsEntityNodenextEntity (OdUInt32 nVpId)
 
const OdGsEntityNodenextEntity () const
 
const OdGsEntityNodenextEntity (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 OdGeExtents3dextents () 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)
 
bool skipDisplayClipping () const
 
void setSkipDisplayClipping (bool bOn)
 
bool isXref () const
 
virtual void highlight (bool bDoIt, bool bWholeBranch, OdUInt32 nSelStyle=0)
 
void hide (bool bDoIt, bool bSelectable=false, bool bWholeBranch=true)
 
void setStateBranch (OdGsStateBranch *pBr)
 
void resetStateBranch (OdGsStateBranch::BranchType branchType=OdGsStateBranch::kHighlightingBranch)
 
OdGsStateBranchstateBranch (OdGsStateBranch::BranchType branchType=OdGsStateBranch::kHighlightingBranch)
 
const OdGsStateBranchstateBranch (OdGsStateBranch::BranchType branchType=OdGsStateBranch::kHighlightingBranch) const
 
bool hasAnyStateBranch () 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 transformExtents (OdGeExtents3d &ext, const OdGsStateBranch *pTransformBr=NULL, bool bInverse=false) const
 
void insertToSpatialIndex (OdUInt32 nVpId, OdSiSpatialIndex &parentIndex, const OdGeExtents3d &prevExtents)
 
void addContentToUpdateManager (OdUInt32 viewportId, OdGsUpdateManager *pManager, const UpdateManagerContext &context)
 
bool isMetafilesCompatible (const OdGsViewImpl *pView1, const OdGsViewImpl *pView2, OdGsUpdateContext *ctx)
 
- Public Member Functions inherited from OdGsNode
bool invalidVp () const
 
void setToDrawable (const OdGiDrawable *pUnderlyingDrawable)
 
 ODRX_DECLARE_MEMBERS (OdGsNode)
 
voidoperator new (size_t)
 
void operator delete (void *)
 
void addRef ()
 
void release () ODRX_NOEXCEPT
 
 OdGsNode (OdGsBaseModel *pModel, const OdGiDrawable *pUnderlyingDrawable)
 
virtual ~OdGsNode ()
 
OdGsBaseModelbaseModel () const
 
OdGsModelmodel () const
 
bool isContainer () const
 
bool isSyncDrawable () const
 
OdGiDrawablePtr underlyingDrawable () const
 
OdDbStub * underlyingDrawableId () const
 
bool isHighlighted () const
 
bool isHighlightedAll () const
 
bool isHidden () const
 
bool isSelectableIfHidden () const
 
bool isHiddenAll () const
 
OdUInt32 selectionStyle () const
 
bool hasSelectionStyle () const
 
OdUInt32 userFlags () const
 
void setUserFlags (OdUInt32 val)
 
 TD_USING (OdGsCache::extents)
 
bool modelExtents (OdGeExtents3d &ext, bool bUseModelTf=true) const
 
bool modelExtents (const OdGsView *pView, OdGeExtents3d &ext, bool bUseModelTf=true) const
 
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 OdRxObjectqueryX (const OdRxClass *pClass) const
 
virtual OdRxObjectx (const OdRxClass *pClass) const
 
virtual OdRxClassisA () 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 OdGsBlockReferenceNodecreate (OdGsBaseModel *pModel, const OdGiDrawable *pDrawable)
 
- Static Public Member Functions inherited from OdGsEntityNode
static voidAlloc (size_t nBytes)
 
static void Free (void *pMemBlock)
 
static voidRealloc (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 OdRxClassdesc ()
 
static void rxInit ()
 
static void rxUninit ()
 

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)
 
OdGsBlockReferenceNodeImplgetImpl (const OdGsViewImpl &view)
 
bool saveClientNodeState (OdGsFiler *pFiler, OdGsBaseVectorizer *pVectorizer) const
 
bool loadClientNodeState (OdGsFiler *pFiler, OdGsBaseVectorizer *pVectorizer)
 
bool postprocessNodeLoading (OdGsFiler *pFiler)
 
- Protected Member Functions inherited from OdGsEntityNode
MetafilePtrArraymetafileArray ()
 
const MetafilePtrArraymetafileArray () const
 
OdGsEntityNode::MetafilePtr metafile () const
 
void setExtentsFromMetafiles ()
 
bool findMetafileInStock (OdGsUpdateContext &ctx)
 
void setExtentsFlags ()
 
- Protected Member Functions inherited from OdGsNode
void setInvalidVp (bool val)
 
void clearDrawable ()
 
void setSelectionStyleImpl (OdUInt32 nStyle)
 
OdUInt32 getSelectionStyleImpl () const
 
 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
 
void setInvalid (OdUInt32 nVpID)
 

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< OdGsBlockReferenceNodeImplm_pImpl
 
OdGsBlockNodem_pBlockNode
 
OdGsEntityNodem_pFirstAttrib
 
- Protected Attributes inherited from OdGsEntityNode
OdGeExtents3d m_extents
 
OdGsStateBranchPtr m_stateBranch
 
MetafileHolder m_metafile
 
OdUInt32 m_entFlags
 
- Protected Attributes inherited from OdGsNode
OdGsNodem_pPrev
 
OdGsNodem_pNext
 
OdGsBaseModelm_pModel
 
voidm_underlyingDrawable
 
OdUInt32 m_flags
 
OdUInt32 m_userFlags
 

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) , kSkipDisplayClipping = (1 << 11) , kLastEntFlag = kSkipDisplayClipping
}
 
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 , kHiddenAll = 0x00000080 ,
  kSelStyle = 0x00000100 , kLastFlag = kSelStyle
}
 
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 231 of file GsBlockReferenceNode.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
kValid 
kBrExcludeFromViewExt 
kBrClipped 
kForceNotEmpty 
kBrOwnGeom 
kLastFlag 

Definition at line 242 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 307 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 521 of file GsBlockReferenceNode.h.

◆ create()

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

◆ destroy()

virtual void OdGsBlockReferenceNode::destroy ( )
virtual

Destroys node object.

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 254 of file GsBlockReferenceNode.h.

◆ firstAttrib()

virtual OdGsEntityNode * OdGsBlockReferenceNode::firstAttrib ( )
inlinevirtual

Reimplemented in OdGsMInsertBlockNode.

Definition at line 303 of file GsBlockReferenceNode.h.

◆ firstEntity()

virtual OdGsEntityNode * OdGsBlockReferenceNode::firstEntity ( )
virtual

Reimplemented in OdGsMInsertBlockNode.

◆ getImpl()

OdGsBlockReferenceNodeImpl * OdGsBlockReferenceNode::getImpl ( const OdGsViewImpl & view)
inlineprotected

Definition at line 379 of file GsBlockReferenceNode.h.

◆ getSharedTransform()

virtual bool OdGsBlockReferenceNode::getSharedTransform ( OdGeMatrix3d & transform) const
virtual

Retrieves transformation for the shared block reference.

Parameters
transform[out] A transformation.
Returns
True if block reference is shared and transformation was successfully retrieved, or false otherwise.

◆ 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.

◆ invalidateBlockNode()

virtual void OdGsBlockReferenceNode::invalidateBlockNode ( OdGsContainerNode * pParent,
OdGsViewImpl * pView,
OdUInt32 mask,
bool bRecursively = true )
virtual

Invalidates associated block cache node.

Parameters
pParent[in] Parent container node.
view[in] BaseVectorizeView object for which data are to be invalidated.
mask[in] Mask.
bRecursively[in] A flag that indicates whether nested reference should invalidate cache nodes or not.

◆ isEmpty()

virtual bool OdGsBlockReferenceNode::isEmpty ( )
virtual

Returns true if the node has no graphical content.

Reimplemented from OdGsEntityNode.

◆ isForceNotEmpty()

bool OdGsBlockReferenceNode::isForceNotEmpty ( ) const
inline

Definition at line 257 of file GsBlockReferenceNode.h.

◆ isMInsert()

virtual bool OdGsBlockReferenceNode::isMInsert ( ) const
inlinevirtual

Reimplemented in OdGsMInsertBlockNode.

Definition at line 316 of file GsBlockReferenceNode.h.

◆ isReference()

virtual bool OdGsBlockReferenceNode::isReference ( ) const
inlinevirtual

Reimplemented from OdGsEntityNode.

Definition at line 260 of file GsBlockReferenceNode.h.

◆ isSelfReferential()

virtual bool OdGsBlockReferenceNode::isSelfReferential ( ) const
virtual

Reimplemented from OdGsEntityNode.

◆ isValid()

bool OdGsBlockReferenceNode::isValid ( ) const
inline

Definition at line 252 of file GsBlockReferenceNode.h.

◆ layersChanged()

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

Checks whether at least one geometry portion of an metafile has a layer that changed.

Parameters
view[in] GS view.
Returns
true if one or more layers changed, false if all the layer are up to date.

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 355 of file GsBlockReferenceNode.h.

◆ ODRX_DECLARE_MEMBERS()

OdGsBlockReferenceNode::ODRX_DECLARE_MEMBERS ( OdGsBlockReferenceNode )

◆ playAsGeometry()

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

details Plays geometry metafile for specified vectorization view depending on playing mode.

Parameters
view[in] Vectorization view.
eMode[in] Playing mode.

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.

Parameters
view[in] View Implementation object.
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 255 of file GsBlockReferenceNode.h.

◆ setForceNotEmpty()

void OdGsBlockReferenceNode::setForceNotEmpty ( bool b)
inline

Definition at line 258 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 253 of file GsBlockReferenceNode.h.

◆ sharedDefinition()

void * OdGsBlockReferenceNode::sharedDefinition ( const OdGsViewImpl & view)

◆ 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 Symbol Documentation

◆ GsDrawableNested

friend class GsDrawableNested
friend

Definition at line 409 of file GsBlockReferenceNode.h.

◆ OdGsSpQueryContext

friend class OdGsSpQueryContext
friend

Definition at line 410 of file GsBlockReferenceNode.h.

◆ WorldDrawBlockRef

friend class WorldDrawBlockRef
friend

Definition at line 408 of file GsBlockReferenceNode.h.

Member Data Documentation

◆ m_pBlockNode

OdGsBlockNode* OdGsBlockReferenceNode::m_pBlockNode
protected

Definition at line 404 of file GsBlockReferenceNode.h.

◆ m_pFirstAttrib

OdGsEntityNode* OdGsBlockReferenceNode::m_pFirstAttrib
protected

Definition at line 406 of file GsBlockReferenceNode.h.

◆ m_pImpl

TPtr<OdGsBlockReferenceNodeImpl> OdGsBlockReferenceNode::m_pImpl
protected

Definition at line 402 of file GsBlockReferenceNode.h.


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