Slicer  4.10
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
vtkTeemNRRDWriter Class Reference

Writes PNG files. More...

#include <Libs/vtkTeem/vtkTeemNRRDWriter.h>

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

Public Types

typedef vtkWriter Superclass
 

Public Member Functions

virtual vtkDoubleArray * GetBValues ()
 
virtual const char * GetClassName ()
 
virtual int GetCompressionLevel ()
 
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 SetCompressionLevel (int)
 
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)
 
void SetVectorAxisKind (int kind)
 
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 vtkTeemNRRDWriterNew ()
 
static vtkTeemNRRDWriterSafeDownCast (vtkObject *o)
 

Protected Member Functions

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

Protected Attributes

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

Detailed Description

Writes PNG files.

vtkTeemNRRDWriter writes NRRD files.

See also
vtkTeemNRRDReader

Definition at line 23 of file vtkTeemNRRDWriter.h.

Member Typedef Documentation

◆ Superclass

typedef vtkWriter vtkTeemNRRDWriter::Superclass

Definition at line 27 of file vtkTeemNRRDWriter.h.

Constructor & Destructor Documentation

◆ vtkTeemNRRDWriter()

vtkTeemNRRDWriter::vtkTeemNRRDWriter ( )
protected

◆ ~vtkTeemNRRDWriter()

vtkTeemNRRDWriter::~vtkTeemNRRDWriter ( )
protected

Member Function Documentation

◆ FillInputPortInformation()

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

◆ GetBValues()

virtual vtkDoubleArray* vtkTeemNRRDWriter::GetBValues ( )
virtual

◆ GetClassName()

virtual const char* vtkTeemNRRDWriter::GetClassName ( )
virtual

◆ GetCompressionLevel()

virtual int vtkTeemNRRDWriter::GetCompressionLevel ( )
virtual

◆ GetDiffusionGradients()

virtual vtkDoubleArray* vtkTeemNRRDWriter::GetDiffusionGradients ( )
virtual

◆ GetFileName()

virtual char* vtkTeemNRRDWriter::GetFileName ( )
virtual

◆ GetFileType()

virtual int vtkTeemNRRDWriter::GetFileType ( )
virtual

◆ GetIJKToRASMatrix()

virtual vtkMatrix4x4* vtkTeemNRRDWriter::GetIJKToRASMatrix ( )
virtual

◆ GetInput() [1/2]

vtkImageData* vtkTeemNRRDWriter::GetInput ( )


Get the input to this writer.

◆ GetInput() [2/2]

vtkImageData* vtkTeemNRRDWriter::GetInput ( int  port)

◆ GetMeasurementFrameMatrix()

virtual vtkMatrix4x4* vtkTeemNRRDWriter::GetMeasurementFrameMatrix ( )
virtual

◆ GetUseCompression()

virtual int vtkTeemNRRDWriter::GetUseCompression ( )
virtual

◆ GetWriteError()

virtual int vtkTeemNRRDWriter::GetWriteError ( )
virtual

◆ IsA()

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

◆ IsTypeOf()

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

◆ MakeNRRD()

void* vtkTeemNRRDWriter::MakeNRRD ( )

Utility function to return image as a Nrrd*.

◆ New()

static vtkTeemNRRDWriter* vtkTeemNRRDWriter::New ( )
static

◆ PrintSelf()

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

◆ SafeDownCast()

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

◆ SetAttribute()

void vtkTeemNRRDWriter::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 vtkTeemNRRDWriter::SetAxisLabel ( unsigned int  axis,
const char *  label 
)

Method to set label for each axis.

◆ SetAxisUnit()

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

Method to set unit for each axis.

◆ SetBValues()

virtual void vtkTeemNRRDWriter::SetBValues ( vtkDoubleArray *  )
virtual

◆ SetCompressionLevel()

virtual void vtkTeemNRRDWriter::SetCompressionLevel ( int  )
virtual

◆ SetDiffusionGradients()

virtual void vtkTeemNRRDWriter::SetDiffusionGradients ( vtkDoubleArray *  )
virtual

◆ SetFileName()

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


Specify file name of vtk polygon data file to write.

◆ SetFileType()

virtual void vtkTeemNRRDWriter::SetFileType ( int  )
virtual

◆ SetFileTypeToASCII()

void vtkTeemNRRDWriter::SetFileTypeToASCII ( )
inline

Definition at line 63 of file vtkTeemNRRDWriter.h.

◆ SetFileTypeToBinary()

void vtkTeemNRRDWriter::SetFileTypeToBinary ( )
inline

Definition at line 64 of file vtkTeemNRRDWriter.h.

◆ SetIJKToRASMatrix()

virtual void vtkTeemNRRDWriter::SetIJKToRASMatrix ( vtkMatrix4x4 *  )
virtual

◆ SetMeasurementFrameMatrix()

virtual void vtkTeemNRRDWriter::SetMeasurementFrameMatrix ( vtkMatrix4x4 *  )
virtual

◆ SetUseCompression()

virtual void vtkTeemNRRDWriter::SetUseCompression ( int  )
virtual

◆ SetVectorAxisKind()

void vtkTeemNRRDWriter::SetVectorAxisKind ( int  kind)

Method to force axis kind for the non-spatial axis (4th dimension). If not set (or set to nrrdKindUnknown) then axis kind is guessed from the number of components and scalar type.

◆ SetWriteError()

virtual void vtkTeemNRRDWriter::SetWriteError ( int  )
virtual

◆ UseCompressionOff()

virtual void vtkTeemNRRDWriter::UseCompressionOff ( )
virtual

◆ UseCompressionOn()

virtual void vtkTeemNRRDWriter::UseCompressionOn ( )
virtual

◆ WriteData()

void vtkTeemNRRDWriter::WriteData ( )
protected


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

◆ WriteErrorOff()

virtual void vtkTeemNRRDWriter::WriteErrorOff ( )
virtual

◆ WriteErrorOn()

virtual void vtkTeemNRRDWriter::WriteErrorOn ( )
virtual

Member Data Documentation

◆ Attributes

AttributeMapType* vtkTeemNRRDWriter::Attributes
protected

Definition at line 114 of file vtkTeemNRRDWriter.h.

◆ AxisLabels

AxisInfoMapType* vtkTeemNRRDWriter::AxisLabels
protected

Definition at line 115 of file vtkTeemNRRDWriter.h.

◆ AxisUnits

AxisInfoMapType* vtkTeemNRRDWriter::AxisUnits
protected

Definition at line 116 of file vtkTeemNRRDWriter.h.

◆ BValues

vtkDoubleArray* vtkTeemNRRDWriter::BValues
protected

Definition at line 104 of file vtkTeemNRRDWriter.h.

◆ CompressionLevel

int vtkTeemNRRDWriter::CompressionLevel
protected

Definition at line 111 of file vtkTeemNRRDWriter.h.

◆ DiffusionGradients

vtkDoubleArray* vtkTeemNRRDWriter::DiffusionGradients
protected

Definition at line 105 of file vtkTeemNRRDWriter.h.

◆ FileName

char* vtkTeemNRRDWriter::FileName
protected

Definition at line 102 of file vtkTeemNRRDWriter.h.

◆ FileType

int vtkTeemNRRDWriter::FileType
protected

Definition at line 112 of file vtkTeemNRRDWriter.h.

◆ IJKToRASMatrix

vtkMatrix4x4* vtkTeemNRRDWriter::IJKToRASMatrix
protected

Definition at line 107 of file vtkTeemNRRDWriter.h.

◆ MeasurementFrameMatrix

vtkMatrix4x4* vtkTeemNRRDWriter::MeasurementFrameMatrix
protected

Definition at line 108 of file vtkTeemNRRDWriter.h.

◆ UseCompression

int vtkTeemNRRDWriter::UseCompression
protected

Definition at line 110 of file vtkTeemNRRDWriter.h.

◆ VectorAxisKind

int vtkTeemNRRDWriter::VectorAxisKind
protected

Definition at line 117 of file vtkTeemNRRDWriter.h.

◆ WriteError

int vtkTeemNRRDWriter::WriteError
protected


Flag to set to on when a write error occurred

Definition at line 100 of file vtkTeemNRRDWriter.h.


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