16 #ifndef SURGSIM_GRAPHICS_OSGUNIFORMBASE_H 17 #define SURGSIM_GRAPHICS_OSGUNIFORMBASE_H 19 #include "SurgSim/Graphics/Uniform.h" 21 #include <osg/StateSet> 22 #include <osg/Uniform> 47 return m_uniform->getName();
53 virtual void set(
const YAML::Node& node) = 0;
57 virtual void addToStateSet(osg::StateSet* stateSet);
61 virtual void removeFromStateSet(osg::StateSet* stateSet);
88 struct convert<
std::shared_ptr<SurgSim::Graphics::OsgUniformBase>>
90 static Node encode(
const std::shared_ptr<SurgSim::Graphics::OsgUniformBase> rhs);
91 static bool decode(
const Node& node, std::shared_ptr<SurgSim::Graphics::OsgUniformBase>& rhs);
97 #endif // SURGSIM_GRAPHICS_OSGUNIFORMBASE_H Wraps glewInit() to separate the glew opengl definitions from the osg opengl definitions only imgui n...
Definition: AddRandomSphereBehavior.cpp:36
Definition: MockObjects.h:47
Definition: DataStructuresConvert.h:28