MITK-IGT
IGT Extension of MITK
|
Filter that allows recording of processed ToF images Internally the ToFImageWriter is used for writing. More...
#include <mitkToFImageRecorderFilter.h>
Public Member Functions | |
mitkClassMacro (ToFImageRecorderFilter, ImageToImageFilter) | |
itkFactorylessNewMacro (Self) | |
itkCloneMacro (Self) | |
void | SetFileName (std::string fileName) |
Set file name for writing image files This filename will be appended by "_DistanceImage", "_AmplitudeImage", or "_IntensityImage" for the single images. | |
void | SetImageType (ToFImageWriter::ToFImageType tofImageType) |
Set image type for recording. | |
ToFImageWriter::Pointer | GetToFImageWriter () |
Returns a pointer to the ToFImageWriter internally used. | |
void | SetToFImageWriter (ToFImageWriter::Pointer tofImageWriter) |
Sets a pointer to the ToFImageWriter internally used. | |
void | StartRecording () |
start recording of data | |
void | StopRecording () |
stop recording of data | |
void | SetInput (const InputImageType *input) override |
sets the input of this filter | |
void | SetInput (unsigned int idx, const InputImageType *input) override |
sets the input of this filter at idx | |
Image * | GetInput () |
returns the input of this filter | |
Image * | GetInput (unsigned int idx) |
returns the input with id idx of this filter | |
Protected Member Functions | |
ToFImageRecorderFilter () | |
standard constructor | |
~ToFImageRecorderFilter () override | |
standard destructor | |
void | GenerateData () override |
method generating the output of this filter. Called in the updated process of the pipeline. This method generates the output of the ToFSurfaceSource: The generated surface of the 3d points | |
void | CreateOutputsForAllInputs () |
Create an output for each input. | |
Protected Attributes | |
bool | m_RecordingStarted |
flag indicating if filter is currently recording | |
ToFImageWriter::Pointer | m_ToFImageWriter |
image writer used for streaming input data to file | |
std::string | m_FileExtension |
Filter that allows recording of processed ToF images Internally the ToFImageWriter is used for writing.
Definition at line 28 of file mitkToFImageRecorderFilter.h.
|
protected |
standard constructor
Definition at line 24 of file mitkToFImageRecorderFilter.cpp.
|
overrideprotected |
standard destructor
Definition at line 29 of file mitkToFImageRecorderFilter.cpp.
|
protected |
Create an output for each input.
This Method sets the number of outputs to the number of inputs and creates missing outputs objects.
Definition at line 154 of file mitkToFImageRecorderFilter.cpp.
|
overrideprotected |
method generating the output of this filter. Called in the updated process of the pipeline. This method generates the output of the ToFSurfaceSource: The generated surface of the 3d points
Definition at line 65 of file mitkToFImageRecorderFilter.cpp.
mitk::Image * mitk::ToFImageRecorderFilter::GetInput | ( | ) |
returns the input of this filter
Definition at line 142 of file mitkToFImageRecorderFilter.cpp.
mitk::Image * mitk::ToFImageRecorderFilter::GetInput | ( | unsigned int | idx | ) |
returns the input with id idx of this filter
Definition at line 147 of file mitkToFImageRecorderFilter.cpp.
mitk::ToFImageWriter::Pointer mitk::ToFImageRecorderFilter::GetToFImageWriter | ( | ) |
Returns a pointer to the ToFImageWriter internally used.
Definition at line 109 of file mitkToFImageRecorderFilter.cpp.
mitk::ToFImageRecorderFilter::itkCloneMacro | ( | Self | ) |
mitk::ToFImageRecorderFilter::itkFactorylessNewMacro | ( | Self | ) |
mitk::ToFImageRecorderFilter::mitkClassMacro | ( | ToFImageRecorderFilter | , |
ImageToImageFilter | ) |
void mitk::ToFImageRecorderFilter::SetFileName | ( | std::string | fileName | ) |
Set file name for writing image files This filename will be appended by "_DistanceImage", "_AmplitudeImage", or "_IntensityImage" for the single images.
fileName | base file name to save image filtes |
Definition at line 33 of file mitkToFImageRecorderFilter.cpp.
void mitk::ToFImageRecorderFilter::SetImageType | ( | ToFImageWriter::ToFImageType | tofImageType | ) |
Set image type for recording.
tofImageType | either 3D Volume (ToFImageType3D) or temporal image stack (ToFImageType2DPlusT) |
Definition at line 60 of file mitkToFImageRecorderFilter.cpp.
|
override |
sets the input of this filter
input | is the distance image of e.g. a ToF camera |
Definition at line 119 of file mitkToFImageRecorderFilter.cpp.
|
override |
sets the input of this filter at idx
idx | number of the current input |
input | is the distance image of e.g. a ToF camera |
Definition at line 124 of file mitkToFImageRecorderFilter.cpp.
void mitk::ToFImageRecorderFilter::SetToFImageWriter | ( | ToFImageWriter::Pointer | tofImageWriter | ) |
Sets a pointer to the ToFImageWriter internally used.
tofImageWriter | ToFImageWriter |
Definition at line 114 of file mitkToFImageRecorderFilter.cpp.
void mitk::ToFImageRecorderFilter::StartRecording | ( | ) |
start recording of data
Definition at line 92 of file mitkToFImageRecorderFilter.cpp.
void mitk::ToFImageRecorderFilter::StopRecording | ( | ) |
stop recording of data
Definition at line 103 of file mitkToFImageRecorderFilter.cpp.
|
protected |
Definition at line 112 of file mitkToFImageRecorderFilter.h.
|
protected |
flag indicating if filter is currently recording
Definition at line 110 of file mitkToFImageRecorderFilter.h.
|
protected |
image writer used for streaming input data to file
Definition at line 111 of file mitkToFImageRecorderFilter.h.