18#ifndef itkGiftiMeshIO_h
19#define itkGiftiMeshIO_h
20#include "ITKIOMeshGiftiExport.h"
64 itkGetConstMacro(ReadPointData,
bool);
65 itkSetMacro(ReadPointData,
bool);
66 itkBooleanMacro(ReadPointData);
147 template <
typename TInput,
typename TOutput>
155 output[ii] =
static_cast<TOutput
>(input[ii]);
163 class GiftiImageProxy;
171 bool m_ReadPointData{};
This class defines how to read and write Gifti file format.
const std::unique_ptr< GiftiImageProxy > m_GiftiImageHolder
void SetLabelNameTable(const LabelNameContainer *labelMap)
void ConvertBuffer(TInput *input, TOutput *output, SizeValueType numberOfElements)
IOComponentEnum GetComponentTypeFromGifti(int datatype)
void WriteMeshInformation() override
void ReadPoints(void *buffer) override
void WriteCells(void *buffer) override
void SetDirection(const DirectionType &direction)
void WriteCellData(void *buffer) override
void ReadMeshInformation() override
bool CanWriteFile(const char *fileName) override
IOPixelEnum GetPixelTypeFromGifti(int datatype)
bool CanReadFile(const char *fileName) override
LabelColorContainerPointer GetLabelColorTable()
GiftiImageProxy & m_GiftiImage
void PrintSelf(std::ostream &os, Indent indent) const override
void ReadCells(void *buffer) override
void ReadCellData(void *buffer) override
void SetLabelColorTable(const LabelColorContainer *colorMap)
void ReadPointData(void *buffer) override
LabelNameContainerPointer GetLabelNameTable()
int GetNumberOfPixelComponentsFromGifti(int datatype)
void WritePoints(void *buffer) override
void WritePointData(void *buffer) override
Control indentation during Print() invocation.
Light weight base class for most itk classes.
A wrapper of the STL "map" container.
Abstract superclass defines mesh IO interface.
IdentifierType SizeValueType
Base class for most ITK classes.
Represent Red, Green, Blue and Alpha components for color images.
SmartPointer< Self > Pointer
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
unsigned long SizeValueType