36 #ifndef vtkNIFTIImageHeader_h 
   37 #define vtkNIFTIImageHeader_h 
   39 #include "vtkIOImageModule.h"  
   78     IntentEstimate = 1001,
 
   80     IntentNeuroName = 1003,
 
   81     IntentGenMatrix = 1004,
 
   82     IntentSymMatrix = 1005,
 
   83     IntentDispVect = 1006,
 
   85     IntentPointSet = 1008,
 
   86     IntentTriangle = 1009,
 
   87     IntentQuaternion = 1010,
 
   89     IntentTimeSeries = 2001,
 
   90     IntentNodeIndex = 2002,
 
   91     IntentRGBVector = 2003,
 
   92     IntentRGBAVector = 2004,
 
  102     XFormScannerAnat = 1,
 
  103     XFormAlignedAnat = 2,
 
  162     TypeComplex128 = 1792,
 
  163     TypeComplex256 = 2048,
 
  172     NIFTI1HeaderSize = 348,
 
  173     NIFTI2HeaderSize = 540
 
  213   vtkTypeInt64 
GetDim(
int i) { 
return (i < 0 || i > 7 ? 0 : this->Dim[i]); }
 
  220   double GetPixDim(
int i) { 
return (i < 0 || i > 7 ? 0.0 : this->PixDim[i]); }
 
  227   vtkSetMacro(IntentCode, 
int);
 
  234   void SetIntentName(
const char* 
name);
 
  242   vtkSetMacro(IntentP1, 
double);
 
  244   vtkSetMacro(IntentP2, 
double);
 
  246   vtkSetMacro(IntentP3, 
double);
 
  255   vtkSetMacro(SclSlope, 
double);
 
  257   vtkSetMacro(SclInter, 
double);
 
  266   vtkSetMacro(CalMin, 
double);
 
  268   vtkSetMacro(CalMax, 
double);
 
  276   vtkSetMacro(SliceDuration, 
double);
 
  278   vtkSetMacro(TOffset, 
double);
 
  286   vtkSetMacro(SliceStart, vtkTypeInt64);
 
  288   vtkSetMacro(SliceEnd, vtkTypeInt64);
 
  296   vtkSetMacro(SliceCode, 
int);
 
  304   vtkSetMacro(XYZTUnits, 
int);
 
  314   vtkSetMacro(DimInfo, 
int);
 
  325   void SetDescrip(
const char* descrip);
 
  334   void SetAuxFile(
const char* auxfile);
 
  341   vtkSetMacro(QFormCode, 
int);
 
  343   vtkSetMacro(SFormCode, 
int);
 
  353   vtkSetMacro(QuaternB, 
double);
 
  355   vtkSetMacro(QuaternC, 
double);
 
  357   vtkSetMacro(QuaternD, 
double);
 
  359   vtkSetMacro(QOffsetX, 
double);
 
  361   vtkSetMacro(QOffsetY, 
double);
 
  363   vtkSetMacro(QOffsetZ, 
double);
 
  373   vtkSetVector4Macro(SRowX, 
double);
 
  374   vtkGetVector4Macro(SRowX, 
double);
 
  375   vtkSetVector4Macro(SRowY, 
double);
 
  376   vtkGetVector4Macro(SRowY, 
double);
 
  377   vtkSetVector4Macro(SRowZ, 
double);
 
  378   vtkGetVector4Macro(SRowZ, 
double);
 
  442   void SetStringValue(
char* x, 
const char* y, 
size_t n);
 
  449 #endif // vtkNIFTIImageHeader_h