Medical Imaging Interaction Toolkit
2023.04.00
Medical Imaging Interaction Toolkit
mitkToFImageCsvWriter.h
Go to the documentation of this file.
1
/*============================================================================
2
3
The Medical Imaging Interaction Toolkit (MITK)
4
5
Copyright (c) German Cancer Research Center (DKFZ)
6
All rights reserved.
7
8
Use of this source code is governed by a 3-clause BSD license that can be
9
found in the LICENSE file.
10
11
============================================================================*/
12
#ifndef mitkToFImageCsvWriter_h
13
#define mitkToFImageCsvWriter_h
14
15
#include "
mitkToFImageWriter.h
"
16
#include <MitkToFHardwareExports.h>
17
18
namespace
mitk
19
{
29
class
MITKTOFHARDWARE_EXPORT
ToFImageCsvWriter
:
public
ToFImageWriter
30
{
31
public
:
35
ToFImageCsvWriter
();
39
~
ToFImageCsvWriter
()
override
;
40
41
mitkClassMacro
(
ToFImageCsvWriter
,
ToFImageWriter
);
42
43
itkFactorylessNewMacro(Self);
44
45
itkCloneMacro(Self)
49
void
Open()
override
;
53
void
Close()
override
;
61
void
Add(
float
* distanceFloatData,
float
* amplitudeFloatData,
float
* intensityFloatData,
unsigned
char
* rgbData=
nullptr
)
override
;
62
63
protected
:
64
65
Image::Pointer
m_MitkImage
;
66
FILE*
m_DistanceOutfile
;
67
FILE*
m_AmplitudeOutfile
;
68
FILE*
m_IntensityOutfile
;
69
70
private
:
75
void
OpenCsvFile(FILE** outfile, std::string outfileName);
80
void
CloseCsvFile(FILE* outfile);
85
void
WriteCsvFile(FILE* outfile,
float
* floatData);
86
};
87
}
//END mitk namespace
88
#endif
mitk::ToFImageCsvWriter::m_DistanceOutfile
FILE * m_DistanceOutfile
file for distance image
Definition:
mitkToFImageCsvWriter.h:66
mitk::ToFImageCsvWriter::m_IntensityOutfile
FILE * m_IntensityOutfile
file for intensity image
Definition:
mitkToFImageCsvWriter.h:68
mitk::ToFImageWriter
Writer class for ToF images.
Definition:
mitkToFImageWriter.h:34
itk::SmartPointer< Self >
mitk
DataCollection - Class to facilitate loading/accessing structured data.
Definition:
RenderingTests.dox:1
mitkToFImageWriter.h
mitk::ToFImageCsvWriter::m_AmplitudeOutfile
FILE * m_AmplitudeOutfile
file for amplitude image
Definition:
mitkToFImageCsvWriter.h:67
mitkClassMacro
#define mitkClassMacro(className, SuperClassName)
Definition:
mitkCommon.h:36
mitk::ToFImageCsvWriter
CSV writer class for ToF image data.
Definition:
mitkToFImageCsvWriter.h:29
mitk::ToFImageCsvWriter::m_MitkImage
Image::Pointer m_MitkImage
mitk image used for pic header creation
Definition:
mitkToFImageCsvWriter.h:65
src
MITK
Modules
ToFHardware
mitkToFImageCsvWriter.h
Generated on Wed May 17 2023 16:26:12 for Medical Imaging Interaction Toolkit by
1.8.17