ITK
4.1.0
Insight Segmentation and Registration Toolkit
|
#include <itkGiftiMeshIO.h>
Public Types | |
typedef SmartPointer< const Self > | ConstPointer |
typedef Matrix< double, 4, 4 > | DirectionType |
typedef MapContainer< int, RGBAPixelType > | LabelColorContainer |
typedef LabelColorContainer::Pointer | LabelColorContainerPointer |
typedef MapContainer< int, std::string > | LabelNameContainer |
typedef LabelNameContainer::Pointer | LabelNameContainerPointer |
typedef SmartPointer< Self > | Pointer |
typedef RGBAPixel< float > | RGBAPixelType |
typedef GiftiMeshIO | Self |
typedef Superclass::SizeValueType | SizeValueType |
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 DirectionType & | GetDirection () |
LabelColorContainerPointer | GetLabelColorTable () |
LabelNameContainerPointer | GetLabelNameTable () |
virtual const char * | GetNameOfClass () const |
virtual bool | GetReadPointData () const |
virtual void | ReadCellData (void *buffer) |
virtual void | ReadCells (void *buffer) |
virtual void | ReadMeshInformation () |
virtual void | ReadPointData (void *buffer) |
virtual void | ReadPointDataOff () |
virtual void | ReadPointDataOn () |
virtual void | ReadPoints (void *buffer) |
void | SetDirection (const DirectionType direction) |
void | SetLabelColorTable (const LabelColorContainer *colorMap) |
void | SetLabelNameTable (const LabelNameContainer *labelMap) |
virtual void | SetReadPointData (bool _arg) |
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 () |
Protected Member Functions | |
template<class TInput , class TOutput > | |
void | ConvertBuffer (TInput *input, TOutput *output, SizeValueType numberOfElements) |
GiftiMeshIO () | |
void | PrintSelf (std::ostream &os, Indent indent) const |
virtual | ~GiftiMeshIO () |
Private Member Functions | |
GiftiMeshIO (const Self &) | |
void | operator= (const Self &) |
Private Attributes | |
DirectionType | m_Direction |
gifti_image * | m_GiftiImage |
bool | m_ReadPointData |
This class defines how to read and write Gifti file format.
Definition at line 39 of file itkGiftiMeshIO.h.
typedef SmartPointer< const Self > itk::GiftiMeshIO::ConstPointer |
Reimplemented from itk::MeshIOBase.
Definition at line 45 of file itkGiftiMeshIO.h.
typedef Matrix< double, 4, 4 > itk::GiftiMeshIO::DirectionType |
Definition at line 49 of file itkGiftiMeshIO.h.
typedef MapContainer<int, RGBAPixelType> itk::GiftiMeshIO::LabelColorContainer |
Definition at line 51 of file itkGiftiMeshIO.h.
Definition at line 53 of file itkGiftiMeshIO.h.
typedef MapContainer<int, std::string> itk::GiftiMeshIO::LabelNameContainer |
Definition at line 52 of file itkGiftiMeshIO.h.
Definition at line 54 of file itkGiftiMeshIO.h.
typedef SmartPointer< Self > itk::GiftiMeshIO::Pointer |
Reimplemented from itk::MeshIOBase.
Definition at line 46 of file itkGiftiMeshIO.h.
typedef RGBAPixel<float> itk::GiftiMeshIO::RGBAPixelType |
Definition at line 50 of file itkGiftiMeshIO.h.
typedef GiftiMeshIO itk::GiftiMeshIO::Self |
Standard class typedefs.
Reimplemented from itk::MeshIOBase.
Definition at line 43 of file itkGiftiMeshIO.h.
Reimplemented from itk::MeshIOBase.
Definition at line 48 of file itkGiftiMeshIO.h.
Reimplemented from itk::MeshIOBase.
Definition at line 44 of file itkGiftiMeshIO.h.
itk::GiftiMeshIO::GiftiMeshIO | ( | ) | [protected] |
virtual itk::GiftiMeshIO::~GiftiMeshIO | ( | ) | [protected, virtual] |
itk::GiftiMeshIO::GiftiMeshIO | ( | const Self & | ) | [private] |
virtual bool itk::GiftiMeshIO::CanReadFile | ( | const char * | FileNameToRead | ) | [virtual] |
Determine if the file can be read with this MeshIO implementation.
FileNameToRead | The name of the file to test for reading. |
Implements itk::MeshIOBase.
virtual bool itk::GiftiMeshIO::CanWriteFile | ( | const char * | FileNameToWrite | ) | [virtual] |
Determine if the file can be written with this MeshIO implementation.
FileNameToWrite | The name of the file to test for writing. |
Implements itk::MeshIOBase.
void itk::GiftiMeshIO::ConvertBuffer | ( | TInput * | input, |
TOutput * | output, | ||
SizeValueType | numberOfElements | ||
) | [inline, protected] |
Definition at line 127 of file itkGiftiMeshIO.h.
virtual::itk::LightObject::Pointer itk::GiftiMeshIO::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 DirectionType& itk::GiftiMeshIO::GetDirection | ( | ) | [virtual] |
virtual const char* itk::GiftiMeshIO::GetNameOfClass | ( | ) | const [virtual] |
Run-time type information (and related methods).
Reimplemented from itk::MeshIOBase.
virtual bool itk::GiftiMeshIO::GetReadPointData | ( | ) | const [virtual] |
static Pointer itk::GiftiMeshIO::New | ( | ) | [static] |
Method for creation through the object factory.
Reimplemented from itk::LightProcessObject.
void itk::GiftiMeshIO::operator= | ( | const Self & | ) | [private] |
This method causes the filter to generate its output.
Reimplemented from itk::MeshIOBase.
void itk::GiftiMeshIO::PrintSelf | ( | std::ostream & | os, |
Indent | indent | ||
) | const [protected, virtual] |
Methods invoked by Print() to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.
Reimplemented from itk::MeshIOBase.
virtual void itk::GiftiMeshIO::ReadCellData | ( | void * | buffer | ) | [virtual] |
Implements itk::MeshIOBase.
virtual void itk::GiftiMeshIO::ReadCells | ( | void * | buffer | ) | [virtual] |
Implements itk::MeshIOBase.
virtual void itk::GiftiMeshIO::ReadMeshInformation | ( | ) | [virtual] |
Set the spacing and dimension information for the set filename.
Implements itk::MeshIOBase.
virtual void itk::GiftiMeshIO::ReadPointData | ( | void * | buffer | ) | [virtual] |
Implements itk::MeshIOBase.
virtual void itk::GiftiMeshIO::ReadPointDataOff | ( | ) | [virtual] |
virtual void itk::GiftiMeshIO::ReadPointDataOn | ( | ) | [virtual] |
virtual void itk::GiftiMeshIO::ReadPoints | ( | void * | buffer | ) | [virtual] |
Reads the data from disk into the memory buffer provided.
Implements itk::MeshIOBase.
void itk::GiftiMeshIO::SetDirection | ( | const DirectionType | direction | ) |
void itk::GiftiMeshIO::SetLabelColorTable | ( | const LabelColorContainer * | colorMap | ) |
void itk::GiftiMeshIO::SetLabelNameTable | ( | const LabelNameContainer * | labelMap | ) |
virtual void itk::GiftiMeshIO::SetReadPointData | ( | bool | _arg | ) | [virtual] |
virtual void itk::GiftiMeshIO::Write | ( | ) | [virtual] |
Implements itk::MeshIOBase.
virtual void itk::GiftiMeshIO::WriteCellData | ( | void * | buffer | ) | [virtual] |
Implements itk::MeshIOBase.
virtual void itk::GiftiMeshIO::WriteCells | ( | void * | buffer | ) | [virtual] |
Implements itk::MeshIOBase.
virtual void itk::GiftiMeshIO::WriteMeshInformation | ( | ) | [virtual] |
Set the spacing and dimension information for the set filename.
Implements itk::MeshIOBase.
virtual void itk::GiftiMeshIO::WritePointData | ( | void * | buffer | ) | [virtual] |
Implements itk::MeshIOBase.
virtual void itk::GiftiMeshIO::WritePoints | ( | void * | buffer | ) | [virtual] |
Writes the data to disk from the memory buffer provided. Make sure that the IORegions has been set properly.
Implements itk::MeshIOBase.
DirectionType itk::GiftiMeshIO::m_Direction [private] |
Definition at line 141 of file itkGiftiMeshIO.h.
gifti_image* itk::GiftiMeshIO::m_GiftiImage [private] |
Definition at line 140 of file itkGiftiMeshIO.h.
bool itk::GiftiMeshIO::m_ReadPointData [private] |
Definition at line 139 of file itkGiftiMeshIO.h.