48 if (positionEvent != NULL)
53 if (m_PointSet->IndexExists(0, timeStep))
75 m_UndoController->SetOperationEvent(operationEvent);
78 m_PointSet->ExecuteOperation(doOp);
93 if (GetDataNode() !=
nullptr)
99 GetDataNode()->SetData(m_PointSet);
Super class for all position events.
BaseRenderer * GetSender() const
Point3D GetPositionInWorld() const
ScalarType GetTime() const
Get the time in ms of the currently displayed content.
Constants for most interaction classes, due to the generic StateMachines.
virtual void SetMaxPoints(unsigned int=0)
SetMaxPoints Sets the maximal number of points for the pointset Overwritten, per design this class wi...
T::Pointer GetData(const std::string &name)
Data structure which stores a set of points. Superclass of mitk::Mesh.
virtual mitk::RenderingManager * GetRenderingManager() const
Setter for the RenderingManager that handles this instance of BaseRenderer.
Represents an action, that is executed after a certain event (in statemachine-mechanism) TODO: implem...
virtual ~SinglePointDataInteractor()
Operation that handles all actions on one Point.
virtual unsigned int GetTimeStep() const
virtual void AddPoint(StateMachineAction *, InteractionEvent *event) override
virtual void Clear()
Calls ClearData() and InitializeEmpty();.
static void IncCurrObjectEventId()
Increases the current ObjectEventId For example if a button click generates operations the ObjectEven...
virtual void DataNodeChanged() override
SinglePointDataInteractor()
void RequestUpdateAll(RequestType type=REQUEST_UPDATE_ALL)
Represents a pair of operations: undo and the according redo.