Medical Imaging Interaction Toolkit
2016.11.0
Medical Imaging Interaction Toolkit
Home
Manual
API Reference
Download
Bugzilla
Groups
Namespace List
Class List
File List
Examples
File List
File Members
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
"
22
#include "
mitkRestorePlanePositionOperation.h
"
23
24
#include <
mitkPlaneGeometry.h
>
25
#include <
mitkServiceInterface.h
>
26
27
class
MitkCoreActivator
;
28
29
namespace
mitk
30
{
42
class
MITKCORE_EXPORT
PlanePositionManagerService
43
{
44
public
:
45
PlanePositionManagerService
();
46
~
PlanePositionManagerService
();
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.
86
PlanePositionManagerService
(
const
PlanePositionManagerService
&);
87
PlanePositionManagerService
&operator=(
const
PlanePositionManagerService
&);
88
89
std::vector<mitk::RestorePlanePositionOperation *> m_PositionList;
90
};
91
}
92
MITK_DECLARE_SERVICE_INTERFACE
(
mitk::PlanePositionManagerService
,
"org.mitk.PlanePositionManagerService"
)
93
94
#endif
mitkDataStorage.h
MITKCORE_EXPORT
#define MITKCORE_EXPORT
Definition:
MitkCoreExports.h:15
mitkPlaneGeometry.h
mitk::RestorePlanePositionOperation
Definition:
mitkRestorePlanePositionOperation.h:29
mitkCommon.h
mitk
DataCollection - Class to facilitate loading/accessing structured data.
Definition:
GeometryOverview.dox:1
mitkRestorePlanePositionOperation.h
mitk::PlanePositionManagerService
Definition:
mitkPlanePositionManager.h:42
MitkCoreActivator
Definition:
mitkCoreActivator.h:47
mitkServiceInterface.h
ID
const std::string ID
Definition:
mitkCollectionReader.cpp:36
mitk::PlaneGeometry
Describes a two-dimensional, rectangular plane.
Definition:
mitkPlaneGeometry.h:80
MITK_DECLARE_SERVICE_INTERFACE
MITK_DECLARE_SERVICE_INTERFACE(mitk::ISimulationService,"org.mitk.ISimulationService")
git
MITK
Modules
Core
include
mitkPlanePositionManager.h
Generated on Fri Feb 3 2017 20:52:06 for Medical Imaging Interaction Toolkit by
1.8.9.1