Open Inventor Release 2023.2.3
 
Loading...
Searching...
No Matches
SoTransferFunctionElement Class Reference

#include <LDM/elements/SoTransferFunctionElement.h>

+ Inheritance diagram for SoTransferFunctionElement:

Public Member Functions

virtual void push (SoState *state)
 Pushes element.
 
- 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, SoTransferFunction *m_transferFunctionNode)
 Sets/Gets the current volume data attributes in the state.
 
static void get (SoState *state, SoTransferFunction *&m_transferFunctionNode)
 
static void get (SoState *state, std::vector< SoTransferFunction * > &)
 Get the current list of transfer function stored in the state.
 
static void getDefault (SoTransferFunction *&m_transferFunctionNode)
 Default values.
 
static SbBool hasTransparency (SoState *state)
 returns true if one (at least) accumulated transferFuncion contains a transparency
 
- 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

Definition at line 46 of file SoTransferFunctionElement.h.

Member Function Documentation

◆ get() [1/2]

static void SoTransferFunctionElement::get ( SoState state,
SoTransferFunction *&  m_transferFunctionNode 
)
static

◆ get() [2/2]

static void SoTransferFunctionElement::get ( SoState state,
std::vector< SoTransferFunction * > &   
)
static

Get the current list of transfer function stored in the state.

◆ getClassStackIndex()

static int SoTransferFunctionElement::getClassStackIndex ( )
static

Returns the stack id for this element.


◆ getClassTypeId()

static SoType SoTransferFunctionElement::getClassTypeId ( )
static

Returns the type identifier for this class.


◆ getDefault()

static void SoTransferFunctionElement::getDefault ( SoTransferFunction *&  m_transferFunctionNode)
static

Default values.

◆ hasTransparency()

static SbBool SoTransferFunctionElement::hasTransparency ( SoState state)
static

returns true if one (at least) accumulated transferFuncion contains a transparency

◆ push()

virtual void SoTransferFunctionElement::push ( SoState )
virtual

Pushes element.

Allows for side effects to occur. Default methods do nothing.

Reimplemented from SoAccumulatedElement.

◆ set()

static void SoTransferFunctionElement::set ( SoState state,
SoNode node,
SoTransferFunction m_transferFunctionNode 
)
static

Sets/Gets the current volume data attributes in the state.


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