Skip to content

Commit 5f5dedd

Browse files
committed
STYLE: New methods for translating Nifti datatypes to IOxxxxEnum
1 parent 7fb1da1 commit 5f5dedd

File tree

2 files changed

+161
-455
lines changed

2 files changed

+161
-455
lines changed

Modules/IO/MeshGifti/include/itkGiftiMeshIO.h

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,17 @@ class ITKIOMeshGifti_EXPORT GiftiMeshIO : public MeshIOBase
170170

171171
bool m_ReadPointData;
172172
DirectionType m_Direction;
173+
174+
// Translate (G|N)ifti datatypes to IOComponentEnum
175+
IOComponentEnum
176+
GetComponentTypeFromGifti(int datatype);
177+
178+
// Translate (G|N)ifti datatypes to IOPixelEnum
179+
IOPixelEnum
180+
GetPixelTypeFromGifti(int datatype);
181+
182+
int
183+
GetNumberOfPixelComponentsFromGifti(int datatype);
173184
};
174185
} // end namespace itk
175186

0 commit comments

Comments
 (0)