Medical Imaging Interaction Toolkit
2024.06.99-c1478648
Medical Imaging Interaction Toolkit
mitkSinglePointDataInteractor.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 mitkSinglePointDataInteractor_h
14
#define mitkSinglePointDataInteractor_h
15
16
#include "itkObject.h"
17
#include "itkObjectFactory.h"
18
#include "itkSmartPointer.h"
19
#include "
mitkCommon.h
"
20
#include "
mitkPointSetDataInteractor.h
"
21
#include <
MitkCoreExports.h
>
22
#include <
mitkPointSet.h
>
23
24
namespace
mitk
25
{
34
// Inherit from DataInteratcor, this provides functionality of a state machine and configurable inputs.
35
class
MITKCORE_EXPORT
SinglePointDataInteractor
:
public
PointSetDataInteractor
36
{
37
public
:
38
mitkClassMacro
(
SinglePointDataInteractor
,
PointSetDataInteractor
);
39
itkFactorylessNewMacro(
Self
);
40
itkCloneMacro(
Self
);
41
42
protected :
SinglePointDataInteractor
();
43
~
SinglePointDataInteractor
()
override
;
44
50
void
AddPoint(
StateMachineAction
*,
InteractionEvent
*event)
override
;
51
57
virtual
void
SetMaxPoints(
unsigned
int
maxNumber = 0);
58
void
DataNodeChanged()
override
;
59
};
60
}
61
#endif
mitk::InteractionEvent
Definition:
mitkInteractionEvent.h:26
mitkPointSet.h
mitk
Find image slices visible on a given plane.
Definition:
RenderingTests.dox:1
mitk::SinglePointDataInteractor
Implementation of the single point interaction.
Definition:
mitkSinglePointDataInteractor.h:35
MitkCoreExports.h
mitkCommon.h
mitkPointSetDataInteractor.h
mitk::StateMachineAction
Represents an action, that is executed after a certain event (in statemachine-mechanism) TODO: implem...
Definition:
mitkStateMachineAction.h:30
mitkClassMacro
#define mitkClassMacro(className, SuperClassName)
Definition:
mitkCommon.h:36
mitk::DataInteractor
Base class from with interactors that handle DataNodes are to be derived.
Definition:
mitkDataInteractor.h:48
mitk::PointSetDataInteractor
Implementation of the PointSetInteractor.
Definition:
mitkPointSetDataInteractor.h:63
MITKCORE_EXPORT
#define MITKCORE_EXPORT
Definition:
MitkCoreExports.h:15
src
MITK
Modules
Core
include
mitkSinglePointDataInteractor.h
Generated on Mon Oct 7 2024 02:33:05 for Medical Imaging Interaction Toolkit by
1.8.17