SIVIC API
0.9.26
|
#include <svkIdfVolumeWriter.h>
Public Member Functions | |
vtkTypeMacro (svkIdfVolumeWriter, svkImageWriter) | |
vtkDataObject * | GetInput (int port) |
vtkDataObject * | GetInput () |
svkImageData * | GetImageDataInput (int port) |
string | GetHeaderString (int vol=0) |
virtual void | Write () |
void | SetCastDoubleToFloat (bool castDoubleToFloat) |
Public Member Functions inherited from svkImageWriter | |
vtkTypeMacro (svkImageWriter, vtkImageWriter) | |
virtual void | Update () |
void | SetSeriesNumber (int number) |
void | SetSeriesDescription (string description) |
void | SetInstanceNumber (int number) |
virtual void | SetFileName (const char *) |
virtual void | SetFileNameWithExtension (const char *) |
Static Public Member Functions | |
static svkIdfVolumeWriter * | New () |
Static Public Member Functions inherited from svkImageWriter | |
static svkImageWriter * | New () |
Protected Member Functions | |
svkIdfVolumeWriter () | |
~svkIdfVolumeWriter () | |
virtual int | FillInputPortInformation (int port, vtkInformation *info) |
Protected Member Functions inherited from svkImageWriter | |
svkImageWriter () | |
~svkImageWriter () | |
virtual void | SetProvenance () |
Additional Inherited Members | |
Public Types inherited from svkImageWriter | |
enum | seriesNumStatus { UNDEFINED_SERIES_NUMBER = -1000 } |
Protected Attributes inherited from svkImageWriter | |
int | seriesNumber |
string | seriesDescription |
int | instanceNumber |
Concrete writer instance for UCSF IDF image output.
|
protected |
|
protected |
|
protectedvirtual |
string GetHeaderString | ( | int | vol = 0 | ) |
Write the IDF header.
References svkDcmHeader::ElementExists(), svkImageData::GetDcmHeader(), svkImageData::GetDcos(), svkIdfVolumeWriter::GetImageDataInput(), svkDcmHeader::GetIntValue(), svkDcmHeader::GetNumberOfSlices(), svkDcmHeader::GetOrientation(), svkDcmHeader::GetOrigin(), svkDcmHeader::GetPixelDataType(), svkDcmHeader::GetPixelSize(), svkDcmHeader::GetPixelSpacing(), svkDcmHeader::GetStringSequenceItemElement(), svkDcmHeader::GetStringValue(), svkTypeUtils::IntToString(), svkDcmHeader::SIGNED_FLOAT_4, svkDcmHeader::SIGNED_FLOAT_8, svkDcmHeader::SIGNED_INT_2, svkDcmHeader::UNSIGNED_INT_1, and svkDcmHeader::UNSIGNED_INT_2.
Referenced by svkF2C::GetIDFHeader().
svkImageData * GetImageDataInput | ( | int | port | ) |
References svkIdfVolumeWriter::GetInput().
Referenced by svkIdfVolumeWriter::GetHeaderString().
vtkDataObject * GetInput | ( | int | port | ) |
|
inline |
References svkIdfVolumeWriter::GetInput().
Referenced by svkIdfVolumeWriter::GetImageDataInput(), and svkIdfVolumeWriter::GetInput().
|
static |
Referenced by svkImageWriterFactory::CreateImageWriter(), and svkF2C::GetIDFHeader().
void SetCastDoubleToFloat | ( | bool | castDoubleToFloat | ) |
Set to true if you want double values to be simply cast to floats. The default behavior is to scale the doubles to the full dynamic range of the floats. If the doubles are over range for float, will throw a runtime error.
vtkTypeMacro | ( | svkIdfVolumeWriter | , |
svkImageWriter | |||
) |
|
virtual |
Write the DICOM MR Spectroscopy multi-frame file. Also initializes the DICOM SpectroscopyData element from the svkImageData object.