17 #ifndef mitkPointSetDataInteractor_h_
18 #define mitkPointSetDataInteractor_h_
20 #include "itkObject.h"
21 #include "itkObjectFactory.h"
22 #include "itkSmartPointer.h"
76 void SetAccuracy(
float accuracy);
83 void SetMaxPoints(
unsigned int maxNumber = 0);
87 virtual ~PointSetDataInteractor();
109 virtual
int GetPointIndexByPosition(
Point3D position,
unsigned int time = 0,
float accuracy = -1);
120 virtual
void RemovePoint(StateMachineAction *,
InteractionEvent *interactionEvent);
131 virtual
void MovePoint(StateMachineAction *, InteractionEvent *);
136 virtual
void InitMove(StateMachineAction *, InteractionEvent *interactionEvent);
141 virtual
void FinishMove(StateMachineAction *, InteractionEvent *);
146 virtual
void SelectPoint(StateMachineAction *, InteractionEvent *);
151 virtual
void UnSelectPointAtPosition(StateMachineAction *, InteractionEvent *);
156 virtual
void UnSelectAll(StateMachineAction *, InteractionEvent *);
163 virtual
void UpdatePointSet(StateMachineAction *stateMachineAction, InteractionEvent *);
168 virtual
void Abort(StateMachineAction *, InteractionEvent *);
180 int m_MaxNumberOfPoints;
181 float m_SelectionAccuracy;
184 void UnselectAll(
unsigned int timeStep,
ScalarType timeInMs);
185 void SelectPoint(
int position,
unsigned int timeStep,
ScalarType timeInMS);
virtual void DataNodeChanged() override
Called when a DataNode has been set/changed.
DataCollection - Class to facilitate loading/accessing structured data.
Implementation of the PointSetInteractor.
Base class from with interactors that handle DataNodes are to be derived.
Data structure which stores a set of points. Superclass of mitk::Mesh.
Represents an action, that is executed after a certain event (in statemachine-mechanism) TODO: implem...
virtual void ConnectActionsAndFunctions() override
#define mitkClassMacro(className, SuperClassName)