Medical Imaging Interaction Toolkit
2024.06.99-60d9b802
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 (DKFZ)
6
All rights reserved.
7
8
Use of this source code is governed by a 3-clause BSD license that can be
9
found in the LICENSE file.
10
11
============================================================================*/
12
13
#ifndef mitkPlanePositionManager_h
14
#define mitkPlanePositionManager_h
15
16
#include "
mitkCommon.h
"
17
#include "
mitkDataStorage.h
"
18
#include "
mitkRestorePlanePositionOperation.h
"
19
20
#include <
mitkPlaneGeometry.h
>
21
#include <
mitkServiceInterface.h
>
22
23
class
MitkCoreActivator
;
24
25
namespace
mitk
26
{
38
class
MITKCORE_EXPORT
PlanePositionManagerService
39
{
40
public
:
41
PlanePositionManagerService
();
42
~
PlanePositionManagerService
();
43
54
unsigned
int
AddNewPlanePosition(
const
mitk::PlaneGeometry
*plane,
unsigned
int
sliceIndex = 0);
55
62
bool
RemovePlanePosition(
unsigned
int
ID);
63
65
void
RemoveAllPlanePositions();
66
75
mitk::RestorePlanePositionOperation
*GetPlanePosition(
unsigned
int
ID);
76
78
unsigned
int
GetNumberOfPlanePositions();
79
80
private
:
81
// Disable copy constructor and assignment operator.
82
PlanePositionManagerService
(
const
PlanePositionManagerService
&);
83
PlanePositionManagerService
&operator=(
const
PlanePositionManagerService
&);
84
85
std::vector<mitk::RestorePlanePositionOperation *> m_PositionList;
86
};
87
}
88
MITK_DECLARE_SERVICE_INTERFACE
(
mitk::PlanePositionManagerService
,
"org.mitk.PlanePositionManagerService"
)
89
90
#endif
mitk::RestorePlanePositionOperation
Definition:
mitkRestorePlanePositionOperation.h:22
mitkServiceInterface.h
mitk::PlaneGeometry
Describes a two-dimensional, rectangular plane.
Definition:
mitkPlaneGeometry.h:78
mitkDataStorage.h
mitkRestorePlanePositionOperation.h
mitk::PlanePositionManagerService
Definition:
mitkPlanePositionManager.h:38
MitkCoreActivator
Definition:
mitkCoreActivator.h:45
mitk
Find image slices visible on a given plane.
Definition:
RenderingTests.dox:1
mitkCommon.h
MITK_DECLARE_SERVICE_INTERFACE
#define MITK_DECLARE_SERVICE_INTERFACE(IFace, IId)
Definition:
mitkServiceInterface.h:26
MITKCORE_EXPORT
#define MITKCORE_EXPORT
Definition:
MitkCoreExports.h:15
mitkPlaneGeometry.h
src
MITK
Modules
Core
include
mitkPlanePositionManager.h
Generated on Sat Nov 23 2024 02:13:13 for Medical Imaging Interaction Toolkit by
1.8.17