Medical Imaging Interaction Toolkit
2016.11.0
Medical Imaging Interaction Toolkit
|
#include <vtkXMLShader.h>
Public Types | |
enum | ScopeCodes { SCOPE_NONE, SCOPE_MIXED, SCOPE_VERTEX, SCOPE_FRAGMENT, SCOPE_GEOMETRY } |
Public Member Functions | |
vtkTypeMacro (vtkXMLShader, vtkObject) | |
void | PrintSelf (ostream &os, vtkIndent indent) override |
vtkGetObjectMacro (RootElement, vtkXMLDataElement) | |
void | SetRootElement (vtkXMLDataElement *) |
int | GetScope () |
int | GetStyle () |
const char * | GetName () |
const char * | GetEntry () |
const char * | GetCode () |
const char ** | GetArgs () |
Static Public Member Functions | |
static vtkXMLShader * | New () |
static char * | LocateFile (const char *filename) |
Protected Member Functions | |
vtkXMLShader () | |
~vtkXMLShader () | |
vtkSetStringMacro (Code) | |
void | SetSourceLibraryElement (vtkXMLDataElement *) |
void | CleanupArgs () |
Protected Attributes | |
char * | Code |
vtkXMLDataElement * | RootElement |
vtkXMLDataElement * | SourceLibraryElement |
char ** | Args |
Definition at line 48 of file vtkXMLShader.h.
Enumerator | |
---|---|
SCOPE_NONE | |
SCOPE_MIXED | |
SCOPE_VERTEX | |
SCOPE_FRAGMENT | |
SCOPE_GEOMETRY |
Definition at line 100 of file vtkXMLShader.h.
|
protected |
Definition at line 42 of file vtkXMLShader.cpp.
|
protected |
Definition at line 47 of file vtkXMLShader.cpp.
References CleanupArgs(), RootElement, and SetSourceLibraryElement().
|
protected |
Definition at line 225 of file vtkXMLShader.cpp.
References Args.
Referenced by GetArgs(), and ~vtkXMLShader().
const char ** vtkXMLShader::GetArgs | ( | ) |
Definition at line 192 of file vtkXMLShader.cpp.
References Args, CleanupArgs(), and RootElement.
Referenced by PrintSelf().
const char * vtkXMLShader::GetCode | ( | ) |
Definition at line 219 of file vtkXMLShader.cpp.
References RootElement.
const char * vtkXMLShader::GetEntry | ( | ) |
const char * vtkXMLShader::GetName | ( | ) |
Definition at line 180 of file vtkXMLShader.cpp.
References RootElement.
Referenced by PrintSelf(), and vtkXMLMaterial::SetRootElement().
int vtkXMLShader::GetScope | ( | ) |
Definition at line 118 of file vtkXMLShader.cpp.
References RootElement, SCOPE_FRAGMENT, SCOPE_GEOMETRY, SCOPE_NONE, and SCOPE_VERTEX.
Referenced by PrintSelf(), and vtkXMLMaterial::SetRootElement().
int vtkXMLShader::GetStyle | ( | ) |
Definition at line 145 of file vtkXMLShader.cpp.
References RootElement.
Referenced by vtkXMLMaterial::GetShaderStyle().
|
static |
Definition at line 70 of file vtkXMLShader.cpp.
References filename.
Referenced by vtkXMLMaterial::CreateInstance().
|
static |
Referenced by vtkXMLMaterial::SetRootElement().
|
override |
Definition at line 241 of file vtkXMLShader.cpp.
References GetArgs(), GetEntry(), GetName(), GetScope(), RootElement, SCOPE_FRAGMENT, SCOPE_GEOMETRY, SCOPE_MIXED, SCOPE_NONE, and SCOPE_VERTEX.
void vtkXMLShader::SetRootElement | ( | vtkXMLDataElement * | root | ) |
Definition at line 60 of file vtkXMLShader.cpp.
References RootElement, and SetSourceLibraryElement().
Referenced by vtkXMLMaterial::SetRootElement().
|
protected |
Referenced by SetRootElement(), and ~vtkXMLShader().
vtkXMLShader::vtkGetObjectMacro | ( | RootElement | , |
vtkXMLDataElement | |||
) |
|
protected |
vtkXMLShader::vtkTypeMacro | ( | vtkXMLShader | , |
vtkObject | |||
) |
|
protected |
Definition at line 121 of file vtkXMLShader.h.
Referenced by CleanupArgs(), and GetArgs().
|
protected |
Definition at line 114 of file vtkXMLShader.h.
|
protected |
Definition at line 117 of file vtkXMLShader.h.
Referenced by GetArgs(), GetCode(), GetEntry(), GetName(), GetScope(), GetStyle(), PrintSelf(), SetRootElement(), and ~vtkXMLShader().
|
protected |
Definition at line 118 of file vtkXMLShader.h.