ITK  4.1.0
Insight Segmentation and Registration Toolkit
Public Types | Public Member Functions | Static Public Member Functions
itk::BYUMeshIO Class Reference

#include <itkBYUMeshIO.h>

+ Inheritance diagram for itk::BYUMeshIO:
+ Collaboration diagram for itk::BYUMeshIO:

List of all members.

Public Types

typedef SmartPointer< const SelfConstPointer
typedef SmartPointer< SelfPointer
typedef BYUMeshIO Self
typedef Superclass::SizeValueType SizeValueType
typedef
Superclass::StreamOffsetType 
StreamOffsetType
typedef MeshIOBase Superclass

Public Member Functions

virtual bool CanReadFile (const char *FileNameToRead)
virtual bool CanWriteFile (const char *FileNameToWrite)
virtual ::itk::LightObject::Pointer CreateAnother (void) const
virtual const char * GetNameOfClass () const
virtual void ReadCellData (void *buffer)
virtual void ReadCells (void *buffer)
virtual void ReadMeshInformation ()
virtual void ReadPointData (void *buffer)
virtual void ReadPoints (void *buffer)
virtual void Write ()
virtual void WriteCellData (void *buffer)
virtual void WriteCells (void *buffer)
virtual void WriteMeshInformation ()
virtual void WritePointData (void *buffer)
virtual void WritePoints (void *buffer)

Static Public Member Functions

static Pointer New ()
StreamOffsetType m_FilePosition
SizeValueType m_PartId
SizeValueType m_FirstCellId
SizeValueType m_LastCellId
template<typename T >
void WritePoints (T *buffer, std::ofstream &outputFile)
template<typename T >
void WriteCells (T *buffer, std::ofstream &outputFile)
 BYUMeshIO ()
virtual ~BYUMeshIO ()
void PrintSelf (std::ostream &os, Indent indent) const
 BYUMeshIO (const Self &)
void operator= (const Self &)

Detailed Description

This class defines how to read and write BYU Geometry File Format.

Definition at line 35 of file itkBYUMeshIO.h.


Member Typedef Documentation

Reimplemented from itk::MeshIOBase.

Definition at line 41 of file itkBYUMeshIO.h.

Reimplemented from itk::MeshIOBase.

Definition at line 42 of file itkBYUMeshIO.h.

Standard class typedefs.

Reimplemented from itk::MeshIOBase.

Definition at line 39 of file itkBYUMeshIO.h.

Reimplemented from itk::MeshIOBase.

Definition at line 45 of file itkBYUMeshIO.h.

Type for representing size of bytes, and or positions along a file

Reimplemented from itk::MeshIOBase.

Definition at line 44 of file itkBYUMeshIO.h.

Reimplemented from itk::MeshIOBase.

Definition at line 40 of file itkBYUMeshIO.h.


Constructor & Destructor Documentation

itk::BYUMeshIO::BYUMeshIO ( ) [protected]

Write points to output stream

virtual itk::BYUMeshIO::~BYUMeshIO ( ) [inline, protected, virtual]

Write points to output stream

Definition at line 138 of file itkBYUMeshIO.h.

itk::BYUMeshIO::BYUMeshIO ( const Self ) [private]

Write points to output stream


Member Function Documentation

virtual bool itk::BYUMeshIO::CanReadFile ( const char *  FileNameToRead) [virtual]

Determine if the file can be read with this MeshIO implementation.

Parameters:
FileNameToReadThe name of the file to test for reading.
Postcondition:
Sets classes MeshIOBase::m_FileName variable to be FileNameToWrite
Returns:
Returns true if this MeshIO can read the file specified.

Implements itk::MeshIOBase.

virtual bool itk::BYUMeshIO::CanWriteFile ( const char *  FileNameToWrite) [virtual]

Determine if the file can be written with this MeshIO implementation.

Parameters:
FileNameToWriteThe name of the file to test for writing.
Postcondition:
Sets classes MeshIOBase::m_FileName variable to be FileNameToWrite
Returns:
Returns true if this MeshIO can write the file specified.

Implements itk::MeshIOBase.

virtual::itk::LightObject::Pointer itk::BYUMeshIO::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 const char* itk::BYUMeshIO::GetNameOfClass ( ) const [virtual]

Run-time type information (and related methods).

Reimplemented from itk::MeshIOBase.

static Pointer itk::BYUMeshIO::New ( ) [static]

Method for creation through the object factory.

Reimplemented from itk::LightProcessObject.

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

Write points to output stream

Reimplemented from itk::MeshIOBase.

void itk::BYUMeshIO::PrintSelf ( std::ostream &  os,
Indent  indent 
) const [protected, virtual]

Write points to output stream

Reimplemented from itk::MeshIOBase.

virtual void itk::BYUMeshIO::ReadCellData ( void *  buffer) [virtual]

Implements itk::MeshIOBase.

virtual void itk::BYUMeshIO::ReadCells ( void *  buffer) [virtual]

Implements itk::MeshIOBase.

virtual void itk::BYUMeshIO::ReadMeshInformation ( ) [virtual]

Set the spacing and dimension information for the set filename.

Implements itk::MeshIOBase.

virtual void itk::BYUMeshIO::ReadPointData ( void *  buffer) [virtual]

Implements itk::MeshIOBase.

virtual void itk::BYUMeshIO::ReadPoints ( void *  buffer) [virtual]

Reads the data from disk into the memory buffer provided.

Implements itk::MeshIOBase.

virtual void itk::BYUMeshIO::Write ( ) [virtual]

Implements itk::MeshIOBase.

virtual void itk::BYUMeshIO::WriteCellData ( void *  buffer) [virtual]

Implements itk::MeshIOBase.

virtual void itk::BYUMeshIO::WriteCells ( void *  buffer) [virtual]

Implements itk::MeshIOBase.

template<typename T >
void itk::BYUMeshIO::WriteCells ( T *  buffer,
std::ofstream &  outputFile 
) [inline, protected]

Write points to output stream

Definition at line 118 of file itkBYUMeshIO.h.

virtual void itk::BYUMeshIO::WriteMeshInformation ( ) [virtual]

Set the spacing and dimension information for the set filename.

Implements itk::MeshIOBase.

virtual void itk::BYUMeshIO::WritePointData ( void *  buffer) [virtual]

Implements itk::MeshIOBase.

virtual void itk::BYUMeshIO::WritePoints ( void *  buffer) [virtual]

Writes the data to disk from the memory buffer provided.

Implements itk::MeshIOBase.

template<typename T >
void itk::BYUMeshIO::WritePoints ( T *  buffer,
std::ofstream &  outputFile 
) [inline, protected]

Write points to output stream

Definition at line 100 of file itkBYUMeshIO.h.


Member Data Documentation

Write points to output stream

Definition at line 146 of file itkBYUMeshIO.h.

Write points to output stream

Definition at line 148 of file itkBYUMeshIO.h.

Write points to output stream

Definition at line 149 of file itkBYUMeshIO.h.

Write points to output stream

Definition at line 147 of file itkBYUMeshIO.h.


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