18 #ifndef itkGiftiMeshIO_h
19 #define itkGiftiMeshIO_h
20 #include "ITKIOMeshExport.h"
62 itkGetConstMacro(ReadPointData,
bool);
63 itkSetMacro(ReadPointData,
bool);
64 itkBooleanMacro(ReadPointData);
82 virtual bool CanReadFile(
const char *FileNameToRead) ITK_OVERRIDE;
85 virtual void ReadMeshInformation() ITK_OVERRIDE;
88 virtual
void ReadPoints(
void *buffer) ITK_OVERRIDE;
90 virtual
void ReadCells(
void *buffer) ITK_OVERRIDE;
92 virtual
void ReadPointData(
void *buffer) ITK_OVERRIDE;
94 virtual
void ReadCellData(
void *buffer) ITK_OVERRIDE;
103 virtual
bool CanWriteFile(const
char *FileNameToWrite) ITK_OVERRIDE;
106 virtual
void WriteMeshInformation() ITK_OVERRIDE;
110 virtual
void WritePoints(
void *buffer) ITK_OVERRIDE;
112 virtual
void WriteCells(
void *buffer) ITK_OVERRIDE;
114 virtual
void WritePointData(
void *buffer) ITK_OVERRIDE;
116 virtual
void WriteCellData(
void *buffer) ITK_OVERRIDE;
118 virtual
void Write() ITK_OVERRIDE;
122 virtual ~GiftiMeshIO() ITK_OVERRIDE;
124 virtual
void PrintSelf(std::ostream & os,
Indent indent) const ITK_OVERRIDE;
126 template< typename TInput, typename TOutput >
127 void ConvertBuffer(TInput *input, TOutput *output,
SizeValueType numberOfElements)
129 if ( input && output )
133 output[ii] =
static_cast< TOutput
>( input[ii] );
141 class GiftiImageProxy;
Light weight base class for most itk classes.
MapContainer< int, std::string > LabelNameContainer
A wrapper of the STL "map" container.
Superclass::SizeValueType SizeValueType
MapContainer< int, RGBAPixelType > LabelColorContainer
unsigned long SizeValueType
SmartPointer< Self > Pointer
Matrix< double, 4, 4 > DirectionType
RGBAPixel< float > RGBAPixelType
SmartPointer< const Self > ConstPointer
const AutoPointer< GiftiImageProxy > m_GiftiImageHolder
This class defines how to read and write Gifti file format.
LabelColorContainer::Pointer LabelColorContainerPointer
DirectionType m_Direction
Control indentation during Print() invocation.
Abstract superclass defines mesh IO interface.
GiftiImageProxy & m_GiftiImage
LabelNameContainer::Pointer LabelNameContainerPointer