#include <Inventor/elements/SoFloatElement.h>
Inheritance diagram for SoFloatElement::
Public Methods | |
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 Methods | |
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 Methods | |
virtual | ~SoFloatElement () |
Protected Attributes | |
float | data |
|
Destructor. |
|
Initialize relevant common data for all instances, like the type system. Reimplemented from SoElement. Reimplemented in SoPointSizeElement, SoGLPointSizeElement, SoLineWidthElement, and SoGLLineWidthElement. |
|
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 SoPointSizeElement, SoGLPointSizeElement, SoLineWidthElement, and SoGLLineWidthElement. |
|
This function returns If the application programmer's extension element has a matches() function, it should also have a copyMatchInfo() function. Reimplemented from 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. Reimplemented from 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 SoGLPointSizeElement, and SoGLLineWidthElement. |
|
The element's value. |