FAST
3.2.0
Framework for Heterogeneous Medical Image Computing and Visualization
Streamers
AffineTransformationFileStreamer.hpp
Go to the documentation of this file.
1
#ifndef AFFINE_TRANSFORMATION_FILE_STREAMER_HPP
2
#define AFFINE_TRANSFORMATION_FILE_STREAMER_HPP
3
4
5
#include "
FAST/Streamers/Streamer.hpp
"
6
#include "
FAST/ProcessObject.hpp
"
7
#include <thread>
8
9
namespace
fast
{
10
11
class
FAST_EXPORT
AffineTransformationFileStreamer
:
public
Streamer
{
12
FAST_OBJECT
(
AffineTransformationFileStreamer
)
13
public
:
14
void
setFilename(std::string str);
15
void
setTimestampFilename(std::string filepath);
16
void
enableLooping();
17
void
disableLooping();
21
void
setSleepTime(
uint
milliseconds);
22
uint
getNrOfFrames()
const
;
27
void
generateStream()
override
;
28
29
~
AffineTransformationFileStreamer
();
30
private
:
31
AffineTransformationFileStreamer
();
32
33
// Update the streamer if any parameters have changed
34
void
execute();
35
36
bool
mLoop;
37
uint
mSleepTime;
38
39
uint
mNrOfFrames;
40
uint
mMaximumNrOfFrames;
41
bool
mMaximumNrOfFramesSet;
42
43
std::string mFilename;
44
std::string mTimestampFilename;
45
46
};
47
48
}
// end namespace fast
49
50
#endif
fast::Streamer
Definition:
Streamer.hpp:19
Streamer.hpp
fast::AffineTransformationFileStreamer
Definition:
AffineTransformationFileStreamer.hpp:11
fast
Definition:
AffineTransformation.hpp:7
FAST_OBJECT
#define FAST_OBJECT(className)
Definition:
Object.hpp:9
ProcessObject.hpp
uint
unsigned int uint
Definition:
DataTypes.hpp:16
Generated by
1.8.17