NifTK  16.4.1 - 0798f20
CMIC's Translational Medical Imaging Platform
niftkDrawToolOpEraseContour.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 niftkDrawToolOpEraseContour_h
16 #define niftkDrawToolOpEraseContour_h
17 
18 #include "niftkMIDASExports.h"
19 
20 #include <mitkContourModelSet.h>
21 #include <mitkOperation.h>
22 #include <mitkOperationActor.h>
23 #include <mitkTool.h>
24 
25 namespace niftk
26 {
27 
33 class NIFTKMIDAS_EXPORT DrawToolOpEraseContour: public mitk::Operation
34 {
35 public:
36 
38  mitk::OperationType type,
39  mitk::ContourModelSet* contour,
40  int dataIndex
41  );
42 
44 
45  mitk::ContourModelSet* GetContourModelSet() const;
46 
47  int GetDataIndex() const;
48 
49 private:
50 
51  mitk::ContourModelSet::Pointer m_ContourModelSet;
52  int m_DataIndex;
53 
54 };
55 
56 }
57 
58 #endif
Operation class to hold data to pass back to this DrawTool, so that this DrawTool can execute the Und...
Definition: niftkDrawToolOpEraseContour.h:33
GLuint GLuint GLsizei GLenum type
Definition: glew.h:1237
Definition: niftkExceptionObject.h:21