2#ifndef __vtkTeemNRRDWriter_h
3#define __vtkTeemNRRDWriter_h
7#include "vtkDoubleArray.h"
8#include "vtkMatrix4x4.h"
9#include "vtkSmartPointer.h"
12#include "vtkTeemConfigure.h"
15class AttributeMapType;
28 void PrintSelf(ostream& os, vtkIndent indent)
override;
45 vtkSetObjectMacro(
BValues,vtkDoubleArray);
46 vtkGetObjectMacro(
BValues,vtkDoubleArray);
61 vtkSetClampMacro(
FileType,
int,VTK_ASCII,VTK_BINARY);
73 void SetAttribute(
const std::string& name,
const std::string& value);
145 void vtkImageDataInfoToNrrdInfo(vtkImageData *in,
int &nrrdKind,
size_t &numComp,
int &vtkType,
void **buffer);
146 int VTKToNrrdPixelType(
const int vtkPixelType );
147 int DiffusionWeightedData;
AxisInfoMapType * AxisLabels
AttributeMapType * Attributes
AxisInfoMapType * AxisUnits
virtual void SetFileType(int)
virtual void SetSpace(int)
static vtkTeemNRRDWriter * New()
void SetVectorAxisKind(int kind)
void SetFileTypeToASCII()
void * MakeNRRD()
Utility function to return image as a Nrrd*.
void SetAttribute(const std::string &name, const std::string &value)
vtkMatrix4x4 * IJKToRASMatrix
~vtkTeemNRRDWriter() override
void PrintSelf(ostream &os, vtkIndent indent) override
vtkMatrix4x4 * MeasurementFrameMatrix
void WriteData() override
Write method. It is called by vtkWriter::Write();.
vtkDoubleArray * DiffusionGradients
int FillInputPortInformation(int port, vtkInformation *info) override
vtkImageData * GetInput(int port)
void SetAxisLabel(unsigned int axis, const char *label)
Method to set label for each axis.
void vtkSetSpaceToRAS()
Set coordinate system to RAS.
void SetAxisUnit(unsigned int axis, const char *unit)
Method to set unit for each axis.
int WriteError
Flag to set to on when a write error occurred.
vtkImageData * GetInput()
Get the input to this writer.
void vtkSetSpaceToLPS()
Set coordinate system to LPS.
void SetFileTypeToBinary()