CFx SDK Documentation  2022 SP0
Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
OdGsEntityNode::MetafileHolder Class Reference

#include <GsEntityNode.h>

Public Types

enum  {
  kArray = 1 , kVpDependent = 2 , kAwareFlagsRegenType = 4 , kRegenTypeStandard = 8 ,
  kRegenTypeHideOrShade = 16 , kRegenTypeRenderCommand = 32 , kRegenTypeMask = kRegenTypeStandard | kRegenTypeHideOrShade | kRegenTypeRenderCommand , kDependentGeometry = 64 ,
  kLayerDependent = 128
}
 

Public Member Functions

 MetafileHolder ()
 
 MetafileHolder (const MetafileHolder &c)
 
 ~MetafileHolder ()
 
bool isValid () const
 
bool isArray () const
 
bool isVpDependent () const
 
void setVpDependent (bool bOn)
 
bool isAwareFlagsRegenType () const
 
bool isRegenTypeDependent () const
 
void setDependentGeometry (bool bSet)
 
bool isDependentGeometry () const
 
void setLayerDependent (bool bSet)
 
bool isLayerDependent () const
 
Metafileget ()
 
const Metafileget () const
 
MetafilePtrArraygetArray ()
 
const MetafilePtrArraygetArray () const
 
void set (Metafile *pMf)
 
void setAtRegenType (Metafile *pMf, OdGiRegenType eRegenType)
 
MetafilegetAtRegenType (OdGiRegenType &eRegenType)
 
void allocateArray ()
 
void destroy ()
 
int checkValid ()
 
void moveTo (MetafileHolder &c, int &n)
 
OdUInt32 awareFlags (OdUInt32 nVpID) const
 
void setAt (int n, Metafile *pMf)
 

Protected Member Functions

int flags () const
 
voidrawPtr ()
 
const voidrawPtr () const
 
bool isValidMf (const Metafile &mf) const
 
void setAwareFlagsRegenType (bool bOn)
 

Protected Attributes

OdUInt8 m_flags
 
OdUInt8 m_data [odmax(sizeof(MetafilePtrArray), sizeof(OdRxObject *))]
 

Detailed Description

Definition at line 205 of file GsEntityNode.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
kArray 
kVpDependent 
kAwareFlagsRegenType 
kRegenTypeStandard 
kRegenTypeHideOrShade 
kRegenTypeRenderCommand 
kRegenTypeMask 
kDependentGeometry 
kLayerDependent 

Definition at line 208 of file GsEntityNode.h.

Constructor & Destructor Documentation

◆ MetafileHolder() [1/2]

OdGsEntityNode::MetafileHolder::MetafileHolder ( )
inline

Definition at line 222 of file GsEntityNode.h.

◆ MetafileHolder() [2/2]

OdGsEntityNode::MetafileHolder::MetafileHolder ( const MetafileHolder c)
inline

Definition at line 226 of file GsEntityNode.h.

◆ ~MetafileHolder()

OdGsEntityNode::MetafileHolder::~MetafileHolder ( )
inline

Definition at line 243 of file GsEntityNode.h.

Member Function Documentation

◆ allocateArray()

void OdGsEntityNode::MetafileHolder::allocateArray ( )

◆ awareFlags()

OdUInt32 OdGsEntityNode::MetafileHolder::awareFlags ( OdUInt32  nVpID) const
inline

Definition at line 350 of file GsEntityNode.h.

◆ checkValid()

int OdGsEntityNode::MetafileHolder::checkValid ( )

◆ destroy()

void OdGsEntityNode::MetafileHolder::destroy ( )

◆ flags()

int OdGsEntityNode::MetafileHolder::flags ( ) const
inlineprotected

Definition at line 370 of file GsEntityNode.h.

◆ get() [1/2]

Metafile* OdGsEntityNode::MetafileHolder::get ( )
inline

Definition at line 271 of file GsEntityNode.h.

◆ get() [2/2]

const Metafile* OdGsEntityNode::MetafileHolder::get ( ) const
inline

Definition at line 276 of file GsEntityNode.h.

◆ getArray() [1/2]

MetafilePtrArray& OdGsEntityNode::MetafileHolder::getArray ( )
inline

Definition at line 281 of file GsEntityNode.h.

◆ getArray() [2/2]

const MetafilePtrArray& OdGsEntityNode::MetafileHolder::getArray ( ) const
inline

Definition at line 286 of file GsEntityNode.h.

◆ getAtRegenType()

Metafile* OdGsEntityNode::MetafileHolder::getAtRegenType ( OdGiRegenType eRegenType)
inline

Definition at line 331 of file GsEntityNode.h.

◆ isArray()

bool OdGsEntityNode::MetafileHolder::isArray ( ) const
inline

Definition at line 249 of file GsEntityNode.h.

◆ isAwareFlagsRegenType()

bool OdGsEntityNode::MetafileHolder::isAwareFlagsRegenType ( ) const
inline

Definition at line 262 of file GsEntityNode.h.

◆ isDependentGeometry()

bool OdGsEntityNode::MetafileHolder::isDependentGeometry ( ) const
inline

Definition at line 266 of file GsEntityNode.h.

◆ isLayerDependent()

bool OdGsEntityNode::MetafileHolder::isLayerDependent ( ) const
inline

Definition at line 269 of file GsEntityNode.h.

◆ isRegenTypeDependent()

bool OdGsEntityNode::MetafileHolder::isRegenTypeDependent ( ) const
inline

Definition at line 263 of file GsEntityNode.h.

◆ isValid()

bool OdGsEntityNode::MetafileHolder::isValid ( void  ) const
inline

Definition at line 248 of file GsEntityNode.h.

◆ isValidMf()

bool OdGsEntityNode::MetafileHolder::isValidMf ( const Metafile mf) const
protected

◆ isVpDependent()

bool OdGsEntityNode::MetafileHolder::isVpDependent ( ) const
inline

Definition at line 251 of file GsEntityNode.h.

◆ moveTo()

void OdGsEntityNode::MetafileHolder::moveTo ( MetafileHolder c,
int &  n 
)

◆ rawPtr() [1/2]

void* OdGsEntityNode::MetafileHolder::rawPtr ( )
inlineprotected

Definition at line 371 of file GsEntityNode.h.

◆ rawPtr() [2/2]

const void* OdGsEntityNode::MetafileHolder::rawPtr ( ) const
inlineprotected

Definition at line 372 of file GsEntityNode.h.

◆ set()

void OdGsEntityNode::MetafileHolder::set ( Metafile pMf)
inline

Definition at line 291 of file GsEntityNode.h.

◆ setAt()

void OdGsEntityNode::MetafileHolder::setAt ( int  n,
Metafile pMf 
)
inline

Definition at line 361 of file GsEntityNode.h.

◆ setAtRegenType()

void OdGsEntityNode::MetafileHolder::setAtRegenType ( Metafile pMf,
OdGiRegenType  eRegenType 
)
inline

Definition at line 299 of file GsEntityNode.h.

◆ setAwareFlagsRegenType()

void OdGsEntityNode::MetafileHolder::setAwareFlagsRegenType ( bool  bOn)
inlineprotected

Definition at line 374 of file GsEntityNode.h.

◆ setDependentGeometry()

void OdGsEntityNode::MetafileHolder::setDependentGeometry ( bool  bSet)
inline

Definition at line 265 of file GsEntityNode.h.

◆ setLayerDependent()

void OdGsEntityNode::MetafileHolder::setLayerDependent ( bool  bSet)
inline

Definition at line 268 of file GsEntityNode.h.

◆ setVpDependent()

void OdGsEntityNode::MetafileHolder::setVpDependent ( bool  bOn)
inline

Definition at line 252 of file GsEntityNode.h.

Member Data Documentation

◆ m_data

OdUInt8 OdGsEntityNode::MetafileHolder::m_data[odmax(sizeof(MetafilePtrArray), sizeof(OdRxObject *))]
protected

Definition at line 381 of file GsEntityNode.h.

◆ m_flags

OdUInt8 OdGsEntityNode::MetafileHolder::m_flags
protected

Definition at line 377 of file GsEntityNode.h.


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