CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
Classes | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
OdGsMInsertBlockNode Class Reference

#include <GsBlockReferenceNode.h>

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

Classes

class  Collection
 
class  CollectionItem
 

Public Member Functions

 ODRX_DECLARE_MEMBERS (OdGsMInsertBlockNode)
 
 OdGsMInsertBlockNode (OdGsBaseModel *pModel, const OdGiDrawable *pInsert, bool bSetGsNode=false)
 
 ~OdGsMInsertBlockNode ()
 
virtual void invalidate (OdGsContainerNode *pParent, OdGsViewImpl *pView, OdUInt32 mask)
 
virtual void destroy ()
 
virtual void destroySubitems ()
 
virtual void highlight (bool bDoIt, bool bWholeBranch, OdUInt32 nSelStyle=0)
 
virtual OdGsEntityNode * firstEntity ()
 
virtual OdGsEntityNode * firstAttrib ()
 
virtual bool layersChanged (OdGsViewImpl &view) const
 
virtual void playAsGeometry (OdGsBaseVectorizer &view, EMetafilePlayMode eMode)
 
virtual void makeStock ()
 
virtual void releaseStock ()
 
virtual void propagateLayerChangesStock ()
 
virtual bool isMInsert () const
 
virtual void doUpdateImpl (OdGsUpdateContext &ctx, const OdGiDrawable *pBlockTableRecord, unsigned iInstance)
 
OdGsEntityNode *& firstAttrib (unsigned iInstance)
 
void stretchExtents ()
 
void setParams (const OdGeMatrix3d &blockTf, int nCols, int nRows, double sx, double sy)
 
virtual void doDisplay (OdGsDisplayContext &ctx)
 
virtual bool doSelect (OdGsBaseVectorizer &vect, OdGiDrawable *pDrw, OdSiSelBaseVisitor *pVisitor, OdGsView::SelectionMode mode)
 
- Public Member Functions inherited from OdGsBlockReferenceNode
 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 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 (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
 
- 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 OdUInt32 awareFlags (OdUInt32 viewportId) const
 
virtual ENodeType nodeType () const
 
virtual bool isReference () const
 
virtual bool isLight () const
 
virtual bool isSelfReferential () 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 isEmpty ()
 
virtual bool hasFrozenLayers ()
 
bool markedToSkip (unsigned mask)
 
void markToSkip (unsigned mask, bool markToSkip)
 
void markToSkipAll ()
 
void destroy ()
 
virtual bool layersChanged (OdGsViewImpl &view) const
 
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 setHlBranch (OdGsStateBranch *pBr)
 
OdGsStateBranch * hlBranch ()
 
const OdGsStateBranch * hlBranch () const
 
void hide (bool bDoIt, bool bSelectable=false, bool bWholeBranch=true)
 
void setVisibilityBranch (OdGsStateBranch *pBr)
 
OdGsStateBranch * visibilityBranch ()
 
const OdGsStateBranch * visibilityBranch () const
 
virtual void playAsGeometry (OdGsBaseVectorizer &view, EMetafilePlayMode eMode)
 
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
 
virtual void makeStock ()
 
virtual void releaseStock ()
 
virtual void propagateLayerChangesStock ()
 
bool saveNodeState (OdGsFiler *pFiler, OdGsBaseVectorizer *pVectorizer=NULL) const
 
bool loadNodeState (OdGsFiler *pFiler, OdGsBaseVectorizer *pVectorizer=NULL)
 
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)
 
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
 
virtual ENodeType nodeType () const =0
 
bool isSyncDrawable () const
 
virtual void invalidate (OdGsContainerNode *pParent, OdGsViewImpl *pView, OdUInt32 mask)=0
 
OdGiDrawablePtr underlyingDrawable () const
 
OdDbStub * underlyingDrawableId () const
 
virtual void update (OdGsUpdateContext &ctx, OdGsContainerNode *pParent, OdSiSpatialIndex *pParentIndex)=0
 
virtual void updateVisible (OdGsViewImpl *pViewImpl)
 
virtual void display (OdGsDisplayContext &ctx)=0
 
virtual void propagateLayerChanges (OdGsViewImpl &view)=0
 
virtual void highlight (bool bDoIt, bool bWholeBranch, OdUInt32 nSelStyle=0)
 
bool isHighlighted () const
 
bool isHighlightedAll () const
 
virtual void destroy ()=0
 
virtual void hide (bool bDoIt, bool bSelectable=false, bool bWholeBranch=true)
 
bool isHidden () const
 
bool isSelectableIfHidden () const
 
bool isHiddenAll () const
 
OdUInt32 selectionStyle () const
 
bool hasSelectionStyle () const
 
OdUInt32 userFlags () const
 
void setUserFlags (OdUInt32 val)
 
virtual bool saveNodeState (OdGsFiler *pFiler, OdGsBaseVectorizer *pVectorizer=NULL) const
 
virtual bool loadNodeState (OdGsFiler *pFiler, OdGsBaseVectorizer *pVectorizer=NULL)
 
virtual bool saveClientNodeState (OdGsFiler *pFiler, OdGsBaseVectorizer *pVectorizer) const
 
virtual bool loadClientNodeState (OdGsFiler *pFiler, OdGsBaseVectorizer *pVectorizer)
 
virtual bool postprocessNodeLoading (OdGsFiler *pFiler)
 
 TD_USING (OdGsCache::extents)
 
virtual bool extents (const OdGsView *pView, OdGeExtents3d &ext) const
 
bool modelExtents (OdGeExtents3d &ext, bool bUseModelTf=true) const
 
bool modelExtents (const OdGsView *pView, OdGeExtents3d &ext, bool bUseModelTf=true) const
 
virtual OdDb::LineWeight getMaxLineweightUsed () const
 
virtual void setDrawableNull ()
 
virtual void addContentToUpdateManager (OdUInt32 viewportId, OdGsUpdateManager *pManager, const UpdateManagerContext &context)
 
virtual bool isMetafilesCompatible (const OdGsViewImpl *pView1, const OdGsViewImpl *pView2, OdGsUpdateContext *ctx)
 
- Public Member Functions inherited from OdGsCache
 ODRX_DECLARE_MEMBERS (OdGsCache)
 
virtual OdGsModel * model () const =0
 
virtual void setDrawableNull ()=0
 
virtual bool extents (OdGeExtents3d &extents) const =0
 
- 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 void addRef ()=0
 
virtual void release ()=0
 
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
 
virtual bool extents (OdGeExtents3d &extents) const =0
 

Static Public Member Functions

static void actionStretchExtents (void *pObj, OdGsUpdateState &state)
 
- Static Public Member Functions inherited from OdGsBlockReferenceNode
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

void destroyCollection ()
 
bool selectSubitems (OdGsBaseVectorizer &view, OdSiSelBaseVisitor *pVisitor, OdGsView::SelectionMode mode)
 
bool selectAttributes (OdGsBaseVectorizer &view)
 
OdGsBlockReferenceNodeImpl * getImpl (unsigned iInstance)
 
CollectionItem * item (unsigned iInstance)
 
void clearParams ()
 
bool saveClientNodeState (OdGsFiler *pFiler, OdGsBaseVectorizer *pVectorizer) const
 
bool loadClientNodeState (OdGsFiler *pFiler, OdGsBaseVectorizer *pVectorizer)
 
bool postprocessNodeLoading (OdGsFiler *pFiler)
 
- Protected Member Functions inherited from OdGsBlockReferenceNode
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)
 
OdGsBlockReferenceNodeImpl * getImpl (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
virtual void propagateLayerChanges (OdGsViewImpl &view)
 
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 ()
 
- 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
 

Protected Attributes

Collection * m_pCollectionImpl
 
OdGeMatrix3d m_xModelToWorld
 
OdGeMatrix3d m_blockTf
 
int m_nCols
 
int m_nRows
 
double m_sx
 
double m_sy
 
- Protected Attributes inherited from OdGsBlockReferenceNode
TPtr< OdGsBlockReferenceNodeImpl > m_pImpl
 
OdGsBlockNode * m_pBlockNode
 
OdGsEntityNode * m_pFirstAttrib
 
- Protected Attributes inherited from OdGsEntityNode
OdGeExtents3d m_extents
 
OdGsStateBranchPtr m_hlBranch
 
OdGsStateBranchPtr m_visBranch
 
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
 
OdUInt32 m_userFlags
 

Additional Inherited Members

- Public Types inherited from OdGsBlockReferenceNode
enum  {
  kValid = OdGsEntityNode::kLastFlag << 1 , kBrExcludeFromViewExt = OdGsEntityNode::kLastFlag << 2 , kBrClipped = OdGsEntityNode::kLastFlag << 3 , kForceNotEmpty = OdGsEntityNode::kLastFlag << 4 ,
  kLastFlag = kForceNotEmpty
}
 
- Public Types inherited from OdGsEntityNode
enum  MetafileCompatibilityLevel { kSkipCheckCompatible = 0 , kCheckViewChanges = 1 , kCheckCompatibleView = 2 , kFindCompatible = 3 }
 
typedef OdSmartPtr< Metafile > MetafilePtr
 
- 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 Member Functions inherited from OdGsBlockReferenceNode
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)
 
- 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 402 of file GsBlockReferenceNode.h.

Constructor & Destructor Documentation

◆ OdGsMInsertBlockNode()

OdGsMInsertBlockNode::OdGsMInsertBlockNode ( OdGsBaseModel *  pModel,
const OdGiDrawable *  pInsert,
bool  bSetGsNode = false 
)

◆ ~OdGsMInsertBlockNode()

OdGsMInsertBlockNode::~OdGsMInsertBlockNode ( )

Member Function Documentation

◆ actionStretchExtents()

static void OdGsMInsertBlockNode::actionStretchExtents ( void *  pObj,
OdGsUpdateState &  state 
)
static

◆ clearParams()

void OdGsMInsertBlockNode::clearParams ( )
inlineprotected

Definition at line 486 of file GsBlockReferenceNode.h.

◆ destroy()

virtual void OdGsMInsertBlockNode::destroy ( )
virtual

Reimplemented from OdGsBlockReferenceNode.

◆ destroyCollection()

void OdGsMInsertBlockNode::destroyCollection ( )
protected

◆ destroySubitems()

virtual void OdGsMInsertBlockNode::destroySubitems ( )
virtual

Reimplemented from OdGsBlockReferenceNode.

◆ doDisplay()

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

Reimplemented from OdGsBlockReferenceNode.

◆ doSelect()

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

Reimplemented from OdGsBlockReferenceNode.

◆ doUpdateImpl()

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

Reimplemented from OdGsBlockReferenceNode.

◆ firstAttrib() [1/2]

virtual OdGsEntityNode * OdGsMInsertBlockNode::firstAttrib ( )
virtual

Reimplemented from OdGsBlockReferenceNode.

◆ firstAttrib() [2/2]

OdGsEntityNode *& OdGsMInsertBlockNode::firstAttrib ( unsigned  iInstance)
inline

Definition at line 427 of file GsBlockReferenceNode.h.

◆ firstEntity()

virtual OdGsEntityNode * OdGsMInsertBlockNode::firstEntity ( )
virtual

Reimplemented from OdGsBlockReferenceNode.

◆ getImpl()

OdGsBlockReferenceNodeImpl * OdGsMInsertBlockNode::getImpl ( unsigned  iInstance)
inlineprotected

Definition at line 484 of file GsBlockReferenceNode.h.

◆ highlight()

virtual void OdGsMInsertBlockNode::highlight ( bool  bDoIt,
bool  bWholeBranch,
OdUInt32  nSelStyle = 0 
)
virtual

Highlights or unhighlights this node and the branch of child node, if specified.

Parameters
bDoIt[in] Flag that specifies whether to highlight this entity node.
bWholeBranch[in] Flag that specifies whether to highlight or unhighlight a branch of subentities and nested entities, if specified with setHlBranch method.
nSelStyle[in] Optional selection style index.

Reimplemented from OdGsEntityNode.

◆ invalidate()

virtual void OdGsMInsertBlockNode::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.

Reimplemented from OdGsBlockReferenceNode.

◆ isMInsert()

virtual bool OdGsMInsertBlockNode::isMInsert ( ) const
inlinevirtual

Reimplemented from OdGsBlockReferenceNode.

Definition at line 424 of file GsBlockReferenceNode.h.

◆ item()

CollectionItem * OdGsMInsertBlockNode::item ( unsigned  iInstance)
protected

◆ layersChanged()

virtual bool OdGsMInsertBlockNode::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 OdGsBlockReferenceNode.

◆ loadClientNodeState()

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

Reimplemented from OdGsBlockReferenceNode.

◆ makeStock()

virtual void OdGsMInsertBlockNode::makeStock ( )
virtual

Reimplemented from OdGsBlockReferenceNode.

◆ ODRX_DECLARE_MEMBERS()

OdGsMInsertBlockNode::ODRX_DECLARE_MEMBERS ( OdGsMInsertBlockNode  )

◆ playAsGeometry()

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

Reimplemented from OdGsBlockReferenceNode.

◆ postprocessNodeLoading()

bool OdGsMInsertBlockNode::postprocessNodeLoading ( OdGsFiler *  pFiler)
protectedvirtual

Reimplemented from OdGsBlockReferenceNode.

◆ propagateLayerChangesStock()

virtual void OdGsMInsertBlockNode::propagateLayerChangesStock ( )
virtual

Reimplemented from OdGsBlockReferenceNode.

◆ releaseStock()

virtual void OdGsMInsertBlockNode::releaseStock ( )
virtual

Reimplemented from OdGsBlockReferenceNode.

◆ saveClientNodeState()

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

Reimplemented from OdGsBlockReferenceNode.

◆ selectAttributes()

bool OdGsMInsertBlockNode::selectAttributes ( OdGsBaseVectorizer &  view)
protected

◆ selectSubitems()

bool OdGsMInsertBlockNode::selectSubitems ( OdGsBaseVectorizer &  view,
OdSiSelBaseVisitor *  pVisitor,
OdGsView::SelectionMode  mode 
)
protected

◆ setParams()

void OdGsMInsertBlockNode::setParams ( const OdGeMatrix3d &  blockTf,
int  nCols,
int  nRows,
double  sx,
double  sy 
)
inline

Definition at line 429 of file GsBlockReferenceNode.h.

◆ stretchExtents()

void OdGsMInsertBlockNode::stretchExtents ( )

Member Data Documentation

◆ m_blockTf

OdGeMatrix3d OdGsMInsertBlockNode::m_blockTf
protected

Definition at line 497 of file GsBlockReferenceNode.h.

◆ m_nCols

int OdGsMInsertBlockNode::m_nCols
protected

Definition at line 498 of file GsBlockReferenceNode.h.

◆ m_nRows

int OdGsMInsertBlockNode::m_nRows
protected

Definition at line 499 of file GsBlockReferenceNode.h.

◆ m_pCollectionImpl

Collection* OdGsMInsertBlockNode::m_pCollectionImpl
protected

Definition at line 495 of file GsBlockReferenceNode.h.

◆ m_sx

double OdGsMInsertBlockNode::m_sx
protected

Definition at line 500 of file GsBlockReferenceNode.h.

◆ m_sy

double OdGsMInsertBlockNode::m_sy
protected

Definition at line 501 of file GsBlockReferenceNode.h.

◆ m_xModelToWorld

OdGeMatrix3d OdGsMInsertBlockNode::m_xModelToWorld
protected

Definition at line 496 of file GsBlockReferenceNode.h.


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