Implementation of the vtkXMLParser interface for reading mitk::PointSets.
More...
#include <vtkPointSetXMLParser.h>
Implementation of the vtkXMLParser interface for reading mitk::PointSets.
This class implements the XMLParser interface of the vtkXMLParser which is based on expat. It is used by the mitk::PointSetReader and is NOT INTENDED TO BE USED FROM THE END-USER. If you want to read point sets, use the mitk::PointSetReader.
- Deprecated:
- (as of 2014_10) Use mitk::IOUtils or mitk::FileReaderRegistry instead.
Definition at line 35 of file vtkPointSetXMLParser.h.
◆ ParseStack
◆ PointIdentifier
◆ PointSetList
◆ PointSetType
◆ PointType
◆ vtkPointSetXMLParser()
| mitk::vtkPointSetXMLParser::vtkPointSetXMLParser |
( |
| ) |
|
|
protected |
◆ ~vtkPointSetXMLParser()
| mitk::vtkPointSetXMLParser::~vtkPointSetXMLParser |
( |
| ) |
|
|
overrideprotected |
◆ CharacterDataHandler()
| void mitk::vtkPointSetXMLParser::CharacterDataHandler |
( |
const char * |
inData, |
|
|
int |
inLength |
|
) |
| |
|
override |
Handler function which is called, if character data has been parsed by expat.
- Parameters
-
| inData | a char array containing the parsed string data |
| inLength | the length of the parsed data string. |
◆ CleanupParser()
| int mitk::vtkPointSetXMLParser::CleanupParser |
( |
| ) |
|
|
override |
◆ EndElement()
| void mitk::vtkPointSetXMLParser::EndElement |
( |
const char * |
name | ) |
|
|
override |
Handler function which is called, when a xml end-tag has been parsed.
◆ GetParsedPointSets()
| virtual PointSetList mitk::vtkPointSetXMLParser::GetParsedPointSets |
( |
| ) |
|
|
virtual |
- Returns
- the list of point sets which have been read from file. NOTE: your have to call the Parse() function, before this function.
◆ InitializeParser()
| int mitk::vtkPointSetXMLParser::InitializeParser |
( |
| ) |
|
|
override |
◆ New()
◆ ParsePointIdentifier()
| virtual PointIdentifier mitk::vtkPointSetXMLParser::ParsePointIdentifier |
( |
const std::string & |
data | ) |
|
|
virtual |
Converts the given data to an PointIdentifier
◆ ParseScalarType()
| virtual mitk::ScalarType mitk::vtkPointSetXMLParser::ParseScalarType |
( |
const std::string & |
data | ) |
|
|
virtual |
◆ StartElement()
| void mitk::vtkPointSetXMLParser::StartElement |
( |
const char * |
name, |
|
|
const char ** |
atts |
|
) |
| |
|
override |
Handler function which is called, when a new xml start-tag has been parsed.
◆ vtkTypeMacro()
◆ m_CurId
| std::string mitk::vtkPointSetXMLParser::m_CurId |
|
protected |
◆ m_CurrentPoint
| PointType mitk::vtkPointSetXMLParser::m_CurrentPoint |
|
protected |
◆ m_CurrentPointId
◆ m_CurrentPointSet
| PointSetType::Pointer mitk::vtkPointSetXMLParser::m_CurrentPointSet |
|
protected |
◆ m_CurXString
| std::string mitk::vtkPointSetXMLParser::m_CurXString |
|
protected |
◆ m_CurYString
| std::string mitk::vtkPointSetXMLParser::m_CurYString |
|
protected |
◆ m_CurZString
| std::string mitk::vtkPointSetXMLParser::m_CurZString |
|
protected |
◆ m_ParseStack
| ParseStack mitk::vtkPointSetXMLParser::m_ParseStack |
|
protected |
A stack containing the parsed start-tags. If an end tag is encountered, it is matched with the top element of the stack.
Definition at line 99 of file vtkPointSetXMLParser.h.
◆ m_PointSetList
◆ m_PreviousLocale
| std::locale mitk::vtkPointSetXMLParser::m_PreviousLocale |
|
protected |
The documentation for this class was generated from the following file: