39#ifndef vtkNIFTIImageHeader_h
40#define vtkNIFTIImageHeader_h
42#include "vtkIOImageModule.h"
81 IntentEstimate = 1001,
83 IntentNeuroName = 1003,
84 IntentGenMatrix = 1004,
85 IntentSymMatrix = 1005,
86 IntentDispVect = 1006,
88 IntentPointSet = 1008,
89 IntentTriangle = 1009,
90 IntentQuaternion = 1010,
92 IntentTimeSeries = 2001,
93 IntentNodeIndex = 2002,
94 IntentRGBVector = 2003,
95 IntentRGBAVector = 2004,
105 XFormScannerAnat = 1,
106 XFormAlignedAnat = 2,
165 TypeComplex128 = 1792,
166 TypeComplex256 = 2048,
175 NIFTI1HeaderSize = 348,
176 NIFTI2HeaderSize = 540
216 vtkTypeInt64
GetDim(
int i) {
return (i < 0 || i > 7 ? 0 : this->Dim[i]); }
223 double GetPixDim(
int i) {
return (i < 0 || i > 7 ? 0.0 : this->PixDim[i]); }
230 vtkSetMacro(IntentCode,
int);
245 vtkSetMacro(IntentP1,
double);
247 vtkSetMacro(IntentP2,
double);
249 vtkSetMacro(IntentP3,
double);
258 vtkSetMacro(SclSlope,
double);
260 vtkSetMacro(SclInter,
double);
269 vtkSetMacro(CalMin,
double);
271 vtkSetMacro(CalMax,
double);
279 vtkSetMacro(SliceDuration,
double);
281 vtkSetMacro(TOffset,
double);
289 vtkSetMacro(SliceStart, vtkTypeInt64);
291 vtkSetMacro(SliceEnd, vtkTypeInt64);
299 vtkSetMacro(SliceCode,
int);
307 vtkSetMacro(XYZTUnits,
int);
317 vtkSetMacro(DimInfo,
int);
344 vtkSetMacro(QFormCode,
int);
346 vtkSetMacro(SFormCode,
int);
356 vtkSetMacro(QuaternB,
double);
358 vtkSetMacro(QuaternC,
double);
360 vtkSetMacro(QuaternD,
double);
362 vtkSetMacro(QOffsetX,
double);
364 vtkSetMacro(QOffsetY,
double);
366 vtkSetMacro(QOffsetZ,
double);
376 vtkSetVector4Macro(SRowX,
double);
377 vtkGetVector4Macro(SRowX,
double);
378 vtkSetVector4Macro(SRowY,
double);
379 vtkGetVector4Macro(SRowY,
double);
380 vtkSetVector4Macro(SRowZ,
double);
381 vtkGetVector4Macro(SRowZ,
double);
a simple class to control print indentation
abstract base class for most VTK objects