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:

## 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

## OsgUniformFactory()

SurgSim::Graphics::OsgUniformFactory::OsgUniformFactory | ( |  | ) |

## ~OsgUniformFactory()

SurgSim::Graphics::OsgUniformFactory::~OsgUniformFactory | ( |  | ) |

virtual

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

- SurgSim/Graphics/OsgUniformFactory.h
- SurgSim/Graphics/OsgUniformFactory.cpp