Medical Imaging Interaction Toolkit
2016.11.0
Medical Imaging Interaction Toolkit
|
#include <vtkXMLMaterial.h>
Public Member Functions | |
vtkTypeMacro (vtkXMLMaterial, vtkObject) | |
void | PrintSelf (ostream &os, vtkIndent indent) override |
int | GetNumberOfProperties () |
int | GetNumberOfTextures () |
int | GetNumberOfVertexShaders () |
int | GetNumberOfFragmentShaders () |
int | GetNumberOfGeometryShaders () |
vtkXMLDataElement * | GetProperty (int id=0) |
vtkXMLDataElement * | GetTexture (int id=0) |
vtkXMLShader * | GetVertexShader (int id=0) |
vtkXMLShader * | GetFragmentShader (int id=0) |
vtkXMLShader * | GetGeometryShader (int id=0) |
vtkGetObjectMacro (RootElement, vtkXMLDataElement) | |
void | SetRootElement (vtkXMLDataElement *) |
int | GetShaderStyle () |
Static Public Member Functions | |
static vtkXMLMaterial * | New () |
static vtkXMLMaterial * | CreateInstance (const char *name) |
Protected Member Functions | |
vtkXMLMaterial () | |
~vtkXMLMaterial () | |
Protected Attributes | |
vtkXMLDataElement * | RootElement |
vtkXMLMaterialInternals * | Internals |
Definition at line 50 of file vtkXMLMaterial.h.
|
protected |
Definition at line 66 of file vtkXMLMaterial.cpp.
References Internals, and RootElement.
|
protected |
Definition at line 73 of file vtkXMLMaterial.cpp.
References Internals, and SetRootElement().
|
static |
Definition at line 79 of file vtkXMLMaterial.cpp.
References filename, vtkXMLShader::LocateFile(), New(), vtkXMLMaterialParser::New(), vtkXMLMaterialParser::Parse(), and vtkXMLMaterialParser::SetMaterial().
vtkXMLShader * vtkXMLMaterial::GetFragmentShader | ( | int | id = 0 | ) |
Definition at line 221 of file vtkXMLMaterial.cpp.
References GetNumberOfFragmentShaders(), and Internals.
Referenced by GetShaderStyle().
vtkXMLShader * vtkXMLMaterial::GetGeometryShader | ( | int | id = 0 | ) |
Definition at line 230 of file vtkXMLMaterial.cpp.
References GetNumberOfGeometryShaders(), and Internals.
Referenced by GetShaderStyle().
int vtkXMLMaterial::GetNumberOfFragmentShaders | ( | ) |
Definition at line 180 of file vtkXMLMaterial.cpp.
References Internals.
Referenced by GetFragmentShader(), and PrintSelf().
int vtkXMLMaterial::GetNumberOfGeometryShaders | ( | ) |
Definition at line 185 of file vtkXMLMaterial.cpp.
References Internals.
Referenced by GetGeometryShader().
int vtkXMLMaterial::GetNumberOfProperties | ( | ) |
Definition at line 162 of file vtkXMLMaterial.cpp.
References Internals.
Referenced by GetProperty(), and PrintSelf().
int vtkXMLMaterial::GetNumberOfTextures | ( | ) |
Definition at line 168 of file vtkXMLMaterial.cpp.
References Internals.
Referenced by GetTexture().
int vtkXMLMaterial::GetNumberOfVertexShaders | ( | ) |
Definition at line 174 of file vtkXMLMaterial.cpp.
References Internals.
Referenced by GetVertexShader(), and PrintSelf().
vtkXMLDataElement * vtkXMLMaterial::GetProperty | ( | int | id = 0 | ) |
Definition at line 191 of file vtkXMLMaterial.cpp.
References GetNumberOfProperties(), and Internals.
int vtkXMLMaterial::GetShaderStyle | ( | ) |
Definition at line 245 of file vtkXMLMaterial.cpp.
References GetFragmentShader(), GetGeometryShader(), vtkXMLShader::GetStyle(), and GetVertexShader().
vtkXMLDataElement * vtkXMLMaterial::GetTexture | ( | int | id = 0 | ) |
Definition at line 201 of file vtkXMLMaterial.cpp.
References GetNumberOfTextures(), and Internals.
vtkXMLShader * vtkXMLMaterial::GetVertexShader | ( | int | id = 0 | ) |
Definition at line 211 of file vtkXMLMaterial.cpp.
References GetNumberOfVertexShaders(), and Internals.
Referenced by GetShaderStyle().
|
static |
Referenced by CreateInstance(), and vtkXMLMaterialParser::vtkXMLMaterialParser().
|
override |
Definition at line 284 of file vtkXMLMaterial.cpp.
References GetNumberOfFragmentShaders(), GetNumberOfProperties(), GetNumberOfVertexShaders(), and RootElement.
Referenced by vtkXMLMaterialParser::PrintSelf().
void vtkXMLMaterial::SetRootElement | ( | vtkXMLDataElement * | root | ) |
Definition at line 109 of file vtkXMLMaterial.cpp.
References vtkXMLShader::GetName(), vtkXMLShader::GetScope(), Internals, vtkXMLShader::New(), RootElement, vtkXMLShader::SCOPE_FRAGMENT, vtkXMLShader::SCOPE_GEOMETRY, vtkXMLShader::SCOPE_VERTEX, and vtkXMLShader::SetRootElement().
Referenced by vtkXMLMaterialParser::EndElement(), and ~vtkXMLMaterial().
vtkXMLMaterial::vtkGetObjectMacro | ( | RootElement | , |
vtkXMLDataElement | |||
) |
vtkXMLMaterial::vtkTypeMacro | ( | vtkXMLMaterial | , |
vtkObject | |||
) |
|
protected |
Definition at line 115 of file vtkXMLMaterial.h.
Referenced by GetFragmentShader(), GetGeometryShader(), GetNumberOfFragmentShaders(), GetNumberOfGeometryShaders(), GetNumberOfProperties(), GetNumberOfTextures(), GetNumberOfVertexShaders(), GetProperty(), GetTexture(), GetVertexShader(), SetRootElement(), vtkXMLMaterial(), and ~vtkXMLMaterial().
|
protected |
Definition at line 114 of file vtkXMLMaterial.h.
Referenced by PrintSelf(), SetRootElement(), and vtkXMLMaterial().