![]() |
Slicer 5.9
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
|
Writes image files using ITK. More...
#include <Libs/vtkITK/vtkITKImageWriter.h>
Public Types | |
enum | { VoxelVectorTypeUndefined , VoxelVectorTypeSpatial , VoxelVectorTypeColorRGB , VoxelVectorTypeColorRGBA , VoxelVectorTypeSpatialCovariant , VoxelVectorType_Last } |
typedef vtkImageAlgorithm | Superclass |
Public Member Functions | |
virtual const char * | GetClassName () |
char * | GetFileName () |
virtual char * | GetImageIOClassName () |
Set/Get the ImageIO class name. | |
virtual int | GetUseCompression () |
Use compression if possible. | |
virtual int | GetVoxelVectorType () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) override |
void | SetFileName (const char *) |
virtual void | SetImageIOClassName (const char *) |
void | SetMeasurementFrameMatrix (vtkMatrix4x4 *mat) |
Set orientation matrix. | |
void | SetRasToIJKMatrix (vtkMatrix4x4 *mat) |
Set orientation matrix. | |
virtual void | SetUseCompression (int) |
virtual void | SetVoxelVectorType (int) |
Defines how to interpret voxel components. | |
virtual void | UseCompressionOff () |
virtual void | UseCompressionOn () |
void | Write () |
The main interface which triggers the writer to start. | |
Static Public Member Functions | |
static void | ConvertSpatialVectorVoxelsBetweenRasLps (vtkImageData *imageData) |
Convert voxel vector type between RAS and LPS measurement frame. | |
static int | IsTypeOf (const char *type) |
static vtkITKImageWriter * | New () |
static vtkITKImageWriter * | SafeDownCast (vtkObject *o) |
static void | WriteMeasurementFrameMatrixToMetaDataDictionary (itk::MetaDataDictionary &dictionary, vtkMatrix4x4 *measurementFrameMatrix) |
Adds measurement frame matrix to the metadata. | |
Protected Member Functions | |
vtkITKImageWriter () | |
~vtkITKImageWriter () override | |
Protected Attributes | |
char * | FileName |
char * | ImageIOClassName |
vtkMatrix4x4 * | MeasurementFrameMatrix |
vtkMatrix4x4 * | RasToIJKMatrix |
int | UseCompression |
int | VoxelVectorType |
Writes image files using ITK.
It can be used for writing 3D image data with voxels containing scalars, RGB, RGBA, spatial vectors (displacement, speed, etc.), or generic list components.
vtkITKImageSequenceWriter can be used instead for writing time sequence data (e.g., time sequence of displacement fields, RGB volumes, etc.).
Definition at line 38 of file vtkITKImageWriter.h.
typedef vtkImageAlgorithm vtkITKImageWriter::Superclass |
Definition at line 42 of file vtkITKImageWriter.h.
anonymous enum |
Enumerator | |
---|---|
VoxelVectorTypeUndefined | |
VoxelVectorTypeSpatial | |
VoxelVectorTypeColorRGB | |
VoxelVectorTypeColorRGBA | |
VoxelVectorTypeSpatialCovariant | |
VoxelVectorType_Last |
Definition at line 45 of file vtkITKImageWriter.h.
|
protected |
|
overrideprotected |
|
static |
Convert voxel vector type between RAS and LPS measurement frame.
|
virtual |
|
inline |
Definition at line 61 of file vtkITKImageWriter.h.
|
virtual |
Set/Get the ImageIO class name.
|
virtual |
Use compression if possible.
|
virtual |
|
virtual |
|
static |
|
static |
|
override |
|
static |
void vtkITKImageWriter::SetFileName | ( | const char * | ) |
Specify file name for the image file. You should specify either a FileName or a FilePrefix. Use FilePrefix if the data is stored in multiple files.
|
virtual |
|
inline |
Set orientation matrix.
Definition at line 82 of file vtkITKImageWriter.h.
|
inline |
Set orientation matrix.
Definition at line 79 of file vtkITKImageWriter.h.
|
virtual |
|
virtual |
Defines how to interpret voxel components.
|
virtual |
|
virtual |
void vtkITKImageWriter::Write | ( | ) |
The main interface which triggers the writer to start.
|
static |
Adds measurement frame matrix to the metadata.
|
protected |
Definition at line 98 of file vtkITKImageWriter.h.
|
protected |
Definition at line 102 of file vtkITKImageWriter.h.
|
protected |
Definition at line 100 of file vtkITKImageWriter.h.
|
protected |
Definition at line 99 of file vtkITKImageWriter.h.
|
protected |
Definition at line 101 of file vtkITKImageWriter.h.
|
protected |
Definition at line 103 of file vtkITKImageWriter.h.