Slicer  4.8
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
List of all members | Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
vtkNRRDWriter Class Reference

Writes PNG files. More...

#include <Libs/vtkTeem/vtkNRRDWriter.h>

Inheritance diagram for vtkNRRDWriter:
Inheritance graph
[legend]
Collaboration diagram for vtkNRRDWriter:
Collaboration graph
[legend]

Public Types

typedef vtkWriter Superclass
 

Public Member Functions

virtual vtkDoubleArray * GetBValues ()
 
virtual const char * GetClassName ()
 
virtual vtkDoubleArray * GetDiffusionGradients ()
 
virtual char * GetFileName ()
 
virtual int GetFileType ()
 
virtual vtkMatrix4x4 * GetIJKToRASMatrix ()
 
vtkImageData * GetInput ()
 Get the input to this writer. More...
 
vtkImageData * GetInput (int port)
 
virtual vtkMatrix4x4 * GetMeasurementFrameMatrix ()
 
virtual int GetUseCompression ()
 
virtual int GetWriteError ()
 
virtual int IsA (const char *type)
 
void * MakeNRRD ()
 Utility function to return image as a Nrrd*. More...
 
void PrintSelf (ostream &os, vtkIndent indent) VTK_OVERRIDE
 
void SetAttribute (const std::string &name, const std::string &value)
 
void SetAxisLabel (unsigned int axis, const char *label)
 Method to set label for each axis. More...
 
void SetAxisUnit (unsigned int axis, const char *unit)
 Method to set unit for each axis. More...
 
virtual void SetBValues (vtkDoubleArray *)
 
virtual void SetDiffusionGradients (vtkDoubleArray *)
 
virtual void SetFileName (const char *)
 Specify file name of vtk polygon data file to write. More...
 
virtual void SetFileType (int)
 
void SetFileTypeToASCII ()
 
void SetFileTypeToBinary ()
 
virtual void SetIJKToRASMatrix (vtkMatrix4x4 *)
 
virtual void SetMeasurementFrameMatrix (vtkMatrix4x4 *)
 
virtual void SetUseCompression (int)
 
virtual void SetWriteError (int)
 
virtual void UseCompressionOff ()
 
virtual void UseCompressionOn ()
 
virtual void WriteErrorOff ()
 
virtual void WriteErrorOn ()
 

Static Public Member Functions

static int IsTypeOf (const char *type)
 
static vtkNRRDWriterNew ()
 
static vtkNRRDWriterSafeDownCast (vtkObject *o)
 

Protected Member Functions

virtual int FillInputPortInformation (int port, vtkInformation *info) VTK_OVERRIDE
 
 vtkNRRDWriter ()
 
void WriteData () VTK_OVERRIDE
 Write method. It is called by vtkWriter::Write();. More...
 
 ~vtkNRRDWriter ()
 

Protected Attributes

AttributeMapType * Attributes
 
AxisInfoMapType * AxisLabels
 
AxisInfoMapType * AxisUnits
 
vtkDoubleArray * BValues
 
vtkDoubleArray * DiffusionGradients
 
char * FileName
 
int FileType
 
vtkMatrix4x4 * IJKToRASMatrix
 
vtkMatrix4x4 * MeasurementFrameMatrix
 
int UseCompression
 
int WriteError
 Flag to set to on when a write error occured. More...
 

Detailed Description

Writes PNG files.

vtkNRRDWriter writes NRRD files.

See also
vtkNRRDReader

Definition at line 23 of file vtkNRRDWriter.h.

Member Typedef Documentation

◆ Superclass

typedef vtkWriter vtkNRRDWriter::Superclass

Definition at line 27 of file vtkNRRDWriter.h.

Constructor & Destructor Documentation

◆ vtkNRRDWriter()

vtkNRRDWriter::vtkNRRDWriter ( )
protected

◆ ~vtkNRRDWriter()

vtkNRRDWriter::~vtkNRRDWriter ( )
protected

Member Function Documentation

◆ FillInputPortInformation()

virtual int vtkNRRDWriter::FillInputPortInformation ( int  port,
vtkInformation *  info 
)
protectedvirtual

◆ GetBValues()

virtual vtkDoubleArray* vtkNRRDWriter::GetBValues ( )
virtual

◆ GetClassName()

virtual const char* vtkNRRDWriter::GetClassName ( )
virtual

◆ GetDiffusionGradients()

virtual vtkDoubleArray* vtkNRRDWriter::GetDiffusionGradients ( )
virtual

◆ GetFileName()

virtual char* vtkNRRDWriter::GetFileName ( )
virtual

◆ GetFileType()

virtual int vtkNRRDWriter::GetFileType ( )
virtual

◆ GetIJKToRASMatrix()

virtual vtkMatrix4x4* vtkNRRDWriter::GetIJKToRASMatrix ( )
virtual

◆ GetInput() [1/2]

vtkImageData* vtkNRRDWriter::GetInput ( )

Get the input to this writer.

◆ GetInput() [2/2]

vtkImageData* vtkNRRDWriter::GetInput ( int  port)

◆ GetMeasurementFrameMatrix()

virtual vtkMatrix4x4* vtkNRRDWriter::GetMeasurementFrameMatrix ( )
virtual

◆ GetUseCompression()

virtual int vtkNRRDWriter::GetUseCompression ( )
virtual

◆ GetWriteError()

virtual int vtkNRRDWriter::GetWriteError ( )
virtual

◆ IsA()

virtual int vtkNRRDWriter::IsA ( const char *  type)
virtual

◆ IsTypeOf()

static int vtkNRRDWriter::IsTypeOf ( const char *  type)
static

◆ MakeNRRD()

void* vtkNRRDWriter::MakeNRRD ( )

Utility function to return image as a Nrrd*.

◆ New()

static vtkNRRDWriter* vtkNRRDWriter::New ( )
static

◆ PrintSelf()

void vtkNRRDWriter::PrintSelf ( ostream &  os,
vtkIndent  indent 
)

◆ SafeDownCast()

static vtkNRRDWriter* vtkNRRDWriter::SafeDownCast ( vtkObject *  o)
static

◆ SetAttribute()

void vtkNRRDWriter::SetAttribute ( const std::string &  name,
const std::string &  value 
)

Method to set an attribute that will be passed into the NRRD file on write

◆ SetAxisLabel()

void vtkNRRDWriter::SetAxisLabel ( unsigned int  axis,
const char *  label 
)

Method to set label for each axis.

◆ SetAxisUnit()

void vtkNRRDWriter::SetAxisUnit ( unsigned int  axis,
const char *  unit 
)

Method to set unit for each axis.

◆ SetBValues()

virtual void vtkNRRDWriter::SetBValues ( vtkDoubleArray *  )
virtual

◆ SetDiffusionGradients()

virtual void vtkNRRDWriter::SetDiffusionGradients ( vtkDoubleArray *  )
virtual

◆ SetFileName()

virtual void vtkNRRDWriter::SetFileName ( const char *  )
virtual

Specify file name of vtk polygon data file to write.

◆ SetFileType()

virtual void vtkNRRDWriter::SetFileType ( int  )
virtual

◆ SetFileTypeToASCII()

void vtkNRRDWriter::SetFileTypeToASCII ( )
inline

Definition at line 60 of file vtkNRRDWriter.h.

◆ SetFileTypeToBinary()

void vtkNRRDWriter::SetFileTypeToBinary ( )
inline

Definition at line 61 of file vtkNRRDWriter.h.

◆ SetIJKToRASMatrix()

virtual void vtkNRRDWriter::SetIJKToRASMatrix ( vtkMatrix4x4 *  )
virtual

◆ SetMeasurementFrameMatrix()

virtual void vtkNRRDWriter::SetMeasurementFrameMatrix ( vtkMatrix4x4 *  )
virtual

◆ SetUseCompression()

virtual void vtkNRRDWriter::SetUseCompression ( int  )
virtual

◆ SetWriteError()

virtual void vtkNRRDWriter::SetWriteError ( int  )
virtual

◆ UseCompressionOff()

virtual void vtkNRRDWriter::UseCompressionOff ( )
virtual

◆ UseCompressionOn()

virtual void vtkNRRDWriter::UseCompressionOn ( )
virtual

◆ WriteData()

void vtkNRRDWriter::WriteData ( )
protected

Write method. It is called by vtkWriter::Write();.

◆ WriteErrorOff()

virtual void vtkNRRDWriter::WriteErrorOff ( )
virtual

◆ WriteErrorOn()

virtual void vtkNRRDWriter::WriteErrorOn ( )
virtual

Member Data Documentation

◆ Attributes

AttributeMapType* vtkNRRDWriter::Attributes
protected

Definition at line 105 of file vtkNRRDWriter.h.

◆ AxisLabels

AxisInfoMapType* vtkNRRDWriter::AxisLabels
protected

Definition at line 106 of file vtkNRRDWriter.h.

◆ AxisUnits

AxisInfoMapType* vtkNRRDWriter::AxisUnits
protected

Definition at line 107 of file vtkNRRDWriter.h.

◆ BValues

vtkDoubleArray* vtkNRRDWriter::BValues
protected

Definition at line 96 of file vtkNRRDWriter.h.

◆ DiffusionGradients

vtkDoubleArray* vtkNRRDWriter::DiffusionGradients
protected

Definition at line 97 of file vtkNRRDWriter.h.

◆ FileName

char* vtkNRRDWriter::FileName
protected

Definition at line 94 of file vtkNRRDWriter.h.

◆ FileType

int vtkNRRDWriter::FileType
protected

Definition at line 103 of file vtkNRRDWriter.h.

◆ IJKToRASMatrix

vtkMatrix4x4* vtkNRRDWriter::IJKToRASMatrix
protected

Definition at line 99 of file vtkNRRDWriter.h.

◆ MeasurementFrameMatrix

vtkMatrix4x4* vtkNRRDWriter::MeasurementFrameMatrix
protected

Definition at line 100 of file vtkNRRDWriter.h.

◆ UseCompression

int vtkNRRDWriter::UseCompression
protected

Definition at line 102 of file vtkNRRDWriter.h.

◆ WriteError

int vtkNRRDWriter::WriteError
protected

Flag to set to on when a write error occured.

Definition at line 92 of file vtkNRRDWriter.h.


The documentation for this class was generated from the following file: