17 #ifndef MITKISHADERREPOSITORY_H
18 #define MITKISHADERREPOSITORY_H
20 #include <itkLightObject.h>
28 class vtkShaderProgram2;
58 std::
string GetMaterialXml() const;
64 void SetName(const
std::
string &name);
65 void SetMaterialXml(const
std::
string &xml);
69 Shader(const Shader &);
70 Shader &operator=(const Shader &);
78 virtual void Activate() = 0;
79 virtual void Deactivate() = 0;
85 virtual std::list<Shader::Pointer> GetShaders()
const = 0;
122 virtual int LoadShader(std::istream &stream,
const std::string &name) = 0;
130 virtual bool UnloadShader(
int id) = 0;
136 #endif // MITKISHADERREPOSITORY_H
Organizes the rendering process.
DataCollection - Class to facilitate loading/accessing structured data.
Management class for vtkShader XML descriptions.
#define mitkClassMacroItkParent(className, SuperClassName)
static std::string GetName(std::string fileName, std::string suffix)
MITK_DECLARE_SERVICE_INTERFACE(mitk::ISimulationService,"org.mitk.ISimulationService")
Class for nodes of the DataTree.