VTK
|
Provide access to elements in Material files. More...
#include <vtkXMLMaterialReader.h>
Public Types | |
typedef vtkObject | Superclass |
Public Member Functions | |
virtual int | IsA (const char *type) |
vtkXMLMaterialReader * | NewInstance () const |
void | PrintSelf (ostream &os, vtkIndent indent) |
void | ReadMaterial () |
virtual void | SetFileName (const char *) |
virtual char * | GetFileName () |
Static Public Member Functions | |
static int | IsTypeOf (const char *type) |
static vtkXMLMaterialReader * | SafeDownCast (vtkObjectBase *o) |
static vtkXMLMaterialReader * | New () |
Protected Member Functions | |
virtual vtkObjectBase * | NewInstanceInternal () const |
virtual void | CreateXMLParser () |
virtual void | DestroyXMLParser () |
Protected Attributes | |
char * | FileName |
vtkXMLMaterialParser * | XMLParser |
vtkTimeStamp | ParseTime |
vtkXMLMaterial * | GetMaterial () |
vtkXMLMaterialReader () | |
~vtkXMLMaterialReader () |
Provide access to elements in Material files.
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 57 of file vtkXMLMaterialReader.h.
Reimplemented from vtkObject.
Definition at line 60 of file vtkXMLMaterialReader.h.
vtkXMLMaterialReader::vtkXMLMaterialReader | ( | ) | [protected] |
Get the Material representation read by the reader.
vtkXMLMaterialReader::~vtkXMLMaterialReader | ( | ) | [protected] |
Get the Material representation read by the reader.
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 vtkTypeMacro 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 vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkObject.
static vtkXMLMaterialReader* vtkXMLMaterialReader::SafeDownCast | ( | vtkObjectBase * | o | ) | [static] |
Reimplemented from vtkObject.
virtual vtkObjectBase* vtkXMLMaterialReader::NewInstanceInternal | ( | ) | const [protected, virtual] |
Reimplemented from vtkObject.
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 referred to in FileName. If the Reader hasn't changed since the last ReadMaterial(), it does not read the file again.
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 89 of file vtkXMLMaterialReader.h.
vtkXMLMaterialParser* vtkXMLMaterialReader::XMLParser [protected] |
Definition at line 90 of file vtkXMLMaterialReader.h.
vtkTimeStamp vtkXMLMaterialReader::ParseTime [protected] |
Definition at line 91 of file vtkXMLMaterialReader.h.