FAST  3.2.0
Framework for Heterogeneous Medical Image Computing and Visualization
ImageSlicer.hpp
Go to the documentation of this file.
1 #ifndef IMAGE_SLICER_HPP
2 #define IMAGE_SLICER_HPP
3 
4 #include "FAST/ProcessObject.hpp"
7 
8 namespace fast {
9 
10 class Image;
11 
12 class FAST_EXPORT ImageSlicer : public ProcessObject {
14  public:
15  void setOrthogonalSlicePlane(PlaneType orthogonalSlicePlane, int sliceNr = -1);
16  void setArbitrarySlicePlane(Plane slicePlane);
17  private:
18  ImageSlicer();
19  void execute();
20  void orthogonalSlicing(std::shared_ptr<Image> input, std::shared_ptr<Image> output);
21  void arbitrarySlicing(std::shared_ptr<Image> input, std::shared_ptr<Image> output);
22 
23  bool mOrthogonalSlicing;
24  bool mArbitrarySlicing;
25  Plane mArbitrarySlicePlane;
26  PlaneType mOrthogonalSlicePlane;
27  int mOrthogonalSliceNr;
28 };
29 
30 } // end namespace fast
31 
32 #endif
fast::PlaneType
PlaneType
Definition: DataTypes.hpp:48
fast
Definition: AffineTransformation.hpp:7
FAST_OBJECT
#define FAST_OBJECT(className)
Definition: Object.hpp:9
fast::ImageSlicer
Definition: ImageSlicer.hpp:12
fast::Plane
Definition: Plane.hpp:8
DataTypes.hpp
ProcessObject.hpp
Plane.hpp
fast::ProcessObject
Definition: ProcessObject.hpp:22