CFx SDK Documentation  2023 SP0
Classes | Public Types | Public Member Functions | Static Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes | Friends | List of all members
OdGsEntityNode Class Reference

#include <GsEntityNode.h>

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

Classes

class  Metafile
 
class  MetafileEx
 
class  MetafileHolder
 
class  MetafilePtrArray
 

Public Types

enum  MetafileCompatibilityLevel { kSkipCheckCompatible = 0 , kCheckViewChanges = 1 , kCheckCompatibleView = 2 , kFindCompatible = 3 }
 
typedef OdSmartPtr< MetafileMetafilePtr
 

Public Member Functions

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)
 
 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 OdUInt32 awareFlags (OdUInt32 viewportId) const
 
virtual ENodeType nodeType () const
 
virtual bool isReference () 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 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)
 
virtual void highlight (bool bDoIt, bool bWholeBranch)
 
void setHlBranch (OdGsHlBranch *pBr)
 
OdGsHlBranchhlBranch ()
 
const OdGsHlBranchhlBranch () 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)
 
- 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 ()
 
 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
 
void hide (bool bDoIt)
 
bool isHidden () const
 
void setSelectableIfHidden (bool bSelectable)
 
bool isSelectableIfHidden () const
 
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 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 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 ()
 

Protected Types

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 Member Functions

virtual void propagateLayerChanges (OdGsViewImpl &view)
 
MetafilePtrArraymetafileArray ()
 
const MetafilePtrArraymetafileArray () 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 Attributes

OdGeExtents3d m_extents
 
OdGsHlBranchPtr m_hlBranch
 
MetafileHolder m_metafile
 
OdUInt32 m_entFlags
 
- Protected Attributes inherited from OdGsNode
OdGsNodem_pPrev
 
OdGsNodem_pNext
 
OdGsBaseModelm_pModel
 
voidm_underlyingDrawable
 
OdUInt32 m_flags
 

Friends

class Metafile
 
class OdGsModuleObject
 
class OdGsBlockReferenceNode
 

Additional Inherited Members

- Static Protected Attributes inherited from OdGsNode
static GS_STATIC_EXPORT AllocatorArray s_aAlloc
 

Detailed Description

This class implements OdGsNode descendant objects that can serve as containers for other OdGsNode objects.

Corresponding C++ library: TD_Gs <group OdGs_Classes>

Definition at line 102 of file GsEntityNode.h.

Member Typedef Documentation

◆ MetafilePtr

This template class is a specialization of the OdSmartPtr class for Metafile object pointers.

Definition at line 150 of file GsEntityNode.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
protected
Enumerator
kHasExtents 
kSpatiallyIndexed 
kInWorkset 
kSingleThreaded 
kOwned 
kDrawableRegenDraw 
kEntityUnerased 
kInvisible 
kExtentsOutOfMS 
kNonSelectable 
kSkipSelection 
kErased 
kDrawableIsXref 
kMultilistNextPtr 
kLastFlag 

Definition at line 463 of file GsEntityNode.h.

◆ anonymous enum

anonymous enum
protected
Enumerator
kLineweightBit1 
kLineweightBit2 
kLineweightOffset 
kLineweightBit3 
kLineweightBit4 
kLineweightBit5 
kLineweightBit6 
kLineweightBit7 
kLineweightBit8 
kLineweightBitMask 
kLightSourceOwner 
kRegenOnHighlight 
kMarkedByUpdateManager 
kLastEntFlag 

Definition at line 482 of file GsEntityNode.h.

◆ anonymous enum

anonymous enum
protected
Enumerator
kMarkedToSkipFirst 
kMarkedToSkipLast 
kMarkedToSkipAll 

Definition at line 499 of file GsEntityNode.h.

◆ MetafileCompatibilityLevel

This enumeration used with OdGsEntityNode::metafile method.

Enumerator
kSkipCheckCompatible 
kCheckViewChanges 
kCheckCompatibleView 
kFindCompatible 

Definition at line 438 of file GsEntityNode.h.

Constructor & Destructor Documentation

◆ OdGsEntityNode()

OdGsEntityNode::OdGsEntityNode ( OdGsBaseModel pModel,
const OdGiDrawable pUnderlyingDrawable,
bool  bSetGsNode = false 
)
Parameters
pModel[in] Pointer to the BaseModel object.
pUnderlyingDrawable[in] Pointer to the underlying Drawable object.

◆ ~OdGsEntityNode()

OdGsEntityNode::~OdGsEntityNode ( )

Member Function Documentation

◆ addContentToUpdateManager()

void OdGsEntityNode::addContentToUpdateManager ( OdUInt32  viewportId,
OdGsUpdateManager pManager,
const UpdateManagerContext context 
)
virtual

Adds content of node to the update manager

Parameters
viewportId[in] Id of viewport
pManager[in] Pointer to the Update Manager instance
context[in] UpdateManagerContext that specify what values should be initialized

Reimplemented from OdGsNode.

◆ addMaxLineweightUsed()

void OdGsEntityNode::addMaxLineweightUsed ( OdDb::LineWeight  lwd)
inline

Definition at line 1097 of file GsEntityNode.h.

◆ Alloc()

static void* OdGsEntityNode::Alloc ( size_t  nBytes)
inlinestatic

Definition at line 188 of file GsEntityNode.h.

◆ awareFlags()

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

Returns the Aware flags for the specified Viewport for this ContainerNode object.

Parameters
viewportId[in] Viewport ID.
Remarks
awareFlags() returns a combination of zero or more of the following:

Value kSuppressViewportDraw 0x01 kDrawInvisibleEnts 0x02 kDrawLayerOff 0x04 kDrawLayerFrozen 0x08 kIgnoreFillPlane 0x10 kFillPlaneSet 0x20

Reimplemented in OdGsBlockReferenceNode.

◆ convertToViewportDependent()

void OdGsEntityNode::convertToViewportDependent ( const OdGsUpdateContext &  ctx)

Convert a RegenType dependent cache to Viewport dependent cache.

Parameters
ctx[in] Current update context.

◆ destroy()

void OdGsEntityNode::destroy ( )
inlinevirtual

Implements OdGsNode.

Definition at line 688 of file GsEntityNode.h.

◆ display()

void OdGsEntityNode::display ( OdGsDisplayContext &  ctx)
virtual

Paints the specified view with the cached data associated with this Node object.

Parameters
view[in] View to be painted.

Implements OdGsNode.

◆ enableMultipleNextEntities()

void OdGsEntityNode::enableMultipleNextEntities ( OdUInt32  nMaxVpId)
inline

Enable multiple entity links.

Definition at line 782 of file GsEntityNode.h.

◆ entityUnerased()

bool OdGsEntityNode::entityUnerased ( ) const
inline

Definition at line 961 of file GsEntityNode.h.

◆ extents() [1/3]

const OdGeExtents3d & OdGsEntityNode::extents ( ) const
inline

Definition at line 833 of file GsEntityNode.h.

◆ extents() [2/3]

bool OdGsEntityNode::extents ( const OdGsView pView,
OdGeExtents3d ext 
) const
virtual

Reimplemented from OdGsNode.

◆ extents() [3/3]

bool OdGsEntityNode::extents ( OdGeExtents3d extents) const
virtual

Returns the extents of this Entity object.

Parameters
extents[out] Receives the extents.
Returns
Returns true if and only if this Entity object has extents.

Implements OdSiEntity.

◆ extentsToPixels()

OdGsDCRect OdGsEntityNode::extentsToPixels ( const OdGeExtents3d ext,
OdGsViewImpl pViewImpl 
)
protected

◆ findCompatibleCache()

OdRxObject* OdGsEntityNode::findCompatibleCache ( const OdGsViewImpl keyView,
OdGsUpdateContext *  ctx,
OdUInt32  awareMask = 0 
)

◆ findMetafileInStock()

bool OdGsEntityNode::findMetafileInStock ( OdGsUpdateContext &  ctx)
protected

◆ Free()

static void OdGsEntityNode::Free ( void pMemBlock)
inlinestatic

Definition at line 189 of file GsEntityNode.h.

◆ getEmptyMetafile()

static OdGsEntityNode::MetafilePtr OdGsEntityNode::getEmptyMetafile ( OdUInt32  flags,
OdGsLayerNode pLayerNode = NULL 
)
static

◆ getMaxLineweightUsed()

OdDb::LineWeight OdGsEntityNode::getMaxLineweightUsed ( ) const
inlinevirtual

Reimplemented from OdGsNode.

Definition at line 1092 of file GsEntityNode.h.

◆ hasExtents()

bool OdGsEntityNode::hasExtents ( ) const
inline

Returns true if and only if the underlying GiDrawable object(s) have extents.

Definition at line 828 of file GsEntityNode.h.

◆ hasFrozenLayers()

virtual bool OdGsEntityNode::hasFrozenLayers ( )
virtual

Returns true if the node has no graphical content.

◆ highlight()

void OdGsEntityNode::highlight ( bool  bDoIt,
bool  bWholeBranch 
)
inlinevirtual

Reimplemented from OdGsNode.

Reimplemented in OdGsMInsertBlockNode.

Definition at line 1079 of file GsEntityNode.h.

◆ hlBranch() [1/2]

OdGsHlBranch* OdGsEntityNode::hlBranch ( )
inline

Definition at line 710 of file GsEntityNode.h.

◆ hlBranch() [2/2]

const OdGsHlBranch* OdGsEntityNode::hlBranch ( ) const
inline

Definition at line 711 of file GsEntityNode.h.

◆ insertToSpatialIndex()

void OdGsEntityNode::insertToSpatialIndex ( OdUInt32  nVpId,
OdSiSpatialIndex parentIndex,
const OdGeExtents3d prevExtents 
)
protected

◆ invalidate()

void OdGsEntityNode::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 OdGsLightNode.

◆ isEmpty()

virtual bool OdGsEntityNode::isEmpty ( )
virtual

Returns true if the node has no graphical content.

Reimplemented in OdGsBlockReferenceNode.

◆ isExtentsOutOfModelSpace()

bool OdGsEntityNode::isExtentsOutOfModelSpace ( ) const
inline

Definition at line 1024 of file GsEntityNode.h.

◆ isInvisible()

bool OdGsEntityNode::isInvisible ( ) const
inline

Definition at line 971 of file GsEntityNode.h.

◆ isInWorkset()

bool OdGsEntityNode::isInWorkset ( ) const
inline

Definition at line 1049 of file GsEntityNode.h.

◆ isLight()

virtual bool OdGsEntityNode::isLight ( ) const
inlinevirtual

Reimplemented in OdGsLightNode.

Definition at line 579 of file GsEntityNode.h.

◆ isLightSourceOwner()

bool OdGsEntityNode::isLightSourceOwner ( ) const
inline

Definition at line 1039 of file GsEntityNode.h.

◆ isMarkedErased()

bool OdGsEntityNode::isMarkedErased ( ) const
inline

Definition at line 1004 of file GsEntityNode.h.

◆ isMarkedSkipSelection()

bool OdGsEntityNode::isMarkedSkipSelection ( ) const
inline

Definition at line 994 of file GsEntityNode.h.

◆ isReference()

virtual bool OdGsEntityNode::isReference ( ) const
inlinevirtual

Reimplemented in OdGsBlockReferenceNode.

Definition at line 578 of file GsEntityNode.h.

◆ isRegenOnDraw()

bool OdGsEntityNode::isRegenOnDraw ( ) const
inline

Definition at line 1069 of file GsEntityNode.h.

◆ isRequireRegenOnHighlightChange()

bool OdGsEntityNode::isRequireRegenOnHighlightChange ( ) const
inline

Definition at line 1044 of file GsEntityNode.h.

◆ isSingleThreaded()

bool OdGsEntityNode::isSingleThreaded ( ) const
inline

Definition at line 1059 of file GsEntityNode.h.

◆ layersChanged()

virtual bool OdGsEntityNode::layersChanged ( OdGsViewImpl view) const
virtual

◆ loadNodeState()

bool OdGsEntityNode::loadNodeState ( OdGsFiler pFiler,
OdGsBaseVectorizer pVectorizer = NULL 
)
virtual

Reimplemented from OdGsNode.

◆ makeStock()

virtual void OdGsEntityNode::makeStock ( )
virtual

◆ markAsNonSelectable()

void OdGsEntityNode::markAsNonSelectable ( bool  val)
inline

Definition at line 989 of file GsEntityNode.h.

◆ markedAsNonSelectable()

bool OdGsEntityNode::markedAsNonSelectable ( ) const
inline

Definition at line 984 of file GsEntityNode.h.

◆ markedByUpdateManager()

bool OdGsEntityNode::markedByUpdateManager ( ) const
inline

Returns true if and only if this EntityNode object is marked by Update Manager.

Definition at line 1112 of file GsEntityNode.h.

◆ markedToSkip()

bool OdGsEntityNode::markedToSkip ( unsigned  mask)
inline

Returns true if and only if this EntityNode object is marked to be skipped with the given mask (thread).

Definition at line 838 of file GsEntityNode.h.

◆ markErased()

void OdGsEntityNode::markErased ( bool  val)
inline

Definition at line 1009 of file GsEntityNode.h.

◆ markSkipSelection()

void OdGsEntityNode::markSkipSelection ( bool  val)
inline

Definition at line 999 of file GsEntityNode.h.

◆ markToSkip()

void OdGsEntityNode::markToSkip ( unsigned  mask,
bool  markToSkip 
)
inline

Controls the MarkToSkip status of this EntityNode object.

Parameters
markToSkip[in] Controls MarkToSkip.
mask[in] the mask(thread).

Definition at line 849 of file GsEntityNode.h.

◆ markToSkipAll()

void OdGsEntityNode::markToSkipAll ( )
inline

Definition at line 866 of file GsEntityNode.h.

◆ markToSkipMask()

static unsigned OdGsEntityNode::markToSkipMask ( OdUInt32  threadIndex)
inlinestatic

Definition at line 682 of file GsEntityNode.h.

◆ metafile() [1/2]

OdGsEntityNode::MetafilePtr OdGsEntityNode::metafile ( ) const
inlineprotected

Returns the array the objects in the metafile array of this EntityNode object.

Definition at line 944 of file GsEntityNode.h.

◆ metafile() [2/2]

OdGsEntityNode::Metafile* OdGsEntityNode::metafile ( const OdGsViewImpl view,
OdGsUpdateContext *  ctx,
MetafileCompatibilityLevel  findCompatibleLevel = kFindCompatible 
)

Returns metafile pointer compatible with requrested view configuration.

Parameters
view[in] View object for which metafile is to be returned.
ctx[in] Current update context.
bFindCompatible[in] Check for viewport changes if and only if true.

◆ metafileArray() [1/2]

OdGsEntityNode::MetafilePtrArray & OdGsEntityNode::metafileArray ( )
inlineprotected

Returns a reference to the metafile array of this EntityNode object as an array of MetafilePtr.

Definition at line 934 of file GsEntityNode.h.

◆ metafileArray() [2/2]

const OdGsEntityNode::MetafilePtrArray & OdGsEntityNode::metafileArray ( ) const
inlineprotected

Returns a reference to the metafile array of this EntityNode object as an array of MetafilePtr.

Definition at line 939 of file GsEntityNode.h.

◆ metafileAt()

OdGsEntityNode::MetafilePtr OdGsEntityNode::metafileAt ( int  metafileIndex) const
inline

Returns the specified MetafilePtr from the metafile array of this EntityNode object.

Parameters
metafileIndex[in] Metafile index.

Definition at line 949 of file GsEntityNode.h.

◆ nextEntity() [1/4]

OdGsEntityNode * OdGsEntityNode::nextEntity ( )
inline

Returns the next entity for this EntityNode object.

Parameters
nVpId[in] Viewport ID.

Definition at line 789 of file GsEntityNode.h.

◆ nextEntity() [2/4]

const OdGsEntityNode * OdGsEntityNode::nextEntity ( ) const
inline

Returns the next entity for this EntityNode object.

Parameters
nVpId[in] Viewport ID.

Definition at line 805 of file GsEntityNode.h.

◆ nextEntity() [3/4]

OdGsEntityNode * OdGsEntityNode::nextEntity ( OdUInt32  nVpId)
inline

Definition at line 796 of file GsEntityNode.h.

◆ nextEntity() [4/4]

const OdGsEntityNode * OdGsEntityNode::nextEntity ( OdUInt32  nVpId) const
inline

Definition at line 812 of file GsEntityNode.h.

◆ nodeType()

virtual ENodeType OdGsEntityNode::nodeType ( ) const
inlinevirtual

Implements OdGsNode.

Definition at line 576 of file GsEntityNode.h.

◆ numNextEntity()

OdUInt32 OdGsEntityNode::numNextEntity ( ) const
inline

Returns number of next entities.

Definition at line 821 of file GsEntityNode.h.

◆ ODRX_DECLARE_MEMBERS()

OdGsEntityNode::ODRX_DECLARE_MEMBERS ( OdGsEntityNode  )

◆ owned() [1/2]

bool OdGsEntityNode::owned ( ) const
inline

Returns true if and only if this EntityNode object is the child of a ContainerNode object.

Definition at line 903 of file GsEntityNode.h.

◆ owned() [2/2]

bool OdGsEntityNode::owned ( OdUInt32  nVpId) const
inline

Returns true if and only if this EntityNode object is the child of a ContainerNode object.

Parameters
nVpId[in] Viewport ID.

Definition at line 910 of file GsEntityNode.h.

◆ playAsGeometry()

virtual void OdGsEntityNode::playAsGeometry ( OdGsBaseVectorizer view,
EMetafilePlayMode  eMode 
)
virtual

◆ propagateLayerChanges()

virtual void OdGsEntityNode::propagateLayerChanges ( OdGsViewImpl view)
protectedvirtual

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.

Implements OdGsNode.

Reimplemented in OdGsBlockReferenceNode.

◆ propagateLayerChangesStock()

virtual void OdGsEntityNode::propagateLayerChangesStock ( )
virtual

◆ Realloc()

static void* OdGsEntityNode::Realloc ( void pMemBlock,
size_t  newSize,
size_t   
)
inlinestatic

Definition at line 190 of file GsEntityNode.h.

◆ regenMetafile()

virtual OdGsEntityNode::MetafilePtr OdGsEntityNode::regenMetafile ( OdGsUpdateContext &  ctx,
OdUInt32  vpDepFlags 
)
virtual

◆ releaseStock()

virtual void OdGsEntityNode::releaseStock ( )
virtual

◆ resetInvalidVpFlag()

void OdGsEntityNode::resetInvalidVpFlag ( )
inline

Definition at line 976 of file GsEntityNode.h.

◆ saveNodeState()

bool OdGsEntityNode::saveNodeState ( OdGsFiler pFiler,
OdGsBaseVectorizer pVectorizer = NULL 
) const
virtual

Reimplemented from OdGsNode.

◆ select()

void OdGsEntityNode::select ( OdGsBaseVectorizer view)

◆ setAsLightSourceOwner()

void OdGsEntityNode::setAsLightSourceOwner ( bool  bSet)
inline

Definition at line 1034 of file GsEntityNode.h.

◆ setEntityUnerased()

void OdGsEntityNode::setEntityUnerased ( bool  flag)
inline

Definition at line 966 of file GsEntityNode.h.

◆ setExtentsFlags()

void OdGsEntityNode::setExtentsFlags ( )
inlineprotected

Definition at line 1086 of file GsEntityNode.h.

◆ setExtentsFromMetafiles()

void OdGsEntityNode::setExtentsFromMetafiles ( )
protected

◆ setExtentsOutOfModelSpace()

void OdGsEntityNode::setExtentsOutOfModelSpace ( bool  flag)
inline

Definition at line 1029 of file GsEntityNode.h.

◆ setHlBranch()

void OdGsEntityNode::setHlBranch ( OdGsHlBranch pBr)
inline

Definition at line 709 of file GsEntityNode.h.

◆ setInWorkset()

void OdGsEntityNode::setInWorkset ( bool  val)
inline

Definition at line 1054 of file GsEntityNode.h.

◆ setMarkedByUpdateManager()

void OdGsEntityNode::setMarkedByUpdateManager ( bool  marked)
inline

Controls the marking by Update Manager status of this EntityNode object.

Parameters
marked[in] Controls marked status.

Definition at line 1117 of file GsEntityNode.h.

◆ setMaxLineweightUsed()

void OdGsEntityNode::setMaxLineweightUsed ( OdDb::LineWeight  lwd)
inline

Definition at line 1107 of file GsEntityNode.h.

◆ setMetafile() [1/2]

void OdGsEntityNode::setMetafile ( OdGsEntityNode::Metafile metafiles)
inline

Sets the metafile array for this EntityNode object from the specified array of objects.

Parameters
metafiles[in] Array of metafile objects.

Definition at line 956 of file GsEntityNode.h.

◆ setMetafile() [2/2]

void OdGsEntityNode::setMetafile ( OdGsUpdateContext &  ctx,
OdGsEntityNode::Metafile metafiles 
)

Sets metafile for current view configuration.

Parameters
ctx[in] Current update context.
metafiles[in] Pointer onto new metafile object.

◆ setMetafileAt()

void OdGsEntityNode::setMetafileAt ( int  metafileIndex,
OdGsEntityNode::Metafile pMetafile 
)

Sets the specified entry in the metafile array of this EntityNode object.

Parameters
metafileIndex[in] Metafile index.
pMetafile[in] Pointer to the Metafile object

◆ setNextEntity() [1/2]

void OdGsEntityNode::setNextEntity ( OdGsEntityNode pNextEntity)
inline

Sets the next entity for this EntityNode object to the specified EntityNode object.

Parameters
pNextEntity[in] Pointer to the next EntityNode.

Definition at line 767 of file GsEntityNode.h.

◆ setNextEntity() [2/2]

void OdGsEntityNode::setNextEntity ( OdUInt32  nVpId,
OdGsEntityNode pNextEntity 
)
inline

Sets the next entity for this EntityNode object to the specified EntityNode object.

Parameters
pNextEntity[in] Pointer to the next EntityNode.
nVpId[in] Viewport ID.

Definition at line 774 of file GsEntityNode.h.

◆ setOwned() [1/2]

void OdGsEntityNode::setOwned ( bool  owned)
inline

Controls the owned status of this EntityNode object.

Parameters
owned[in] Controls owned status.

Definition at line 919 of file GsEntityNode.h.

◆ setOwned() [2/2]

void OdGsEntityNode::setOwned ( OdUInt32  nVpId,
bool  owned 
)
inline

Controls the owned status of this EntityNode object.

Parameters
nVpId[in] Viewport ID.
owned[in] Controls owned status.

Definition at line 926 of file GsEntityNode.h.

◆ setRegenOnDraw()

void OdGsEntityNode::setRegenOnDraw ( bool  val)
inline

Definition at line 1074 of file GsEntityNode.h.

◆ setSingleThreaded()

void OdGsEntityNode::setSingleThreaded ( bool  val)
inline

Definition at line 1064 of file GsEntityNode.h.

◆ setSpatiallyIndexed() [1/2]

void OdGsEntityNode::setSpatiallyIndexed ( bool  spatiallyIndexed)
inline

Controls the spatial indexing of this EntityNode object.

Parameters
spatiallyIndexed[in] Controls spatially indexed.

Definition at line 888 of file GsEntityNode.h.

◆ setSpatiallyIndexed() [2/2]

void OdGsEntityNode::setSpatiallyIndexed ( OdUInt32  nVpId,
bool  spatiallyIndexed 
)
inline

Controls the spatial indexing of this EntityNode object.

Parameters
nVpId[in] Viewport ID.
spatiallyIndexed[in] Controls spatially indexed.

Definition at line 895 of file GsEntityNode.h.

◆ spatiallyIndexed() [1/2]

bool OdGsEntityNode::spatiallyIndexed ( ) const
inline

Returns true if and only if this EntityNode object is spatially indexed.

Parameters
nVpId[in] Viewport ID.

Definition at line 872 of file GsEntityNode.h.

◆ spatiallyIndexed() [2/2]

bool OdGsEntityNode::spatiallyIndexed ( OdUInt32  nVpId) const
inline

Returns true if and only if this EntityNode object is spatially indexed.

Parameters
nVpId[in] Viewport ID.

Definition at line 879 of file GsEntityNode.h.

◆ update()

void OdGsEntityNode::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.

Reimplemented in OdGsLightNode.

◆ updateVisible()

void OdGsEntityNode::updateVisible ( OdGsViewImpl pViewImpl)
virtual

Updates the cached data if Node object is visible in specified view

Parameters
pViewImpl[in] pointer to the View Implementation

Reimplemented from OdGsNode.

Friends And Related Function Documentation

◆ Metafile

friend class Metafile
friend

Definition at line 145 of file GsEntityNode.h.

◆ OdGsBlockReferenceNode

friend class OdGsBlockReferenceNode
friend

Definition at line 186 of file GsEntityNode.h.

◆ OdGsModuleObject

friend class OdGsModuleObject
friend

Definition at line 185 of file GsEntityNode.h.

Member Data Documentation

◆ m_entFlags

OdUInt32 OdGsEntityNode::m_entFlags
protected

Definition at line 753 of file GsEntityNode.h.

◆ m_extents

OdGeExtents3d OdGsEntityNode::m_extents
mutableprotected

Definition at line 118 of file GsEntityNode.h.

◆ m_hlBranch

OdGsHlBranchPtr OdGsEntityNode::m_hlBranch
protected

Definition at line 386 of file GsEntityNode.h.

◆ m_metafile

MetafileHolder OdGsEntityNode::m_metafile
mutableprotected

Definition at line 395 of file GsEntityNode.h.


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