Open Inventor Release 2024.1.0
 
Loading...
Searching...
No Matches
SoEdgeFlagElement Class Reference

VSG extension Stores the edge flag values. More...

#include <Inventor/elements/SoEdgeFlagElement.h>

+ Inheritance diagram for SoEdgeFlagElement:

Public Member Functions

int32_t getNumMarked () const
 Returns the number of marked flags in an instance.
 
int32_t getNumUnmarked () const
 Returns the number of unmarked flags in an instance.
 
const int32_t * getMarked () const
 Returns the marked flags.
 
const int32_t * getUnmarked () const
 Returns the unmarked flags.
 
virtual void print (FILE *fp) const
 Prints element (for debugging).
 
- Public Member Functions inherited from SoElement
virtual void push (SoState *state)
 Pushes element.
 
virtual void pop (SoState *state, const SoElement *prevTopElement)
 Pops element.
 
virtual SoType getTypeId () const
 Returns type identifier for element instance.
 
- Public Member Functions inherited from SoTypedObject
SbBool isOfType (const SoType &type) const
 Returns TRUE if this object is of the type specified in type or is derived from that type.
 
template<typename TypedObjectClass >
SbBool isOfType () const
 Returns TRUE if this object is of the type of class TypedObjectClass or is derived from that class.
 

Static Public Member Functions

static SoType getClassTypeId ()
 Returns the type identifier for this class.
 
static int getClassStackIndex ()
 Returns the stack id for this element.
 
static void setMarked (SoState *state, SoNode *node, int32_t numFlags, const int32_t *flags)
 Sets the current flags in the state as marked.
 
static void setUnmarked (SoState *state, SoNode *node, int32_t numFlags, const int32_t *flags)
 Sets the current flags in the state as unmarked.
 
static int getDefault ()
 Returns the default values.
 
static const SoEdgeFlagElementgetInstance (SoState *state)
 Returns the top (current) instance of the element in the state.
 
- Static Public Member Functions inherited from SoReplacedElement
static SoType getClassTypeId ()
 Returns the type identifier for this class.
 
static int getClassStackIndex ()
 Returns the stack id for this element.
 
- Static Public Member Functions inherited from SoElement
static SoType getClassTypeId ()
 Returns type identifier for SoElement class.
 
- Static Public Member Functions inherited from SoTypedObject
static SoType getClassTypeId ()
 Returns the type identifier for this class.
 

Detailed Description

VSG extension Stores the edge flag values.

This element stores the edge flag values.

SEE ALSO

SoEdgeFlag

Definition at line 40 of file SoEdgeFlagElement.h.

Member Function Documentation

◆ getClassStackIndex()

static int SoEdgeFlagElement::getClassStackIndex ( )
static

Returns the stack id for this element.


◆ getClassTypeId()

static SoType SoEdgeFlagElement::getClassTypeId ( )
static

Returns the type identifier for this class.


◆ getDefault()

static int SoEdgeFlagElement::getDefault ( )
inlinestatic

Returns the default values.

Definition at line 60 of file SoEdgeFlagElement.h.

◆ getInstance()

static const SoEdgeFlagElement * SoEdgeFlagElement::getInstance ( SoState state)
inlinestatic

Returns the top (current) instance of the element in the state.

Definition at line 65 of file SoEdgeFlagElement.h.

◆ getMarked()

const int32_t * SoEdgeFlagElement::getMarked ( ) const
inline

Returns the marked flags.

Definition at line 82 of file SoEdgeFlagElement.h.

◆ getNumMarked()

int32_t SoEdgeFlagElement::getNumMarked ( ) const
inline

Returns the number of marked flags in an instance.

Definition at line 71 of file SoEdgeFlagElement.h.

◆ getNumUnmarked()

int32_t SoEdgeFlagElement::getNumUnmarked ( ) const
inline

Returns the number of unmarked flags in an instance.

Definition at line 75 of file SoEdgeFlagElement.h.

◆ getUnmarked()

const int32_t * SoEdgeFlagElement::getUnmarked ( ) const
inline

Returns the unmarked flags.

Definition at line 88 of file SoEdgeFlagElement.h.

◆ print()

virtual void SoEdgeFlagElement::print ( FILE *  fp) const
virtual

Prints element (for debugging).

Reimplemented from SoReplacedElement.

◆ setMarked()

static void SoEdgeFlagElement::setMarked ( SoState state,
SoNode node,
int32_t  numFlags,
const int32_t *  flags 
)
static

Sets the current flags in the state as marked.

◆ setUnmarked()

static void SoEdgeFlagElement::setUnmarked ( SoState state,
SoNode node,
int32_t  numFlags,
const int32_t *  flags 
)
static

Sets the current flags in the state as unmarked.


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