SOFA API  56988ca1
Open source framework for multi-physics simuation
sofa::gl::component::rendering3d Namespace Reference

Classes

class  ClipPlane
 
class  DataDisplay
 
class  MergeVisualModels
 
class  OglCylinderModel
 
class  OglModel
 Main class for rendering 3D model in SOFA. More...
 
class  OglSceneFrame
 
class  PointSplatModel
 
class  SlicedVolumetricModel
 

Functions

SOFA_EXPORT_DYNAMIC_LIBRARY void initExternalModule ()
 
SOFA_EXPORT_DYNAMIC_LIBRARY const chargetModuleName ()
 
SOFA_EXPORT_DYNAMIC_LIBRARY const chargetModuleVersion ()
 
SOFA_EXPORT_DYNAMIC_LIBRARY const chargetModuleComponentList ()
 
void init ()
 
void glVertex3v (const float *d)
 
void glVertex3v (const double *d)
 
template<class T >
GLuint glType ()
 
template<>
GLuint glType< double > ()
 
template<>
GLuint glType< float > ()
 
template<class InType , class OutType >
void copyVector (const InType &src, OutType &dst)
 

Variables

int ClipPlaneClass
 
int DataDisplayClass
 
int MergeVisualModelsClass
 
int OglCylinderModelClass
 
int OglModelClass
 
int OglSceneFrameClass
 
int PointSplatModelClass
 
int SlicedVolumetricModelClass
 

Function Documentation

◆ copyVector()

template<class InType , class OutType >
void sofa::gl::component::rendering3d::copyVector ( const InType &  src,
OutType &  dst 
)

◆ getModuleComponentList()

const char * sofa::gl::component::rendering3d::getModuleComponentList ( )

◆ getModuleName()

const char * sofa::gl::component::rendering3d::getModuleName ( )

◆ getModuleVersion()

const char * sofa::gl::component::rendering3d::getModuleVersion ( )

◆ glType()

template<class T >
GLuint sofa::gl::component::rendering3d::glType ( )

◆ glType< double >()

template<>
GLuint sofa::gl::component::rendering3d::glType< double > ( )

◆ glType< float >()

◆ glVertex3v() [1/2]

void sofa::gl::component::rendering3d::glVertex3v ( const double *  d)

◆ glVertex3v() [2/2]

void sofa::gl::component::rendering3d::glVertex3v ( const float d)

◆ init()

SOFA_GL_COMPONENT_RENDERING3D_API void sofa::gl::component::rendering3d::init ( )

◆ initExternalModule()

void sofa::gl::component::rendering3d::initExternalModule ( )

Variable Documentation

◆ ClipPlaneClass

int sofa::gl::component::rendering3d::ClipPlaneClass
Initial value:
= core::RegisterObject("OpenGL Clipping Plane")
.add< ClipPlane >()

◆ DataDisplayClass

int sofa::gl::component::rendering3d::DataDisplayClass
Initial value:
= core::RegisterObject("Rendering of meshes colored by data")
.add< DataDisplay >()

◆ MergeVisualModelsClass

int sofa::gl::component::rendering3d::MergeVisualModelsClass
Initial value:
= core::RegisterObject("Merge several visual models")
.add< MergeVisualModels >(true)

◆ OglCylinderModelClass

int sofa::gl::component::rendering3d::OglCylinderModelClass
Initial value:
= core::RegisterObject("A simple visualization for set of cylinder.")
.add< OglCylinderModel >()

◆ OglModelClass

int sofa::gl::component::rendering3d::OglModelClass
Initial value:
= core::RegisterObject("Generic visual model for OpenGL display")
.add< OglModel >()

◆ OglSceneFrameClass

int sofa::gl::component::rendering3d::OglSceneFrameClass
Initial value:
= core::RegisterObject("Display a frame at the corner of the scene view")
.add< OglSceneFrame >()

◆ PointSplatModelClass

int sofa::gl::component::rendering3d::PointSplatModelClass
Initial value:
= core::RegisterObject("A simple visualization for a cloud of points.")
.add< PointSplatModel >()
.addAlias("PointSplat")

◆ SlicedVolumetricModelClass

int sofa::gl::component::rendering3d::SlicedVolumetricModelClass
Initial value:
= core::RegisterObject("A simple visualization for a cloud of points.")
.add< SlicedVolumetricModel >()