CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Public Attributes | List of all members
OdGiDrawableDesc Struct Reference

#include <GsSelectionReactor.h>

Inheritance diagram for OdGiDrawableDesc:
OdGiLocalDrawableDesc

Public Types

enum  DrawableDescFlags {
  kFirstFlag = 1 , kMarkedToSkip = kFirstFlag << 0 , kMarkedBySelection = kFirstFlag << 1 , kMarkedBySubSelection = kFirstFlag << 2 ,
  kMarkedByGeometry = kFirstFlag << 3 , kMarkedBySubGeometry = kFirstFlag << 4 , kMarkedToBreak = kFirstFlag << 5 , kMarkedForForcedSelection = kFirstFlag << 6 ,
  kLastFlag = kMarkedForForcedSelection
}
 

Public Member Functions

 OdGiDrawableDesc ()
 
void markToSkip (bool skip) const
 
bool isMarkedToSkip () const
 
void markBySelection (bool val) const
 
bool isMarkedBySelection () const
 
void markBySubSelection (bool val) const
 
bool isMarkedBySubSelection () const
 
void markByGeometry (bool val) const
 
bool isMarkedByGeometry () const
 
void markBySubGeometry (bool val) const
 
bool isMarkedBySubGeometry () const
 
void markToBreak (bool val) const
 
bool isMarkedToBreak () const
 
void markForForcedSelection (bool val) const
 
bool isMarkedForForcedSelection () const
 

Public Attributes

OdGiDrawableDescpParent
 
OdDbStub * persistId
 
const OdGiDrawablepTransientDrawable
 
OdUInt32 nDrawableFlags
 
OdUInt32 nDrawableDescFlags
 

Detailed Description

This struct contains information related to an OdGiDrawable object.

Remarks
This includes the Drawable object, its parent object, and some flags. Corresponding C++ library: TD_Gs <group OdGi_Classes>

Definition at line 42 of file GsSelectionReactor.h.

Member Enumeration Documentation

◆ DrawableDescFlags

Additional drawable desc flags.

Enumerator
kFirstFlag 
kMarkedToSkip 
kMarkedBySelection 
kMarkedBySubSelection 
kMarkedByGeometry 
kMarkedBySubGeometry 
kMarkedToBreak 
kMarkedForForcedSelection 
kLastFlag 

Definition at line 86 of file GsSelectionReactor.h.

Constructor & Destructor Documentation

◆ OdGiDrawableDesc()

OdGiDrawableDesc::OdGiDrawableDesc ( )
inline

Default constructor for the OdGiDrawableDesc structure. Sets the following data members:

member Value Description pParent 0 Pointer to the parent of the Drawable object. persistId 0 Persistent ID of the database object associated with the Drawable object. pTransientDrawable 0 Pointer to the Drawable object. nDrawableFlags 0 Drawable flags for the Drawable object (come from subSetAttributes). nDrawableDescFlags 0 Additional drawable flags.

Definition at line 55 of file GsSelectionReactor.h.

Member Function Documentation

◆ isMarkedByGeometry()

bool OdGiDrawableDesc::isMarkedByGeometry ( ) const
inline

Definition at line 222 of file GsSelectionReactor.h.

◆ isMarkedBySelection()

bool OdGiDrawableDesc::isMarkedBySelection ( ) const
inline

Definition at line 202 of file GsSelectionReactor.h.

◆ isMarkedBySubGeometry()

bool OdGiDrawableDesc::isMarkedBySubGeometry ( ) const
inline

Definition at line 232 of file GsSelectionReactor.h.

◆ isMarkedBySubSelection()

bool OdGiDrawableDesc::isMarkedBySubSelection ( ) const
inline

Definition at line 212 of file GsSelectionReactor.h.

◆ isMarkedForForcedSelection()

bool OdGiDrawableDesc::isMarkedForForcedSelection ( ) const
inline

Definition at line 252 of file GsSelectionReactor.h.

◆ isMarkedToBreak()

bool OdGiDrawableDesc::isMarkedToBreak ( ) const
inline

Definition at line 242 of file GsSelectionReactor.h.

◆ isMarkedToSkip()

bool OdGiDrawableDesc::isMarkedToSkip ( ) const
inline

Returns true if and only if this Drawable marked to be skipped during vectorization.

Definition at line 192 of file GsSelectionReactor.h.

◆ markByGeometry()

void OdGiDrawableDesc::markByGeometry ( bool  val) const
inline

Definition at line 217 of file GsSelectionReactor.h.

◆ markBySelection()

void OdGiDrawableDesc::markBySelection ( bool  val) const
inline

Definition at line 197 of file GsSelectionReactor.h.

◆ markBySubGeometry()

void OdGiDrawableDesc::markBySubGeometry ( bool  val) const
inline

Definition at line 227 of file GsSelectionReactor.h.

◆ markBySubSelection()

void OdGiDrawableDesc::markBySubSelection ( bool  val) const
inline

Definition at line 207 of file GsSelectionReactor.h.

◆ markForForcedSelection()

void OdGiDrawableDesc::markForForcedSelection ( bool  val) const
inline

Definition at line 247 of file GsSelectionReactor.h.

◆ markToBreak()

void OdGiDrawableDesc::markToBreak ( bool  val) const
inline

Definition at line 237 of file GsSelectionReactor.h.

◆ markToSkip()

void OdGiDrawableDesc::markToSkip ( bool  skip) const
inline

Sets the Skip flag for the Drawable object.

Parameters
skip[in] Controls Skip flag.
Remarks
If set, the Drawable object will be skipped during vectorization.

Definition at line 187 of file GsSelectionReactor.h.

Member Data Documentation

◆ nDrawableDescFlags

OdUInt32 OdGiDrawableDesc::nDrawableDescFlags

Additional drawable desc flags.

Definition at line 103 of file GsSelectionReactor.h.

◆ nDrawableFlags

OdUInt32 OdGiDrawableDesc::nDrawableFlags

Drawable flags for the Drawable object (come from subSetAttributes).

Definition at line 81 of file GsSelectionReactor.h.

◆ persistId

OdDbStub* OdGiDrawableDesc::persistId

Persistent ID of the database object associated with the Drawable object.

Definition at line 71 of file GsSelectionReactor.h.

◆ pParent

OdGiDrawableDesc* OdGiDrawableDesc::pParent

Pointer to the parent of the Drawable object.

Definition at line 66 of file GsSelectionReactor.h.

◆ pTransientDrawable

const OdGiDrawable* OdGiDrawableDesc::pTransientDrawable

Pointer to the Drawable object.

Definition at line 76 of file GsSelectionReactor.h.


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