Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
mitkPlanePositionManager.h
Go to the documentation of this file.
1 /*===================================================================
2 
3 The Medical Imaging Interaction Toolkit (MITK)
4 
5 Copyright (c) German Cancer Research Center,
6 Division of Medical and Biological Informatics.
7 All rights reserved.
8 
9 This software is distributed WITHOUT ANY WARRANTY; without
10 even the implied warranty of MERCHANTABILITY or FITNESS FOR
11 A PARTICULAR PURPOSE.
12 
13 See LICENSE.txt or http://www.mitk.org for details.
14 
15 ===================================================================*/
16 
17 #ifndef mitkPlanePositionManager_h_Included
18 #define mitkPlanePositionManager_h_Included
19 
20 #include "mitkCommon.h"
21 #include "mitkDataStorage.h"
23 
24 #include <mitkPlaneGeometry.h>
25 #include <mitkServiceInterface.h>
26 
27 class MitkCoreActivator;
28 
29 namespace mitk
30 {
43  {
44  public:
47 
58  unsigned int AddNewPlanePosition(const mitk::PlaneGeometry *plane, unsigned int sliceIndex = 0);
59 
66  bool RemovePlanePosition(unsigned int ID);
67 
69  void RemoveAllPlanePositions();
70 
79  mitk::RestorePlanePositionOperation *GetPlanePosition(unsigned int ID);
80 
82  unsigned int GetNumberOfPlanePositions();
83 
84  private:
85  // Disable copy constructor and assignment operator.
88 
89  std::vector<mitk::RestorePlanePositionOperation *> m_PositionList;
90  };
91 }
92 MITK_DECLARE_SERVICE_INTERFACE(mitk::PlanePositionManagerService, "org.mitk.PlanePositionManagerService")
93 
94 #endif
#define MITKCORE_EXPORT
DataCollection - Class to facilitate loading/accessing structured data.
const std::string ID
Describes a two-dimensional, rectangular plane.
MITK_DECLARE_SERVICE_INTERFACE(mitk::ISimulationService,"org.mitk.ISimulationService")