SIVIC API
0.9.26
|
#include <svkImageWriterFactory.h>
Public Types | |
enum | WriterType { UNDEFINED = -1, JPEG = 0, TIFF, DDF, IDF, DICOM_MRS, DICOM_MRI, DICOM_ENHANCED_MRI, DICOM_SC, PS, LCMODEL, LAST_TYPE = PS } |
Public Member Functions | |
vtkTypeMacro (svkImageWriterFactory, vtkObject) | |
virtual vtkImageWriter * | CreateImageWriter (WriterType writerType) |
Static Public Member Functions | |
static svkImageWriterFactory * | New () |
static WriterType | GetDefaultWriterForFilePattern (string newSeriesFilePattern) |
static int | GetNewSeriesFilePattern (svkImageData *imageData, string *newSeriesFilePattern) |
static int | GetNewSeriesNumberOffset () |
Protected Member Functions | |
svkImageWriterFactory () | |
~svkImageWriterFactory () | |
Factory Base class. Generates both vtk image writers ( JPEG, TIFF, etc.) and svk image writers. many of the vtk image writers are for screen captures from a vtkRenderWindow. The output from the vtkWindow2ImageFilter is used as input to the writer, for writers that write out screen images.
enum WriterType |
|
protected |
|
protected |
|
virtual |
References svkImageWriterFactory::DDF, svkImageWriterFactory::DICOM_ENHANCED_MRI, svkImageWriterFactory::DICOM_MRI, svkImageWriterFactory::DICOM_MRS, svkImageWriterFactory::DICOM_SC, svkImageWriterFactory::IDF, svkImageWriterFactory::JPEG, svkImageWriterFactory::LCMODEL, svkDICOMEnhancedMRIWriter::New(), svkDICOMMRIWriter::New(), svkDdfVolumeWriter::New(), svkLCModelRawWriter::New(), svkIdfVolumeWriter::New(), svkDICOMMRSWriter::New(), svkDICOMSCWriter::New(), svkImageWriterFactory::PS, and svkImageWriterFactory::TIFF.
Referenced by svkImageAlgorithmPipeline::InitializeAlgorithmForTag(), svkVizUtils::SaveWindow(), and svkDataModel::WriteToFile().
|
static |
Get the file default writer type for the given filename.
References svkImageWriterFactory::DDF, svkImageWriterFactory::DICOM_ENHANCED_MRI, svkImageWriterFactory::IDF, svkImageWriterFactory::JPEG, svkImageWriterFactory::LCMODEL, svkImageWriterFactory::PS, svkImageWriterFactory::TIFF, and svkImageWriterFactory::UNDEFINED.
Referenced by svkImageAlgorithmPipeline::InitializeAlgorithmForTag().
|
static |
Generates a default file pattern for a new series and returns the new series number: EStudyIdSSeriesNumberI
References svkImageData::GetDcmHeader(), svkDcmHeader::GetIntValue(), svkImageWriterFactory::GetNewSeriesNumberOffset(), and svkDcmHeader::GetStringValue().
|
static |
Return incremented series offset
Referenced by svkImageWriterFactory::GetNewSeriesFilePattern().
|
static |
vtkTypeMacro | ( | svkImageWriterFactory | , |
vtkObject | |||
) |