FAST  3.2.0
Framework for Heterogeneous Medical Image Computing and Visualization
Plane.hpp
Go to the documentation of this file.
1 #ifndef PLANE_HPP_
2 #define PLANE_HPP_
3 
5 
6 namespace fast {
7 
8 class FAST_EXPORT Plane {
9  public:
10  Plane(Vector3f normal);
11  Plane(Vector3f normal, Vector3f position);
12  void setPosition(Vector3f position);
13  void setNormal(Vector3f normal);
14  Vector3f getPosition() const;
15  Vector3f getNormal() const;
16  Vector3f getIntersectionPoint(Vector3f pointA, Vector3f pointB) const;
17  bool hasPosition() const;
18  static Plane Sagittal();
19  static Plane Coronal();
20  static Plane Axial();
21  private:
22 
23  bool mHasPosition;
24  Vector3f mNormal;
25  Vector3f mPosition;
26 };
27 
28 }
29 
30 #endif
fast
Definition: AffineTransformation.hpp:7
fast::Plane
Definition: Plane.hpp:8
DataTypes.hpp