Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
vtkXMLMaterial Class Reference

#include <vtkXMLMaterial.h>

Inheritance diagram for vtkXMLMaterial:
Collaboration diagram for vtkXMLMaterial:

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)
 
vtkXMLShaderGetVertexShader (int id=0)
 
vtkXMLShaderGetFragmentShader (int id=0)
 
vtkXMLShaderGetGeometryShader (int id=0)
 
 vtkGetObjectMacro (RootElement, vtkXMLDataElement)
 
void SetRootElement (vtkXMLDataElement *)
 
int GetShaderStyle ()
 

Static Public Member Functions

static vtkXMLMaterialNew ()
 
static vtkXMLMaterialCreateInstance (const char *name)
 

Protected Member Functions

 vtkXMLMaterial ()
 
 ~vtkXMLMaterial ()
 

Protected Attributes

vtkXMLDataElement * RootElement
 
vtkXMLMaterialInternals * Internals
 

Detailed Description

Definition at line 50 of file vtkXMLMaterial.h.

Constructor & Destructor Documentation

vtkXMLMaterial::vtkXMLMaterial ( )
protected

Definition at line 66 of file vtkXMLMaterial.cpp.

References Internals, and RootElement.

vtkXMLMaterial::~vtkXMLMaterial ( )
protected

Definition at line 73 of file vtkXMLMaterial.cpp.

References Internals, and SetRootElement().

Member Function Documentation

vtkXMLMaterial * vtkXMLMaterial::CreateInstance ( const char *  name)
static
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 ( )
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 vtkXMLMaterial* vtkXMLMaterial::New ( )
static
void vtkXMLMaterial::PrintSelf ( ostream &  os,
vtkIndent  indent 
)
override
vtkXMLMaterial::vtkGetObjectMacro ( RootElement  ,
vtkXMLDataElement   
)
vtkXMLMaterial::vtkTypeMacro ( vtkXMLMaterial  ,
vtkObject   
)

Member Data Documentation

vtkXMLDataElement* vtkXMLMaterial::RootElement
protected

Definition at line 114 of file vtkXMLMaterial.h.

Referenced by PrintSelf(), SetRootElement(), and vtkXMLMaterial().


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