ITK  4.1.0
Insight Segmentation and Registration Toolkit
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes
itk::PolygonGroupSpatialObjectXMLFileReader Class Reference

#include <itkPolygonGroupSpatialObjectXMLFile.h>

+ Inheritance diagram for itk::PolygonGroupSpatialObjectXMLFileReader:
+ Collaboration diagram for itk::PolygonGroupSpatialObjectXMLFileReader:

List of all members.

Public Types

typedef SmartPointer< SelfPointer
typedef std::vector< PointTypePointListType
typedef SpatialObjectPoint< 3 > PointType
typedef PGroupSpatialObjectType PolygonGroupType
typedef PolygonSpatialObject< 3 > PolygonSpatialObjectType
typedef
PolygonGroupSpatialObjectXMLFileReader 
Self
typedef XMLReader
< PGroupSpatialObjectType
Superclass

Public Member Functions

virtual int CanReadFile (const char *name)
virtual ::itk::LightObject::Pointer CreateAnother (void) const
virtual const char * GetNameOfClass () const

Static Public Member Functions

static Pointer New ()

Protected Member Functions

virtual void CharacterDataHandler (const char *inData, int inLength)
virtual void EndElement (const char *name)
 PolygonGroupSpatialObjectXMLFileReader ()
virtual void StartElement (const char *name, const char **atts)
virtual ~PolygonGroupSpatialObjectXMLFileReader ()

Private Member Functions

void operator= (const Self &)
 PolygonGroupSpatialObjectXMLFileReader (const Self &)

Private Attributes

std::string m_CurCharacterData
PointListType m_CurPointList
PolygonSpatialObjectType::Pointer m_CurPoly
PGroupSpatialObjectType::Pointer m_PGroup

Detailed Description

Reads an XML-format file containing a list of polygons, and creates a corresponding PolygonGroupSpatialObject

Definition at line 35 of file itkPolygonGroupSpatialObjectXMLFile.h.


Member Typedef Documentation

Reimplemented from itk::LightProcessObject.

Definition at line 42 of file itkPolygonGroupSpatialObjectXMLFile.h.

Definition at line 47 of file itkPolygonGroupSpatialObjectXMLFile.h.

Definition at line 46 of file itkPolygonGroupSpatialObjectXMLFile.h.

Definition at line 44 of file itkPolygonGroupSpatialObjectXMLFile.h.

Definition at line 45 of file itkPolygonGroupSpatialObjectXMLFile.h.

Standard typedefs

Reimplemented from itk::XMLReader< PGroupSpatialObjectType >.

Definition at line 40 of file itkPolygonGroupSpatialObjectXMLFile.h.

Reimplemented from itk::LightProcessObject.

Definition at line 41 of file itkPolygonGroupSpatialObjectXMLFile.h.


Constructor & Destructor Documentation

Definition at line 60 of file itkPolygonGroupSpatialObjectXMLFile.h.

Definition at line 61 of file itkPolygonGroupSpatialObjectXMLFile.h.


Member Function Documentation

virtual int itk::PolygonGroupSpatialObjectXMLFileReader::CanReadFile ( const char *  name) [virtual]

Determine if a file can be read

Implements itk::XMLReaderBase.

virtual void itk::PolygonGroupSpatialObjectXMLFileReader::CharacterDataHandler ( const char *  inData,
int  inLength 
) [protected, virtual]

Callback function -- called from XML parser with the character data for an XML element

Implements itk::XMLReaderBase.

virtual::itk::LightObject::Pointer itk::PolygonGroupSpatialObjectXMLFileReader::CreateAnother ( void  ) const [virtual]

Create an object from an instance, potentially deferring to a factory. This method allows you to create an instance of an object that is exactly the same type as the referring object. This is useful in cases where an object has been cast back to a base class.

Reimplemented from itk::LightProcessObject.

virtual void itk::PolygonGroupSpatialObjectXMLFileReader::EndElement ( const char *  name) [protected, virtual]

Callback function -- called from XML parser when ending tag encountered

Implements itk::XMLReaderBase.

virtual const char* itk::PolygonGroupSpatialObjectXMLFileReader::GetNameOfClass ( ) const [virtual]

Run-time type information (and related methods).

Reimplemented from itk::LightProcessObject.

Method for creation through the object factory.

Reimplemented from itk::LightProcessObject.

void itk::PolygonGroupSpatialObjectXMLFileReader::operator= ( const Self ) [private]

This method causes the filter to generate its output.

Reimplemented from itk::XMLReader< PGroupSpatialObjectType >.

virtual void itk::PolygonGroupSpatialObjectXMLFileReader::StartElement ( const char *  name,
const char **  atts 
) [protected, virtual]

Callback function -- called from XML parser with start-of-element information.

Implements itk::XMLReaderBase.


Member Data Documentation

Definition at line 78 of file itkPolygonGroupSpatialObjectXMLFile.h.

Definition at line 77 of file itkPolygonGroupSpatialObjectXMLFile.h.

Definition at line 76 of file itkPolygonGroupSpatialObjectXMLFile.h.

Definition at line 75 of file itkPolygonGroupSpatialObjectXMLFile.h.


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