Slicer 5.13
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
Loading...
Searching...
No Matches
vtkITKImageSequenceWriter Class Reference

#include <Libs/vtkITK/vtkITKImageSequenceWriter.h>

Inheritance diagram for vtkITKImageSequenceWriter:
Collaboration diagram for vtkITKImageSequenceWriter:

Public Types

typedef vtkImageAlgorithm Superclass
 

Public Member Functions

AttributeMapType * GetAttributes () const
 Get the attributes map.
 
AxisInfoMapType * GetAxisLabels () const
 Get the axis labels map.
 
AxisInfoMapType * GetAxisUnits () const
 Get the axis units map.
 
virtual const char * GetClassName ()
 
virtual char * GetFileName ()
 Set/Get the file name.
 
virtual char * GetImageIOClassName ()
 Set/Get the ImageIO class name.
 
virtual char * GetIntentCode ()
 
virtual double GetSequenceAxisOrigin ()
 
virtual double GetSequenceAxisSpacing ()
 
virtual int GetUseCompression ()
 Use compression if possible.
 
virtual int GetVoxelVectorType ()
 
virtual int IsA (const char *type)
 
void PrintSelf (ostream &os, vtkIndent indent) override
 
void SetAttribute (const std::string &name, const std::string &value)
 Method to set an attribute that will be passed into the NRRD file on write.
 
void SetAxisLabel (unsigned int axis, const char *label)
 Method to set label for each axis.
 
void SetAxisUnit (unsigned int axis, const char *unit)
 Method to set unit for each axis.
 
virtual void SetFileName (const char *)
 
virtual void SetImageIOClassName (const char *)
 
virtual void SetIntentCode (const char *)
 Intent code identifying the type of data in the file.
 
void SetRasToIJKMatrix (vtkMatrix4x4 *mat)
 Set orientation matrix.
 
virtual void SetUseCompression (int)
 
virtual void SetVoxelVectorType (int)
 
virtual void UseCompressionOff ()
 
virtual void UseCompressionOn ()
 
void Write ()
 The main interface which triggers the writer to start.
 

Static Public Member Functions

static int IsTypeOf (const char *type)
 
static vtkITKImageSequenceWriter * New ()
 
static vtkITKImageSequenceWriter * SafeDownCast (vtkObject *o)
 

Protected Member Functions

int FillInputPortInformation (int port, vtkInformation *info) override
 
bool IsNiftiFile ()
 Returns true if the image is written in NIfTI file format.
 
void UpdateNiftiSequenceAxis (int numberOfFrames)
 
 vtkITKImageSequenceWriter ()
 
 ~vtkITKImageSequenceWriter () override
 

Protected Attributes

AttributeMapType * Attributes
 
AxisInfoMapType * AxisLabels
 
AxisInfoMapType * AxisUnits
 
char * FileName { nullptr }
 
char * ImageIOClassName { nullptr }
 
char * IntentCode { nullptr }
 
vtkMatrix4x4 * RasToIJKMatrix { nullptr }
 
double SequenceAxisOrigin { 0.0 }
 
double SequenceAxisSpacing { 1.0 }
 
int UseCompression { 0 }
 
int VoxelVectorType { vtkITKImageWriter::VoxelVectorTypeUndefined }
 

Detailed Description

Definition at line 35 of file vtkITKImageSequenceWriter.h.

Member Typedef Documentation

◆ Superclass

typedef vtkImageAlgorithm vtkITKImageSequenceWriter::Superclass

Definition at line 39 of file vtkITKImageSequenceWriter.h.

Constructor & Destructor Documentation

◆ vtkITKImageSequenceWriter()

vtkITKImageSequenceWriter::vtkITKImageSequenceWriter ( )
protected

◆ ~vtkITKImageSequenceWriter()

vtkITKImageSequenceWriter::~vtkITKImageSequenceWriter ( )
overrideprotected

Member Function Documentation

◆ FillInputPortInformation()

int vtkITKImageSequenceWriter::FillInputPortInformation ( int port,
vtkInformation * info )
overrideprotected

Fill the input port information objects for this algorithm. This is invoked by the first call to GetInputPortInformation for each port so subclasses can specify what they can handle.

◆ GetAttributes()

AttributeMapType * vtkITKImageSequenceWriter::GetAttributes ( ) const
inline

Get the attributes map.

Definition at line 86 of file vtkITKImageSequenceWriter.h.

◆ GetAxisLabels()

AxisInfoMapType * vtkITKImageSequenceWriter::GetAxisLabels ( ) const
inline

Get the axis labels map.

Definition at line 91 of file vtkITKImageSequenceWriter.h.

◆ GetAxisUnits()

AxisInfoMapType * vtkITKImageSequenceWriter::GetAxisUnits ( ) const
inline

Get the axis units map.

Definition at line 96 of file vtkITKImageSequenceWriter.h.

◆ GetClassName()

virtual const char * vtkITKImageSequenceWriter::GetClassName ( )
virtual

◆ GetFileName()

virtual char * vtkITKImageSequenceWriter::GetFileName ( )
virtual

Set/Get the file name.

◆ GetImageIOClassName()

virtual char * vtkITKImageSequenceWriter::GetImageIOClassName ( )
virtual

Set/Get the ImageIO class name.

◆ GetIntentCode()

virtual char * vtkITKImageSequenceWriter::GetIntentCode ( )
virtual

◆ GetSequenceAxisOrigin()

virtual double vtkITKImageSequenceWriter::GetSequenceAxisOrigin ( )
virtual

Origin of the sequence axis (4th image axis) that was used in the most recent Write(). For NIfTI file format it is computed from the index values and unit of axis 3 (stored in toffset), for other file formats it is 0.0.

◆ GetSequenceAxisSpacing()

virtual double vtkITKImageSequenceWriter::GetSequenceAxisSpacing ( )
virtual

Spacing along the sequence axis (4th image axis) that was used in the most recent Write(). For NIfTI file format it is computed from the index values and unit of axis 3 (stored in pixdim[4]), for other file formats it is 1.0.

◆ GetUseCompression()

virtual int vtkITKImageSequenceWriter::GetUseCompression ( )
virtual

Use compression if possible.

◆ GetVoxelVectorType()

virtual int vtkITKImageSequenceWriter::GetVoxelVectorType ( )
virtual

◆ IsA()

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

◆ IsNiftiFile()

bool vtkITKImageSequenceWriter::IsNiftiFile ( )
protected

Returns true if the image is written in NIfTI file format.

◆ IsTypeOf()

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

◆ New()

static vtkITKImageSequenceWriter * vtkITKImageSequenceWriter::New ( )
static

◆ PrintSelf()

void vtkITKImageSequenceWriter::PrintSelf ( ostream & os,
vtkIndent indent )
override

◆ SafeDownCast()

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

◆ SetAttribute()

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

Method to set label for each axis.

◆ SetAxisUnit()

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

Method to set unit for each axis.

◆ SetFileName()

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

◆ SetImageIOClassName()

virtual void vtkITKImageSequenceWriter::SetImageIOClassName ( const char * )
virtual

◆ SetIntentCode()

virtual void vtkITKImageSequenceWriter::SetIntentCode ( const char * )
virtual

Intent code identifying the type of data in the file.

◆ SetRasToIJKMatrix()

void vtkITKImageSequenceWriter::SetRasToIJKMatrix ( vtkMatrix4x4 * mat)
inline

Set orientation matrix.

Definition at line 62 of file vtkITKImageSequenceWriter.h.

◆ SetUseCompression()

virtual void vtkITKImageSequenceWriter::SetUseCompression ( int )
virtual

◆ SetVoxelVectorType()

virtual void vtkITKImageSequenceWriter::SetVoxelVectorType ( int )
virtual

Defines how to interpret voxel components Enumerated values are specified in vtkITKImageWriter.

◆ UpdateNiftiSequenceAxis()

void vtkITKImageSequenceWriter::UpdateNiftiSequenceAxis ( int numberOfFrames)
protected

Compute sequence axis spacing and origin from the index values and unit of axis 3 and report sequence properties that cannot be stored in NIfTI file format.

◆ UseCompressionOff()

virtual void vtkITKImageSequenceWriter::UseCompressionOff ( )
virtual

◆ UseCompressionOn()

virtual void vtkITKImageSequenceWriter::UseCompressionOn ( )
virtual

◆ Write()

void vtkITKImageSequenceWriter::Write ( )

The main interface which triggers the writer to start.

Member Data Documentation

◆ Attributes

AttributeMapType* vtkITKImageSequenceWriter::Attributes
protected

Definition at line 124 of file vtkITKImageSequenceWriter.h.

◆ AxisLabels

AxisInfoMapType* vtkITKImageSequenceWriter::AxisLabels
protected

Definition at line 125 of file vtkITKImageSequenceWriter.h.

◆ AxisUnits

AxisInfoMapType* vtkITKImageSequenceWriter::AxisUnits
protected

Definition at line 126 of file vtkITKImageSequenceWriter.h.

◆ FileName

char* vtkITKImageSequenceWriter::FileName { nullptr }
protected

Definition at line 115 of file vtkITKImageSequenceWriter.h.

◆ ImageIOClassName

char* vtkITKImageSequenceWriter::ImageIOClassName { nullptr }
protected

Definition at line 118 of file vtkITKImageSequenceWriter.h.

◆ IntentCode

char* vtkITKImageSequenceWriter::IntentCode { nullptr }
protected

Definition at line 120 of file vtkITKImageSequenceWriter.h.

◆ RasToIJKMatrix

vtkMatrix4x4* vtkITKImageSequenceWriter::RasToIJKMatrix { nullptr }
protected

Definition at line 116 of file vtkITKImageSequenceWriter.h.

◆ SequenceAxisOrigin

double vtkITKImageSequenceWriter::SequenceAxisOrigin { 0.0 }
protected

Definition at line 122 of file vtkITKImageSequenceWriter.h.

◆ SequenceAxisSpacing

double vtkITKImageSequenceWriter::SequenceAxisSpacing { 1.0 }
protected

Definition at line 121 of file vtkITKImageSequenceWriter.h.

◆ UseCompression

int vtkITKImageSequenceWriter::UseCompression { 0 }
protected

Definition at line 117 of file vtkITKImageSequenceWriter.h.

◆ VoxelVectorType

int vtkITKImageSequenceWriter::VoxelVectorType { vtkITKImageWriter::VoxelVectorTypeUndefined }
protected

Definition at line 119 of file vtkITKImageSequenceWriter.h.


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