sofa::component::visualmodel::OglInt2Variable Class Reference

#include <OglVariable.h>

Inheritance diagram for sofa::component::visualmodel::OglInt2Variable:

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

Collaboration graph
[legend]

Public Member Functions

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

Private Attributes

Data< defaulttype::Vec< 2, int > > value

Detailed Description

Definition at line 81 of file OglVariable.h.


Constructor & Destructor Documentation

sofa::component::visualmodel::OglInt2Variable::OglInt2Variable (  ) 

Definition at line 66 of file OglVariable.cpp.

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

Definition at line 88 of file OglVariable.h.


Member Function Documentation

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

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


Field Documentation

Definition at line 84 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