Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019 #ifndef MITKPLANE_H_HEADER_INCLUDED
00020 #define MITKPLANE_H_HEADER_INCLUDED
00021
00022 #include "mitkBoundingObject.h"
00023 #include "MitkExtExports.h"
00024
00025
00026 class vtkPlaneSource;
00027 class vtkDoubleArray;
00028
00029 namespace mitk {
00030
00038 class MitkExt_EXPORT Plane : public BoundingObject
00039 {
00040 public:
00041 mitkClassMacro(Plane, BoundingObject);
00042 itkNewMacro(Self);
00043
00044 void SetExtent( const double x, const double y );
00045 void GetExtent( double &x, double &y ) const;
00046
00047 void SetResolution( const int xR, const int yR );
00048 void GetResolution( int &xR, int &yR ) const;
00049
00050
00051 virtual mitk::ScalarType GetVolume();
00052 virtual bool IsInside(const Point3D& p) const;
00053
00054 protected:
00055 Plane();
00056 virtual ~Plane();
00057
00058 vtkPlaneSource *m_PlaneSource;
00059
00060 vtkPolyData *m_Plane;
00061
00062 vtkDoubleArray *m_PlaneNormal;
00063
00064
00065 };
00066
00067 }
00068 #endif
00069
00070