Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
mitk::VtkShaderRepository::Shader Class Reference

#include <mitkVtkShaderRepository.h>

Inheritance diagram for mitk::VtkShaderRepository::Shader:
Collaboration diagram for mitk::VtkShaderRepository::Shader:

Classes

class  Uniform
 

Public Member Functions

 mitkClassMacro (Shader, IShaderRepository::Shader) static Pointer New()
 
 Shader ()
 
 ~Shader ()
 
void SetVertexShaderCode (const std::string &code)
 
std::string GetVertexShaderCode () const
 
void SetFragmentShaderCode (const std::string &code)
 
std::string GetFragmentShaderCode () const
 
void SetGeometryShaderCode (const std::string &code)
 
std::string GetGeometryShaderCode () const
 
std::list< Uniform::Pointer > GetUniforms () const
 
- Public Member Functions inherited from mitk::IShaderRepository::Shader
virtual std::vector< std::string > GetClassHierarchy () const
 
virtual const char * GetClassName () const
 
 ~Shader ()
 
int GetId () const
 
std::string GetName () const
 
std::string GetMaterialXml () const
 

Public Attributes

std::list< Uniform::Pointer > uniforms
 

Additional Inherited Members

- Public Types inherited from mitk::IShaderRepository::Shader
typedef Shader Self
 
typedef itk::LightObject Superclass
 
typedef itk::SmartPointer< SelfPointer
 
typedef itk::SmartPointer< const SelfConstPointer
 
- Static Public Member Functions inherited from mitk::IShaderRepository::Shader
static const char * GetStaticNameOfClass ()
 
static Pointer New ()
 
- Protected Member Functions inherited from mitk::IShaderRepository::Shader
 Shader ()
 
void SetId (int id)
 
void SetName (const std::string &name)
 
void SetMaterialXml (const std::string &xml)
 

Detailed Description

Definition at line 42 of file mitkVtkShaderRepository.h.

Constructor & Destructor Documentation

mitk::VtkShaderRepository::Shader::Shader ( )

Constructor

Definition at line 135 of file mitkVtkShaderRepository.cpp.

mitk::VtkShaderRepository::Shader::~Shader ( )

Destructor

Definition at line 139 of file mitkVtkShaderRepository.cpp.

Member Function Documentation

std::string mitk::VtkShaderRepository::Shader::GetFragmentShaderCode ( ) const

Definition at line 158 of file mitkVtkShaderRepository.cpp.

std::string mitk::VtkShaderRepository::Shader::GetGeometryShaderCode ( ) const

Definition at line 168 of file mitkVtkShaderRepository.cpp.

std::list< mitk::VtkShaderRepository::Shader::Uniform::Pointer > mitk::VtkShaderRepository::Shader::GetUniforms ( ) const

Definition at line 173 of file mitkVtkShaderRepository.cpp.

std::string mitk::VtkShaderRepository::Shader::GetVertexShaderCode ( ) const

Definition at line 148 of file mitkVtkShaderRepository.cpp.

mitk::VtkShaderRepository::Shader::mitkClassMacro ( Shader  ,
IShaderRepository::Shader   
)
void mitk::VtkShaderRepository::Shader::SetFragmentShaderCode ( const std::string &  code)

Definition at line 153 of file mitkVtkShaderRepository.cpp.

void mitk::VtkShaderRepository::Shader::SetGeometryShaderCode ( const std::string &  code)

Definition at line 163 of file mitkVtkShaderRepository.cpp.

void mitk::VtkShaderRepository::Shader::SetVertexShaderCode ( const std::string &  code)

Definition at line 143 of file mitkVtkShaderRepository.cpp.

Member Data Documentation

std::list<Uniform::Pointer> mitk::VtkShaderRepository::Shader::uniforms

Definition at line 83 of file mitkVtkShaderRepository.h.


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