NifTK  16.4.1 - 0798f20
CMIC's Translational Medical Imaging Platform
niftkContourToolOpAccumulateContour.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 niftkContourToolOpAccumulateContour_h
16 #define niftkContourToolOpAccumulateContour_h
17 
18 #include "niftkMIDASExports.h"
19 
20 #include <mitkContourModelSet.h>
21 #include <mitkOperation.h>
22 #include <mitkOperationActor.h>
23 #include <mitkTool.h>
24 #include <mitkToolManager.h>
25 
26 namespace niftk
27 {
28 
34 class NIFTKMIDAS_EXPORT ContourToolOpAccumulateContour: public mitk::Operation
35 {
36 public:
37 
39  mitk::OperationType type,
40  bool redo,
41  int dataIndex,
42  mitk::ContourModelSet::Pointer contourSet
43  );
44 
46 
47  bool IsRedo() const;
48 
49  int GetDataIndex() const;
50 
51  mitk::ContourModelSet::Pointer GetContourSet() const;
52 
53 private:
54 
55  bool m_Redo;
56  int m_DataIndex;
57  mitk::ContourModelSet::Pointer m_ContourSet;
58 
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 ContourTool, so that this ContourTool can execute t...
Definition: niftkContourToolOpAccumulateContour.h:34
Definition: niftkExceptionObject.h:21