Open Inventor Release 2024.2.0
 
Loading...
Searching...
No Matches
SoVolumeTransformElement Class Reference

Stores the current volume transform(s). More...

#include <VolumeViz/elements/SoVolumeTransformElement.h>

+ Inheritance diagram for SoVolumeTransformElement:

Public Member Functions

virtual void push (SoState *state)
 Overrides push() method to copy values from next instance in the stack.
 
- Public Member Functions inherited from SoAccumulatedElement
virtual void print (FILE *fp) const
 Prints element (for debugging).
 
- Public Member Functions inherited from SoElement
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 set (SoState *state, SoNode *node, SoVolumeTransform *m_volumeTransformNode)
 Add a volume transform to the state.
 
static void get (SoState *state, SoVolumeTransform *&m_volumeTransformNode)
 Returns most recently traversed volume transform from the state.
 
static void get (SoState *state, std::vector< SoVolumeTransform * > &)
 Get the current list of transform functions stored in the state.
 
- Static Public Member Functions inherited from SoAccumulatedElement
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

Stores the current volume transform(s).

This element stores pointers to the volume transform node currently in the traversal state.

SEE ALSO

SoVolumeTransform

Definition at line 50 of file SoVolumeTransformElement.h.

Member Function Documentation

◆ get() [1/2]

static void SoVolumeTransformElement::get ( SoState state,
SoVolumeTransform *&  m_volumeTransformNode 
)
static

Returns most recently traversed volume transform from the state.

◆ get() [2/2]

static void SoVolumeTransformElement::get ( SoState state,
std::vector< SoVolumeTransform * > &   
)
static

Get the current list of transform functions stored in the state.

◆ getClassStackIndex()

static int SoVolumeTransformElement::getClassStackIndex ( )
static

Returns the stack id for this element.


◆ getClassTypeId()

static SoType SoVolumeTransformElement::getClassTypeId ( )
static

Returns the type identifier for this class.


◆ push()

virtual void SoVolumeTransformElement::push ( SoState state)
virtual

Overrides push() method to copy values from next instance in the stack.

Reimplemented from SoAccumulatedElement.

◆ set()

static void SoVolumeTransformElement::set ( SoState state,
SoNode node,
SoVolumeTransform m_volumeTransformNode 
)
static

Add a volume transform to the state.


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