FAST
3.2.0
Framework for Heterogeneous Medical Image Computing and Visualization
Visualization
SliceRenderer
SliceRenderer.hpp
Go to the documentation of this file.
1
#ifndef SLICERENDERER_HPP_
2
#define SLICERENDERER_HPP_
3
4
#include <
FAST/Visualization/Plane.hpp
>
5
#include <
FAST/Visualization/ImageRenderer/ImageRenderer.hpp
>
6
#include "
FAST/Visualization/Renderer.hpp
"
7
#include "
FAST/Data/Image.hpp
"
8
9
namespace
fast
{
10
11
class
ImageSlicer;
12
13
class
FAST_EXPORT
SliceRenderer
:
public
ImageRenderer
{
14
FAST_OBJECT
(
SliceRenderer
)
15
public
:
16
uint
addInputConnection(
DataChannel::pointer
port)
override
;
24
uint
addInputConnection(
DataChannel::pointer
port,
PlaneType
orthogonalSlicePlane,
int
sliceNr = -1);
31
uint
addInputConnection(
DataChannel::pointer
port,
Plane
slicePlane);
38
uint
addInputConnection(
DataChannel::pointer
port, std::shared_ptr<ImageSlicer> slicer);
39
void
setOrthogonalSlicePlane(
uint
portID,
PlaneType
orthogonalSlicePlane,
int
sliceNr = -1);
40
void
setArbitrarySlicePlane(
uint
portID,
Plane
slicePlane);
41
private
:
42
SliceRenderer
();
43
void
execute()
override
;
44
45
std::unordered_map<uint, std::shared_ptr<ImageSlicer>> mSlicers;
46
};
47
48
}
49
50
51
52
53
#endif
/* SLICERENDERER_HPP_ */
fast::PlaneType
PlaneType
Definition:
DataTypes.hpp:48
Image.hpp
fast
Definition:
AffineTransformation.hpp:7
ImageRenderer.hpp
FAST_OBJECT
#define FAST_OBJECT(className)
Definition:
Object.hpp:9
fast::SliceRenderer
Definition:
SliceRenderer.hpp:13
Renderer.hpp
fast::DataChannel::pointer
std::shared_ptr< DataChannel > pointer
Definition:
DataChannel.hpp:12
fast::Plane
Definition:
Plane.hpp:8
Plane.hpp
uint
unsigned int uint
Definition:
DataTypes.hpp:16
fast::ImageRenderer
Definition:
ImageRenderer.hpp:8
Generated by
1.8.17