NifTK  16.4.1 - 0798f20
CMIC's Translational Medical Imaging Platform
niftkPolyToolOpAddToFeedbackContour.h
Go to the documentation of this file.
1 /*=============================================================================
2 
3  NifTK: A software platform for medical image computing.
4 
5  Copyright (c) University College London (UCL). All rights reserved.
6 
7  This software is distributed WITHOUT ANY WARRANTY; without even
8  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
9  PURPOSE.
10 
11  See LICENSE.txt in the top level directory for details.
12 
13 =============================================================================*/
14 
15 #ifndef niftkPolyToolOpAddToFeedbackContour_h
16 #define niftkPolyToolOpAddToFeedbackContour_h
17 
18 #include "niftkMIDASExports.h"
19 
20 #include <mitkContourModel.h>
21 #include <mitkOperation.h>
22 #include <mitkOperationActor.h>
23 #include <mitkPlaneGeometry.h>
24 #include <mitkTool.h>
25 #include <mitkToolManager.h>
26 
27 namespace niftk
28 {
29 
35 class NIFTKMIDAS_EXPORT PolyToolOpAddToFeedbackContour: public mitk::Operation
36 {
37 public:
38 
40  mitk::OperationType type,
41  mitk::Point3D &point,
42  mitk::ContourModel* contour,
43  const mitk::PlaneGeometry* geometry
44  );
45 
47 
48  mitk::Point3D GetPoint() const;
49 
50  mitk::ContourModel* GetContour() const;
51 
52  const mitk::PlaneGeometry* GetPlaneGeometry();
53 
54 private:
55 
56  mitk::Point3D m_Point;
57  mitk::ContourModel::Pointer m_Contour;
58  const mitk::PlaneGeometry* m_PlaneGeometry;
59 };
60 
61 }
62 
63 #endif
GLuint GLuint GLsizei GLenum type
Definition: glew.h:1237
Operation class to hold data to pass back to this PolyTool, so that the PolyTool can execute the Undo...
Definition: niftkPolyToolOpAddToFeedbackContour.h:35
Definition: niftkExceptionObject.h:21