sofa::component::visualmodel::OglFloatVariable Class Reference

SINGLE FLOAT VARIABLE. More...

#include <OglVariable.h>

Inheritance diagram for sofa::component::visualmodel::OglFloatVariable:

Inheritance graph
[legend]
Collaboration diagram for sofa::component::visualmodel::OglFloatVariable:

Collaboration graph
[legend]

Public Member Functions

 OglFloatVariable ()
virtual ~OglFloatVariable ()
void initVisual ()
 Initialize the textures, or other graphical resources.

Private Attributes

Data< float > value

Detailed Description

SINGLE FLOAT VARIABLE.

Definition at line 119 of file OglVariable.h.


Constructor & Destructor Documentation

sofa::component::visualmodel::OglFloatVariable::OglFloatVariable (  ) 

Definition at line 129 of file OglVariable.cpp.

virtual sofa::component::visualmodel::OglFloatVariable::~OglFloatVariable (  )  [inline, virtual]

Definition at line 126 of file OglVariable.h.


Member Function Documentation

void sofa::component::visualmodel::OglFloatVariable::initVisual (  )  [virtual]

Initialize the textures, or other graphical resources.

Called once before the first frame is drawn, and if the graphical context has been recreated.

Reimplemented from sofa::component::visualmodel::OglVariable.

Definition at line 153 of file OglVariable.cpp.

References sofa::core::objectmodel::Data< T >::getValue(), sofa::component::visualmodel::OglShader::setFloat(), sofa::component::visualmodel::OglShaderElement::shader, and value.


Field Documentation

Definition at line 122 of file OglVariable.h.

Referenced by initVisual().


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

Generated on Sun Nov 23 04:21:49 2008 for Sofa by  doxygen 1.5.7.1