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

#include <mitkVtkShaderRepository.h>

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

Public Types

enum  Type {
  glsl_none, glsl_float, glsl_vec2, glsl_vec3,
  glsl_vec4, glsl_int, glsl_ivec2, glsl_ivec3,
  glsl_ivec4
}
 

Public Member Functions

 mitkClassMacroItkParent (Uniform, itk::Object) static Pointer New()
 
 Uniform ()
 
 ~Uniform ()
 
void LoadFromXML (vtkXMLDataElement *e)
 

Public Attributes

Type type
 
std::string name
 
int defaultInt [4]
 
float defaultFloat [4]
 

Detailed Description

Definition at line 47 of file mitkVtkShaderRepository.h.

Member Enumeration Documentation

Enumerator
glsl_none 
glsl_float 
glsl_vec2 
glsl_vec3 
glsl_vec4 
glsl_int 
glsl_ivec2 
glsl_ivec3 
glsl_ivec4 

Definition at line 52 of file mitkVtkShaderRepository.h.

Constructor & Destructor Documentation

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

Constructor

Definition at line 267 of file mitkVtkShaderRepository.cpp.

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

Destructor

Definition at line 271 of file mitkVtkShaderRepository.cpp.

Member Function Documentation

void mitk::VtkShaderRepository::Shader::Uniform::LoadFromXML ( vtkXMLDataElement *  e)

Definition at line 275 of file mitkVtkShaderRepository.cpp.

References SR_WARN.

mitk::VtkShaderRepository::Shader::Uniform::mitkClassMacroItkParent ( Uniform  ,
itk::Object   
)

Member Data Documentation

float mitk::VtkShaderRepository::Shader::Uniform::defaultFloat[4]

Definition at line 78 of file mitkVtkShaderRepository.h.

int mitk::VtkShaderRepository::Shader::Uniform::defaultInt[4]

Definition at line 77 of file mitkVtkShaderRepository.h.

std::string mitk::VtkShaderRepository::Shader::Uniform::name

Definition at line 75 of file mitkVtkShaderRepository.h.

Type mitk::VtkShaderRepository::Shader::Uniform::type

Definition at line 74 of file mitkVtkShaderRepository.h.


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