#include <Inventor/elements/SoFloatElement.h>
Inheritance diagram for SoFloatElement:
Public Member Functions | |
virtual void | init (SoState *state) |
virtual SbBool | matches (const SoElement *element) const |
virtual SoElement * | copyMatchInfo (void) const |
virtual void | print (FILE *file) const |
virtual void | setElt (float value) |
Static Public Member Functions | |
void | initClass (void) |
void | set (const int stackIndex, SoState *const state, SoNode *const node, const float value) |
void | set (const int stackIndex, SoState *const state, const float value) |
float | get (const int stackIndex, SoState *const state) |
Protected Member Functions | |
virtual | ~SoFloatElement () |
Protected Attributes | |
float | data |
|
Destructor. |
|
Initialize relevant common data for all instances, like the type system. Reimplemented from SoElement. Reimplemented in SoGLLineWidthElement, SoGLPointSizeElement, SoLineWidthElement, and SoPointSizeElement. |
|
This function initializes the element type in the given SoState. It is called for the first element of each enabled element type in SoState objects. Reimplemented from SoElement. Reimplemented in SoGLLineWidthElement, SoGLPointSizeElement, SoLineWidthElement, and SoPointSizeElement. |
|
This function returns If the application programmer's extension element has a matches() function, it should also have a copyMatchInfo() function. Implements SoElement. |
|
This function creates a copy of the element that contains enough information to enable the matches() function to work. Used to help with scenegraph traversal caching operations. Implements SoElement. |
|
This function is for printing element information, and is used mostly for debugging purposes. Reimplemented from SoElement. |
|
Static method for setting the value of an element in the given state at the given stack index. |
|
Static method for setting the value of an element in the given state at the given stackIndex. |
|
Static method to fetch the value of the element of this type from the given state at the given stack index. |
|
Set element value. Reimplemented in SoGLLineWidthElement, and SoGLPointSizeElement. |
|
The element's value. |