Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
vtkXMLMaterialParser Class Reference

#include <vtkXMLMaterialParser.h>

Inheritance diagram for vtkXMLMaterialParser:
Collaboration diagram for vtkXMLMaterialParser:

Public Member Functions

 vtkTypeMacro (vtkXMLMaterialParser, vtkXMLParser)
 
void PrintSelf (ostream &os, vtkIndent indent) override
 
 vtkGetObjectMacro (Material, vtkXMLMaterial)
 
void SetMaterial (vtkXMLMaterial *)
 
virtual int Parse () override
 
virtual int Parse (const char *inputString) override
 
virtual int Parse (const char *inputString, unsigned int length) override
 
virtual int InitializeParser () override
 

Static Public Member Functions

static vtkXMLMaterialParserNew ()
 

Protected Member Functions

 vtkXMLMaterialParser ()
 
 ~vtkXMLMaterialParser ()
 
virtual void StartElement (const char *name, const char **atts) override
 
virtual void EndElement (const char *) override
 
virtual void CharacterDataHandler (const char *data, int length) override
 

Protected Attributes

vtkXMLMaterialMaterial
 
vtkXMLMaterialParserInternals * Internals
 

Detailed Description

Definition at line 93 of file vtkXMLMaterialParser.h.

Constructor & Destructor Documentation

vtkXMLMaterialParser::vtkXMLMaterialParser ( )
protected

Definition at line 65 of file vtkXMLMaterialParser.cpp.

References Internals, Material, and vtkXMLMaterial::New().

vtkXMLMaterialParser::~vtkXMLMaterialParser ( )
protected

Definition at line 74 of file vtkXMLMaterialParser.cpp.

References Internals, and SetMaterial().

Member Function Documentation

void vtkXMLMaterialParser::CharacterDataHandler ( const char *  data,
int  length 
)
overrideprotectedvirtual

Definition at line 144 of file vtkXMLMaterialParser.cpp.

References Internals.

void vtkXMLMaterialParser::EndElement ( const char *  )
overrideprotectedvirtual

Definition at line 127 of file vtkXMLMaterialParser.cpp.

References Internals, Material, and vtkXMLMaterial::SetRootElement().

int vtkXMLMaterialParser::InitializeParser ( )
overridevirtual

Definition at line 100 of file vtkXMLMaterialParser.cpp.

References Internals.

static vtkXMLMaterialParser* vtkXMLMaterialParser::New ( )
static
int vtkXMLMaterialParser::Parse ( )
overridevirtual

Definition at line 93 of file vtkXMLMaterialParser.cpp.

References Internals.

Referenced by vtkXMLMaterial::CreateInstance().

int vtkXMLMaterialParser::Parse ( const char *  inputString)
overridevirtual

Definition at line 81 of file vtkXMLMaterialParser.cpp.

int vtkXMLMaterialParser::Parse ( const char *  inputString,
unsigned int  length 
)
overridevirtual

Definition at line 87 of file vtkXMLMaterialParser.cpp.

void vtkXMLMaterialParser::PrintSelf ( ostream &  os,
vtkIndent  indent 
)
override

Definition at line 161 of file vtkXMLMaterialParser.cpp.

References Material, and vtkXMLMaterial::PrintSelf().

void vtkXMLMaterialParser::SetMaterial ( vtkXMLMaterial )
void vtkXMLMaterialParser::StartElement ( const char *  name,
const char **  atts 
)
overrideprotectedvirtual

Definition at line 111 of file vtkXMLMaterialParser.cpp.

References Internals, and mitk::New().

vtkXMLMaterialParser::vtkGetObjectMacro ( Material  ,
vtkXMLMaterial   
)
vtkXMLMaterialParser::vtkTypeMacro ( vtkXMLMaterialParser  ,
vtkXMLParser   
)

Member Data Documentation

vtkXMLMaterialParserInternals* vtkXMLMaterialParser::Internals
protected
vtkXMLMaterial* vtkXMLMaterialParser::Material
protected

Definition at line 133 of file vtkXMLMaterialParser.h.

Referenced by EndElement(), PrintSelf(), and vtkXMLMaterialParser().


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