#include <vtkXMLMaterialReader.h>


vtkXMLMaterialReader provides access to three types of vtkXMLDataElement found in XML Material Files. This class sorts them by type and integer id from 0-N for N elements of a specific type starting with the first instance found.
Definition at line 56 of file vtkXMLMaterialReader.h.
Public Types | |
| typedef vtkObject | Superclass |
Public Member Functions | |
| virtual const char * | GetClassName () |
| virtual int | IsA (const char *type) |
| void | PrintSelf (ostream &os, vtkIndent indent) |
| void | ReadMaterial () |
| vtkXMLMaterial * | GetMaterial () |
| virtual void | SetFileName (const char *) |
| virtual char * | GetFileName () |
Static Public Member Functions | |
| static int | IsTypeOf (const char *type) |
| static vtkXMLMaterialReader * | SafeDownCast (vtkObject *o) |
| static vtkXMLMaterialReader * | New () |
Protected Member Functions | |
| vtkXMLMaterialReader () | |
| ~vtkXMLMaterialReader () | |
| virtual void | CreateXMLParser () |
| virtual void | DestroyXMLParser () |
Protected Attributes | |
| char * | FileName |
| vtkXMLMaterialParser * | XMLParser |
| vtkTimeStamp | ParseTime |
| vtkXMLMaterialReader::vtkXMLMaterialReader | ( | ) | [protected] |
| vtkXMLMaterialReader::~vtkXMLMaterialReader | ( | ) | [protected] |
| virtual const char* vtkXMLMaterialReader::GetClassName | ( | ) | [virtual] |
Reimplemented from vtkObject.
| static int vtkXMLMaterialReader::IsTypeOf | ( | const char * | name | ) | [static] |
Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeRevisionMacro found in vtkSetGet.h.
Reimplemented from vtkObject.
| virtual int vtkXMLMaterialReader::IsA | ( | const char * | name | ) | [virtual] |
Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeRevisionMacro found in vtkSetGet.h.
Reimplemented from vtkObject.
| static vtkXMLMaterialReader* vtkXMLMaterialReader::SafeDownCast | ( | vtkObject * | o | ) | [static] |
Reimplemented from vtkObject.
| void vtkXMLMaterialReader::PrintSelf | ( | ostream & | os, | |
| vtkIndent | indent | |||
| ) | [virtual] |
| static vtkXMLMaterialReader* vtkXMLMaterialReader::New | ( | ) | [static] |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkObject.
| virtual void vtkXMLMaterialReader::SetFileName | ( | const char * | ) | [virtual] |
Set and get file name.
| virtual char* vtkXMLMaterialReader::GetFileName | ( | ) | [virtual] |
Set and get file name.
| void vtkXMLMaterialReader::ReadMaterial | ( | ) |
Read the material file refered to in FileName. If the Reader hasn't changed since the last ReadMaterial(), it does not read the file again.
| vtkXMLMaterial* vtkXMLMaterialReader::GetMaterial | ( | ) |
Get the Material representation read by the reader.
| virtual void vtkXMLMaterialReader::CreateXMLParser | ( | ) | [protected, virtual] |
Create and vtkXMLParser to read the file
| virtual void vtkXMLMaterialReader::DestroyXMLParser | ( | ) | [protected, virtual] |
Destroys the vtkXMLParser.
char* vtkXMLMaterialReader::FileName [protected] |
Definition at line 86 of file vtkXMLMaterialReader.h.
vtkXMLMaterialParser* vtkXMLMaterialReader::XMLParser [protected] |
Definition at line 87 of file vtkXMLMaterialReader.h.
vtkTimeStamp vtkXMLMaterialReader::ParseTime [protected] |
Definition at line 88 of file vtkXMLMaterialReader.h.
1.5.6