All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
SurgSim::Graphics::OsgUniformFactory Class Reference

This class can create the appropriate OsgUniform from an OpenGl glsl type, use the appropriate name from glsl in the create() function to recieve the correctly typed uniform. More...

#include <SurgSim/Graphics/OsgUniformFactory.h>

Inheritance diagram for SurgSim::Graphics::OsgUniformFactory:
Inheritance graph
[legend]
Collaboration diagram for SurgSim::Graphics::OsgUniformFactory:
Collaboration graph
[legend]

Public Member Functions

 OsgUniformFactory ()
 
virtual ~OsgUniformFactory ()
 
- Public Member Functions inherited from SurgSim::Framework::ObjectFactory1< UniformBase, std::string >
bool registerClass (const std::string &className)
 Register a class with the factory. More...
 
std::shared_ptr< UniformBase > create (const std::string &className, const std::string &val)
 Create an instance of a class based on the specific class name, whose constructor takes 1 parameter. More...
 
bool isRegistered (const std::string &className) const
 Check whether the class is registered in the factory. More...
 

Detailed Description

This class can create the appropriate OsgUniform from an OpenGl glsl type, use the appropriate name from glsl in the create() function to recieve the correctly typed uniform.

Constructor & Destructor Documentation

SurgSim::Graphics::OsgUniformFactory::OsgUniformFactory ( )
SurgSim::Graphics::OsgUniformFactory::~OsgUniformFactory ( )
virtual

The documentation for this class was generated from the following files: