43 #ifndef SVK_IDF_VOLUME_WRITER_H
44 #define SVK_IDF_VOLUME_WRITER_H
46 #include <vtkInformation.h>
88 bool castDoubleToFloat;
93 void GetIDFCenter(
double center[3]);
94 string GetIDFPatientName(
string PatientName);
95 void MapUnsignedToSigned(
void* pixels,
int numPixels );
96 void MapSignedIntToFloat(
short* shortPixels,
float* floatPixels,
int numPixels);
97 void MapDoubleToFloat(
double* doublePixels,
float* floatPixels,
int numPixels);
98 void CastDoubleToFloat(
double* doublePixels,
float* floatPixels,
int numPixels);
99 void InitDoublePixelRange();
101 double globalRangeMin;
102 double globalRangeMax;
109 #endif //SVK_IDF_VOLUME_WRITER_H
Definition: svkIdfVolumeWriter.h:60
void SetCastDoubleToFloat(bool castDoubleToFloat)
Definition: svkIdfVolumeWriter.cc:623
svkIdfVolumeWriter()
Definition: svkIdfVolumeWriter.cc:69
virtual void Write()
Definition: svkIdfVolumeWriter.cc:98
static svkIdfVolumeWriter * New()
vtkDataObject * GetInput()
Definition: svkIdfVolumeWriter.h:70
string GetHeaderString(int vol=0)
Definition: svkIdfVolumeWriter.cc:292
virtual int FillInputPortInformation(int port, vtkInformation *info)
Definition: svkIdfVolumeWriter.cc:716
~svkIdfVolumeWriter()
Definition: svkIdfVolumeWriter.cc:87
svkImageData * GetImageDataInput(int port)
Definition: svkIdfVolumeWriter.cc:758
Definition: svkImageData.h:107
Definition: svkImageWriter.h:63
vtkTypeMacro(svkIdfVolumeWriter, svkImageWriter)