SIVIC API  0.9.26
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
svkDICOMSCWriter Class Reference

#include <svkDICOMSCWriter.h>

Inheritance diagram for svkDICOMSCWriter:
svkImageWriter

Public Member Functions

 vtkTypeMacro (svkDICOMSCWriter, svkImageWriter)
 
void SetInput (vtkDataObject *input)
 
void SetInput (int index, vtkDataObject *input)
 
vtkDataObject * GetInput (int port)
 
svkImageDataGetImageDataInput (int port)
 
virtual void Write ()
 
void CreateNewSeries ()
 
void SetOutputToGrayscale (bool isOutputGray)
 
void SetUseInstanceNumber (bool useInstanceNumber)
 Set to true if you want to use the instance number as the file number. More...
 
- 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 svkDICOMSCWriterNew ()
 
static string GetFilePattern (svkImageData *imageData)
 
- Static Public Member Functions inherited from svkImageWriter
static svkImageWriterNew ()
 

Protected Member Functions

 svkDICOMSCWriter ()
 
 ~svkDICOMSCWriter ()
 
virtual int FillInputPortInformation (int vtkNotUsed(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
 

Detailed Description

Concrete svkImageWriter instance for creating single frame DICOM Secondary Capture SOP class output (SOPClassUID: 1.2.840.10008.5.1.4.1.1.7). The DICOM SC header is generated from scratch with the following elements copied from the svkDcmHeader of the input svkImageData object: PatientID, StudyDate, StudyID, PatientName, StudyInstanceUID. All instances have the same "unique" SeriesInstanceUID, generated from scratch. RGB output is the default. Grayscale output may be specified, in which case the input image is mapped via vtkImageLuminance to a gray scale output, with PhotometricInterpretation set at MONOCHROME2 (highest intensity bright).

Constructor & Destructor Documentation

svkDICOMSCWriter ( )
protected
~svkDICOMSCWriter ( )
protected

Member Function Documentation

void CreateNewSeries ( )

Not yet implemented. Intended to force new SeriesInstanceUID generation of for use when writer instance will create multiple DICOM SC output series.

int FillInputPortInformation ( int   vtkNotUsedport,
vtkInformation *  info 
)
protectedvirtual
static string GetFilePattern ( svkImageData imageData)
static
svkImageData * GetImageDataInput ( int  port)
vtkDataObject * GetInput ( int  port)
static svkDICOMSCWriter* New ( )
static
void SetInput ( vtkDataObject *  input)

Set the input svkImageDataObject, which will be used to set the DICOM PixelData and also populate Exam/Patient specific DICOM attributes for the output data.

void SetInput ( int  index,
vtkDataObject *  input 
)
void SetOutputToGrayscale ( bool  isOutputGray)

If set to true, results in conversion of input pixels to grayscale for DICOM PixelDataSets, and also sets ImagePixelModule attribures correctly for grayscale output. The default output is RGB.

void SetUseInstanceNumber ( bool  useInstanceNumber)

Set to true if you want to use the instance number as the file number.

Set to true if you want to use the instance number as the file number.

vtkTypeMacro ( svkDICOMSCWriter  ,
svkImageWriter   
)
void Write ( )
virtual

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