SOFA API  f963b064
Open source framework for multi-physics simuation
sofa::gl::component::shader Namespace Reference

Classes

class  CompositingVisualLoop
 
class  Light
 Utility to cast Light into a Opengl scene. More...
 
class  DirectionalLight
 
class  PositionalLight
 
class  SpotLight
 
class  LightManager
 Utility to manage lights into an Opengl scene. More...
 
class  OglAttribute
 
class  OglFloatAttribute
 
class  OglFloat2Attribute
 
class  OglFloat3Attribute
 
class  OglFloat4Attribute
 
class  OglIntAttribute
 
class  OglInt2Attribute
 
class  OglInt3Attribute
 
class  OglInt4Attribute
 
class  OglUIntAttribute
 
class  OglUInt2Attribute
 
class  OglUInt3Attribute
 
class  OglUInt4Attribute
 
class  OglOITShader
 
class  OglRenderingSRGB
 The utility to enable/disable sRGB rendering. 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  OglShaderVisualModel
 
class  OglShadowShader
 
class  OglTexture
 Defines an uniform sampler (texture) for a OglShader. More...
 
class  OglTexture2D
 
class  OglTexturePointer
 Defines an uniform sampler (texture) for a OglShader. More...
 
class  OglVariable
 Defines an uniform variable for a OglShader. More...
 
class  OglIntVariable
 
class  OglInt2Variable
 
class  OglInt3Variable
 
class  OglInt4Variable
 
class  OglFloatVariable
 
class  OglFloat2Variable
 
class  OglFloat3Variable
 
class  OglFloat4Variable
 
class  OglIntVectorVariable
 
class  OglIntVector2Variable
 
class  OglIntVector3Variable
 
class  OglIntVector4Variable
 
class  OglFloatVectorVariable
 
class  OglFloatVector2Variable
 
class  OglFloatVector3Variable
 
class  OglFloatVector4Variable
 
class  OglMatrix2Variable
 
class  OglMatrix3Variable
 
class  OglMatrix4Variable
 
class  OglMatrix2x3Variable
 
class  OglMatrix3x2Variable
 
class  OglMatrix2x4Variable
 
class  OglMatrix4x2Variable
 
class  OglMatrix3x4Variable
 
class  OglMatrix4x3Variable
 
class  OglMatrix4VectorVariable
 
class  VisualOITDrawVisitor
 
class  OrderIndependentTransparencyManager
 Utility to manage transparency (translucency) into an Opengl scene. More...
 
class  PostProcessManager
 
class  VisualManagerPass
 Render pass element: render the relevant tagged objects in a FBO. More...
 
class  VisualManagerSecondaryPass
 Render pass element: render the relevant tagged objects in a FBO. More...
 

Functions

SOFA_EXPORT_DYNAMIC_LIBRARY void initExternalModule ()
 
SOFA_EXPORT_DYNAMIC_LIBRARY const chargetModuleName ()
 
SOFA_EXPORT_DYNAMIC_LIBRARY const chargetModuleVersion ()
 
void init ()
 

Variables

int CompositingVisualLoopClass
 
int DirectionalLightClass
 
int PositionalLightClass
 
int SpotLightClass
 
int LightManagerClass
 
int OglFloatAttributeClass = core::RegisterObject ( "OglFloatAttribute" ).add< OglFloatAttribute >()
 
int OglFloat2AttributeClass = core::RegisterObject ( "OglFloat2Attribute" ).add< OglFloat2Attribute >()
 
int OglFloat3AttributeClass = core::RegisterObject ( "OglFloat3Attribute" ).add< OglFloat3Attribute >()
 
int OglFloat4AttributeClass = core::RegisterObject ( "OglFloat4Attribute" ).add< OglFloat4Attribute >()
 
int OglIntAttributeClass = core::RegisterObject ( "OglIntAttribute" ).add< OglIntAttribute >()
 
int OglInt2AttributeClass = core::RegisterObject ( "OglInt2Attribute" ).add< OglInt2Attribute >()
 
int OglInt3AttributeClass = core::RegisterObject ( "OglInt3Attribute" ).add< OglInt3Attribute >()
 
int OglInt4AttributeClass = core::RegisterObject ( "OglInt4Attribute" ).add< OglInt4Attribute >()
 
int OglUIntAttributeClass = core::RegisterObject ( "OglUIntAttribute" ).add< OglUIntAttribute >()
 
int OglUInt2AttributeClass = core::RegisterObject ( "OglUInt2Attribute" ).add< OglUInt2Attribute >()
 
int OglUInt3AttributeClass = core::RegisterObject ( "OglUInt3Attribute" ).add< OglUInt3Attribute >()
 
int OglUInt4AttributeClass = core::RegisterObject ( "OglUInt4Attribute" ).add< OglUInt4Attribute >()
 
int OglOITShaderClass
 
int OglRenderingSRGBClass
 
int OglShaderClass
 
int OglShaderDefineMacroClass
 
int OglShaderVisualModelClass
 
int OglShadowShaderClass
 
int OglTextureClass = core::RegisterObject("OglTexture").add< OglTexture >()
 
int OglTexture2DClass = core::RegisterObject("OglTexture2D").add< OglTexture2D >()
 
int OglTexturePointerClass = core::RegisterObject("OglTexturePointer").add< OglTexturePointer >()
 
int OglIntVariableClass
 
int OglInt2VariableClass
 
int OglInt3VariableClass
 
int OglInt4VariableClass
 
int OglFloatVariableClass
 
int OglFloat2VariableClass
 
int OglFloat3VariableClass
 
int OglFloat4VariableClass
 
int OglIntVectorVariableClass
 
int OglIntVector2VariableClass
 
int OglIntVector3VariableClass
 
int OglIntVector4VariableClass
 
int OglFloatVectorVariableClass
 
int OglFloatVector2VariableClass
 
int OglFloatVector3VariableClass
 
int OglFloatVector4VariableClass
 
int OglMatrix2VariableClass
 
int OglMatrix3VariableClass
 
int OglMatrix4VariableClass
 
int OglMatrix2x3VariableClass
 
int OglMatrix3x2VariableClass
 
int OglMatrix2x4VariableClass
 
int OglMatrix4x2VariableClass
 
int OglMatrix3x4VariableClass
 
int OglMatrix4x3VariableClass
 
int OglMatrix4VectorVariableClass
 
int OrderIndependentTransparencyManagerClass
 
int PostProcessManagerClass
 
int VisualManagerPassClass
 
int VisualManagerSecondaryPassClass
 

Function Documentation

◆ getModuleName()

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

◆ getModuleVersion()

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

◆ init()

SOFA_GL_COMPONENT_SHADER_API void sofa::gl::component::shader::init ( )

◆ initExternalModule()

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

Variable Documentation

◆ CompositingVisualLoopClass

int sofa::gl::component::shader::CompositingVisualLoopClass
Initial value:
= core::RegisterObject("Visual loop enabling multipass rendering. Needs multiple fbo data and a compositing shader")
.add< CompositingVisualLoop >()

◆ DirectionalLightClass

int sofa::gl::component::shader::DirectionalLightClass
Initial value:
= core::RegisterObject("A directional light illuminating the scene with parallel rays of light (can cast shadows).")
.add< DirectionalLight >()

◆ LightManagerClass

int sofa::gl::component::shader::LightManagerClass
Initial value:
("Manage a set of lights that can cast hard and soft shadows.Soft Shadows is done using Variance Shadow Mapping "
"(http://developer.download.nvidia.com/SDK/10.5/direct3d/Source/VarianceShadowMapping/Doc/VarianceShadowMapping.pdf)")
.add< LightManager >()
Definition: ObjectFactory.h:386
RegisterObject & add(bool defaultTemplate=false)
Definition: ObjectFactory.h:402

◆ OglFloat2AttributeClass

int sofa::gl::component::shader::OglFloat2AttributeClass = core::RegisterObject ( "OglFloat2Attribute" ).add< OglFloat2Attribute >()

◆ OglFloat2VariableClass

int sofa::gl::component::shader::OglFloat2VariableClass
Initial value:
= core::RegisterObject("OglFloat2Variable")
.add< OglFloat2Variable >()

◆ OglFloat3AttributeClass

int sofa::gl::component::shader::OglFloat3AttributeClass = core::RegisterObject ( "OglFloat3Attribute" ).add< OglFloat3Attribute >()

◆ OglFloat3VariableClass

int sofa::gl::component::shader::OglFloat3VariableClass
Initial value:
= core::RegisterObject("OglFloat3Variable")
.add< OglFloat3Variable >()

◆ OglFloat4AttributeClass

int sofa::gl::component::shader::OglFloat4AttributeClass = core::RegisterObject ( "OglFloat4Attribute" ).add< OglFloat4Attribute >()

◆ OglFloat4VariableClass

int sofa::gl::component::shader::OglFloat4VariableClass
Initial value:
= core::RegisterObject("OglFloat4Variable")
.add< OglFloat4Variable >()

◆ OglFloatAttributeClass

int sofa::gl::component::shader::OglFloatAttributeClass = core::RegisterObject ( "OglFloatAttribute" ).add< OglFloatAttribute >()

◆ OglFloatVariableClass

int sofa::gl::component::shader::OglFloatVariableClass
Initial value:
= core::RegisterObject("OglFloatVariable")
.add< OglFloatVariable >()

SINGLE FLOAT VARIABLE

◆ OglFloatVector2VariableClass

int sofa::gl::component::shader::OglFloatVector2VariableClass
Initial value:
= core::RegisterObject("OglFloatVector2Variable")
.add< OglFloatVector2Variable >()

◆ OglFloatVector3VariableClass

int sofa::gl::component::shader::OglFloatVector3VariableClass
Initial value:
= core::RegisterObject("OglFloatVector3Variable")
.add< OglFloatVector3Variable >()

◆ OglFloatVector4VariableClass

int sofa::gl::component::shader::OglFloatVector4VariableClass
Initial value:
= core::RegisterObject("OglFloatVector4Variable")
.add< OglFloatVector4Variable >()

◆ OglFloatVectorVariableClass

int sofa::gl::component::shader::OglFloatVectorVariableClass
Initial value:
= core::RegisterObject("OglFloatVectorVariable")
.add< OglFloatVectorVariable >()

FLOAT VECTOR VARIABLE

◆ OglInt2AttributeClass

int sofa::gl::component::shader::OglInt2AttributeClass = core::RegisterObject ( "OglInt2Attribute" ).add< OglInt2Attribute >()

◆ OglInt2VariableClass

int sofa::gl::component::shader::OglInt2VariableClass
Initial value:
= core::RegisterObject("OglInt2Variable")
.add< OglInt2Variable >()

◆ OglInt3AttributeClass

int sofa::gl::component::shader::OglInt3AttributeClass = core::RegisterObject ( "OglInt3Attribute" ).add< OglInt3Attribute >()

◆ OglInt3VariableClass

int sofa::gl::component::shader::OglInt3VariableClass
Initial value:
= core::RegisterObject("OglInt3Variable")
.add< OglInt3Variable >()

◆ OglInt4AttributeClass

int sofa::gl::component::shader::OglInt4AttributeClass = core::RegisterObject ( "OglInt4Attribute" ).add< OglInt4Attribute >()

◆ OglInt4VariableClass

int sofa::gl::component::shader::OglInt4VariableClass
Initial value:
= core::RegisterObject("OglInt4Variable")
.add< OglInt4Variable >()

◆ OglIntAttributeClass

int sofa::gl::component::shader::OglIntAttributeClass = core::RegisterObject ( "OglIntAttribute" ).add< OglIntAttribute >()

◆ OglIntVariableClass

int sofa::gl::component::shader::OglIntVariableClass
Initial value:
= core::RegisterObject("OglIntVariable")
.add< OglIntVariable >()

SINGLE INT VARIABLE

◆ OglIntVector2VariableClass

int sofa::gl::component::shader::OglIntVector2VariableClass
Initial value:
= core::RegisterObject("OglIntVector2Variable")
.add< OglIntVector2Variable >()

◆ OglIntVector3VariableClass

int sofa::gl::component::shader::OglIntVector3VariableClass
Initial value:
= core::RegisterObject("OglIntVector3Variable")
.add< OglIntVector3Variable >()

◆ OglIntVector4VariableClass

int sofa::gl::component::shader::OglIntVector4VariableClass
Initial value:
= core::RegisterObject("OglIntVector4Variable")
.add< OglIntVector4Variable >()

◆ OglIntVectorVariableClass

int sofa::gl::component::shader::OglIntVectorVariableClass
Initial value:
= core::RegisterObject("OglIntVectorVariable")
.add< OglIntVectorVariable >()

INT VECTOR VARIABLE

◆ OglMatrix2VariableClass

int sofa::gl::component::shader::OglMatrix2VariableClass
Initial value:
= core::RegisterObject("OglMatrix2Variable")
.add< OglMatrix2Variable >()

Matrix VARIABLE

◆ OglMatrix2x3VariableClass

int sofa::gl::component::shader::OglMatrix2x3VariableClass
Initial value:
= core::RegisterObject("OglMatrix2x3Variable")
.add< OglMatrix2x3Variable >()

◆ OglMatrix2x4VariableClass

int sofa::gl::component::shader::OglMatrix2x4VariableClass
Initial value:
= core::RegisterObject("OglMatrix2x4Variable")
.add< OglMatrix2x4Variable >()

◆ OglMatrix3VariableClass

int sofa::gl::component::shader::OglMatrix3VariableClass
Initial value:
= core::RegisterObject("OglMatrix3Variable")
.add< OglMatrix3Variable >()

◆ OglMatrix3x2VariableClass

int sofa::gl::component::shader::OglMatrix3x2VariableClass
Initial value:
= core::RegisterObject("OglMatrix3x2Variable")
.add< OglMatrix3x2Variable >()

◆ OglMatrix3x4VariableClass

int sofa::gl::component::shader::OglMatrix3x4VariableClass
Initial value:
= core::RegisterObject("OglMatrix3x4Variable")
.add< OglMatrix3x4Variable >()

◆ OglMatrix4VariableClass

int sofa::gl::component::shader::OglMatrix4VariableClass
Initial value:
= core::RegisterObject("OglMatrix4Variable")
.add< OglMatrix4Variable >()

◆ OglMatrix4VectorVariableClass

int sofa::gl::component::shader::OglMatrix4VectorVariableClass
Initial value:
= core::RegisterObject("OglMatrix4VectorVariable")
.add< OglMatrix4VectorVariable >()

Matrix vector VARIABLE

◆ OglMatrix4x2VariableClass

int sofa::gl::component::shader::OglMatrix4x2VariableClass
Initial value:
= core::RegisterObject("OglMatrix4x2Variable")
.add< OglMatrix4x2Variable >()

◆ OglMatrix4x3VariableClass

int sofa::gl::component::shader::OglMatrix4x3VariableClass
Initial value:
= core::RegisterObject("OglMatrix4x3Variable")
.add< OglMatrix4x3Variable >()

◆ OglOITShaderClass

int sofa::gl::component::shader::OglOITShaderClass
Initial value:
= core::RegisterObject("OglOITShader")
.add< OglOITShader >()

◆ OglRenderingSRGBClass

int sofa::gl::component::shader::OglRenderingSRGBClass
Initial value:
= core::RegisterObject("OglRenderingSRGB")
.add< OglRenderingSRGB >()

◆ OglShaderClass

int sofa::gl::component::shader::OglShaderClass
Initial value:
= core::RegisterObject("OglShader")
.add< OglShader >()

◆ OglShaderDefineMacroClass

int sofa::gl::component::shader::OglShaderDefineMacroClass
Initial value:
= core::RegisterObject("OglShaderDefineMacro")
.add< OglShaderDefineMacro >()

◆ OglShaderVisualModelClass

int sofa::gl::component::shader::OglShaderVisualModelClass
Initial value:
= core::RegisterObject("Visual model for OpenGL display using Glew extensions")
.add< OglShaderVisualModel >()

◆ OglShadowShaderClass

int sofa::gl::component::shader::OglShadowShaderClass
Initial value:
= core::RegisterObject("This component sets the shader system responsible of the shadowing.")
.add< OglShadowShader >()

◆ OglTexture2DClass

int sofa::gl::component::shader::OglTexture2DClass = core::RegisterObject("OglTexture2D").add< OglTexture2D >()

◆ OglTextureClass

int sofa::gl::component::shader::OglTextureClass = core::RegisterObject("OglTexture").add< OglTexture >()

◆ OglTexturePointerClass

int sofa::gl::component::shader::OglTexturePointerClass = core::RegisterObject("OglTexturePointer").add< OglTexturePointer >()

◆ OglUInt2AttributeClass

int sofa::gl::component::shader::OglUInt2AttributeClass = core::RegisterObject ( "OglUInt2Attribute" ).add< OglUInt2Attribute >()

◆ OglUInt3AttributeClass

int sofa::gl::component::shader::OglUInt3AttributeClass = core::RegisterObject ( "OglUInt3Attribute" ).add< OglUInt3Attribute >()

◆ OglUInt4AttributeClass

int sofa::gl::component::shader::OglUInt4AttributeClass = core::RegisterObject ( "OglUInt4Attribute" ).add< OglUInt4Attribute >()

◆ OglUIntAttributeClass

int sofa::gl::component::shader::OglUIntAttributeClass = core::RegisterObject ( "OglUIntAttribute" ).add< OglUIntAttribute >()

◆ OrderIndependentTransparencyManagerClass

int sofa::gl::component::shader::OrderIndependentTransparencyManagerClass
Initial value:
= core::RegisterObject("OrderIndependentTransparencyManager")
.add< OrderIndependentTransparencyManager >()

◆ PositionalLightClass

int sofa::gl::component::shader::PositionalLightClass
Initial value:
= core::RegisterObject("A positional light illuminating the scene."
"The light has a location from which the ray are starting in all direction (cannot cast shadows for now)")
.add< PositionalLight >()

◆ PostProcessManagerClass

int sofa::gl::component::shader::PostProcessManagerClass
Initial value:
= core::RegisterObject("PostProcessManager")
.add< PostProcessManager >()

◆ SpotLightClass

int sofa::gl::component::shader::SpotLightClass
Initial value:
= core::RegisterObject("A spot light illuminating the scene."
"The light has a location and a illumination cone restricting the directions"
"taken by the rays of light (can cast shadows).")
.add< SpotLight >()

◆ VisualManagerPassClass

int sofa::gl::component::shader::VisualManagerPassClass
Initial value:
= core::RegisterObject("VisualManagerPass")
.add< VisualManagerPass >()

◆ VisualManagerSecondaryPassClass

int sofa::gl::component::shader::VisualManagerSecondaryPassClass
Initial value:
= core::RegisterObject("VisualManagerSecondaryPass")
.add< VisualManagerSecondaryPass >()