sofa::component::visualmodel::OglIntVariable Class Reference

SINGLE INT VARIABLE. More...

#include <OglVariable.h>

Inheritance diagram for sofa::component::visualmodel::OglIntVariable:

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

Collaboration graph
[legend]

Public Member Functions

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

Private Attributes

Data< int > value

Detailed Description

SINGLE INT VARIABLE.

Definition at line 69 of file OglVariable.h.


Constructor & Destructor Documentation

sofa::component::visualmodel::OglIntVariable::OglIntVariable (  ) 

Definition at line 60 of file OglVariable.cpp.

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

Definition at line 76 of file OglVariable.h.


Member Function Documentation

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

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


Field Documentation

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