sofa::component::visualmodel::OglFloat4Variable Class Reference

#include <OglVariable.h>

Inheritance diagram for sofa::component::visualmodel::OglFloat4Variable:

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

Collaboration graph
[legend]

Public Member Functions

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

Private Attributes

Data< defaulttype::Vec4f > value

Detailed Description

Definition at line 155 of file OglVariable.h.


Constructor & Destructor Documentation

sofa::component::visualmodel::OglFloat4Variable::OglFloat4Variable (  ) 

Definition at line 147 of file OglVariable.cpp.

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

Definition at line 162 of file OglVariable.h.


Member Function Documentation

void sofa::component::visualmodel::OglFloat4Variable::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 169 of file OglVariable.cpp.

References sofa::component::visualmodel::OglShader::setFloat4(), sofa::component::visualmodel::OglShaderElement::shader, and value.


Field Documentation

Definition at line 158 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:50 2008 for Sofa by  doxygen 1.5.7.1