sofa::component::visualmodel Namespace Reference


Data Structures

class  ClipPlane
class  DrawV
class  Light
class  DirectionalLight
class  PositionalLight
class  SpotLight
class  LightManager
 Utility to manage lights into an Opengl scene. More...
class  OglModel
 Main class for rendering 3D model in SOFA. More...
class  OglShader
 Utility to use shader for a visual model in OpenGL. More...
class  OglShaderElement
 Abstract class which defines a element to be used with a OglShader. More...
class  OglShaderMacro
 Small class to define macro into an OglShader. More...
class  OglShaderDefineMacro
class  OglTetrahedralModel
 Render 3D models with tetrahedra. More...
class  OglTexture
 Defines an uniform sampler (texture) for a OglShader. More...
class  OglTexture2D
class  OglVariable
 Defines an uniform variable for a OglShader. More...
class  OglIntVariable
 SINGLE INT VARIABLE. More...
class  OglInt2Variable
class  OglInt3Variable
class  OglInt4Variable
class  OglFloatVariable
 SINGLE FLOAT VARIABLE. More...
class  OglFloat2Variable
class  OglFloat3Variable
class  OglFloat4Variable
class  OglIntVectorVariable
 INT VECTOR VARIABLE. More...
class  OglIntVector2Variable
class  OglIntVector3Variable
class  OglIntVector4Variable
class  OglFloatVectorVariable
 FLOAT VECTOR VARIABLE. More...
class  OglFloatVector2Variable
class  OglFloatVector3Variable
class  OglFloatVector4Variable
class  RigidMappedModel
class  ExtVec3fMappedModel
class  VisualModelImpl
 Abstract class which implements partially VisualModel. More...
class  OglTetrahedralModel< gpu::cuda::CudaVectorTypes< TCoord, TDeriv, TReal > >
class  CudaVisualModel
class  OgreVisualModel

Typedefs

typedef sofa::defaulttype::Vec
< 3, GLfloat > 
GLVec3f
typedef
sofa::defaulttype::ExtVectorTypes
< GLVec3f, GLVec3f > 
GLExtVec3fTypes

Functions

static int hexval (char c)
template<class T >
Ogre::Vector3 conv (const sofa::defaulttype::Vec< 3, T > &v)
template<class T >
sofa::defaulttype::Vec3f conv (const Ogre::Vector3 &v)

Variables

int ClipPlaneClass
int DrawVClass
int DirectionalLightClass
int PositionalLightClass
int SpotLightClass
int LightManagerClass
int OglModelClass
int OglShaderClass
int OglShaderDefineMacroClass
int OglTetrahedralModelClass
int OglTexture2DClass
int OglIntVariableClass
 SINGLE INT VARIABLE.
int OglInt2VariableClass
int OglInt3VariableClass
int OglInt4VariableClass
int OglFloatVariableClass
 SINGLE FLOAT VARIABLE.
int OglFloat2VariableClass
int OglFloat3VariableClass
int OglFloat4VariableClass
int OglIntVectorVariableClass
 INT VECTOR VARIABLE.
int OglIntVector2VariableClass
int OglIntVector3VariableClass
int OglIntVector4VariableClass
int OglFloatVectorVariableClass
 FLOAT VECTOR VARIABLE.
int OglFloatVector2VariableClass
int OglFloatVector3VariableClass
int OglFloatVector4VariableClass
int VisualModelImplClass
int CudaOglTetrahedralModelClass
int OgreVisualModelClass

Typedef Documentation

Definition at line 81 of file OglModel.h.

Definition at line 80 of file OglModel.h.


Function Documentation

template<class T >
sofa::defaulttype::Vec3f sofa::component::visualmodel::conv ( const Ogre::Vector3 &  v  )  [inline]

Definition at line 57 of file OgreVisualModel.h.

template<class T >
Ogre::Vector3 sofa::component::visualmodel::conv ( const sofa::defaulttype::Vec< 3, T > &  v  )  [inline]

static int sofa::component::visualmodel::hexval ( char  c  )  [static]


Variable Documentation

Initial value:

 core::RegisterObject("OpenGL Clipping Plane")
.add< ClipPlane >()

Definition at line 39 of file ClipPlane.cpp.

Initial value:

 sofa::core::RegisterObject("Tetrahedral model for OpenGL display")
.add< OglTetrahedralModel<sofa::gpu::cuda::CudaVec3fTypes> >()

Definition at line 38 of file CudaTetrahedralVisualModel.cpp.

Initial value:

 core::RegisterObject("Directional Light")
.add< DirectionalLight >()

Definition at line 54 of file Light.cpp.

Initial value:

 core::RegisterObject("Visual model displaying velocity vectors for OpenGL display")
.add< DrawV >()

Definition at line 44 of file DrawV.cpp.

Initial value:

 core::RegisterObject("LightManager")
.add< LightManager >()

Definition at line 50 of file LightManager.cpp.

Initial value:

 core::RegisterObject("OglFloat2Variable")
.add< OglFloat2Variable >()

Definition at line 117 of file OglVariable.cpp.

Initial value:

 core::RegisterObject("OglFloat3Variable")
.add< OglFloat3Variable >()

Definition at line 121 of file OglVariable.cpp.

Initial value:

 core::RegisterObject("OglFloat4Variable")
.add< OglFloat4Variable >()

Definition at line 125 of file OglVariable.cpp.

Initial value:

 core::RegisterObject("OglFloatVariable")
.add< OglFloatVariable >()
SINGLE FLOAT VARIABLE.

Definition at line 113 of file OglVariable.cpp.

Initial value:

 core::RegisterObject("OglFloatVector2Variable")
.add< OglFloatVector2Variable >()

Definition at line 302 of file OglVariable.cpp.

Initial value:

 core::RegisterObject("OglFloatVector3Variable")
.add< OglFloatVector3Variable >()

Definition at line 307 of file OglVariable.cpp.

Initial value:

 core::RegisterObject("OglFloatVector4Variable")
.add< OglFloatVector4Variable >()

Definition at line 311 of file OglVariable.cpp.

Initial value:

 core::RegisterObject("OglFloatVectorVariable")
.add< OglFloatVectorVariable >()
FLOAT VECTOR VARIABLE.

Definition at line 297 of file OglVariable.cpp.

Initial value:

 core::RegisterObject("OglInt2Variable")
.add< OglInt2Variable >()

Definition at line 48 of file OglVariable.cpp.

Initial value:

 core::RegisterObject("OglInt3Variable")
.add< OglInt3Variable >()

Definition at line 52 of file OglVariable.cpp.

Initial value:

 core::RegisterObject("OglInt4Variable")
.add< OglInt4Variable >()

Definition at line 56 of file OglVariable.cpp.

Initial value:

 core::RegisterObject("OglIntVariable")
.add< OglIntVariable >()
SINGLE INT VARIABLE.

Definition at line 44 of file OglVariable.cpp.

Initial value:

 core::RegisterObject("OglIntVector2Variable")
.add< OglIntVector2Variable >()

Definition at line 187 of file OglVariable.cpp.

Initial value:

 core::RegisterObject("OglIntVector3Variable")
.add< OglIntVector3Variable >()

Definition at line 192 of file OglVariable.cpp.

Initial value:

 core::RegisterObject("OglIntVector4Variable")
.add< OglIntVector4Variable >()

Definition at line 197 of file OglVariable.cpp.

Initial value:

 core::RegisterObject("OglIntVectorVariable")
.add< OglIntVectorVariable >()
INT VECTOR VARIABLE.

Definition at line 182 of file OglVariable.cpp.

Initial value:

 core::RegisterObject("Generic visual model for OpenGL display")
.add< OglModel >()

Definition at line 48 of file OglModel.cpp.

Initial value:

 core::RegisterObject("OglShader")
.add< OglShader >()

Definition at line 54 of file OglShader.cpp.

Initial value:

 core::RegisterObject("OglShaderDefineMacro")
.add< OglShaderDefineMacro >()

Definition at line 39 of file OglShaderMacro.cpp.

Initial value:

 sofa::core::RegisterObject("Tetrahedral model for OpenGL display")

.add< OglTetrahedralModel<Vec3dTypes> >()


.add< OglTetrahedralModel<Vec3fTypes> >()

Definition at line 40 of file OglTetrahedralModel.cpp.

Initial value:

 core::RegisterObject("OglTexture2D")
.add< OglTexture2D >()

Definition at line 41 of file OglTexture.cpp.

Initial value:

 sofa::core::RegisterObject("OGRE 3D Visual Model")
.add < OgreVisualModel >()

Definition at line 525 of file OgreVisualModel.cpp.

Initial value:

 core::RegisterObject("Positional Light")
.add< PositionalLight >()

Definition at line 60 of file Light.cpp.

Initial value:

 core::RegisterObject("Spot Light")
.add< SpotLight >()

Definition at line 66 of file Light.cpp.

Initial value:

 core::RegisterObject("Generic visual model. If a viewer is active it will replace the VisualModel alias, otherwise nothing will be displayed.")
  .add< VisualModelImpl >()
  .addAlias("VisualModel")

Definition at line 122 of file VisualModelImpl.cpp.


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