NifTK  16.4.1 - 0798f20
CMIC's Translational Medical Imaging Platform
niftkPolyToolOpUpdateFeedbackContour.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 niftkPolyToolOpUpdateFeedbackContour_h
16 #define niftkPolyToolOpUpdateFeedbackContour_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 PolyToolOpUpdateFeedbackContour: public mitk::Operation
36 {
37 public:
38 
40  mitk::OperationType type,
41  unsigned int pointId,
42  const mitk::Point3D &point,
43  mitk::ContourModel* contour,
44  const mitk::PlaneGeometry* geometry
45  );
46 
48 
49  unsigned int GetPointId() const;
50 
51  const mitk::Point3D GetPoint() const;
52 
53  mitk::ContourModel* GetContour() const;
54 
55  const mitk::PlaneGeometry* GetPlaneGeometry();
56 
57 private:
58 
59  unsigned int m_PointId;
60  const mitk::Point3D m_Point;
61  mitk::ContourModel::Pointer m_Contour;
62  const mitk::PlaneGeometry* m_PlaneGeometry;
63 
64 };
65 
66 }
67 
68 #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: niftkPolyToolOpUpdateFeedbackContour.h:35
Definition: niftkExceptionObject.h:21