47 int timestep = positionEvent->GetSender()->GetTimeStep();
48 int pixelValue =
static_cast<int>(workingImage->GetPixelValueByWorldCoordinate(positionEvent->GetPositionInWorld(), timestep));
50 workingImage->GetActiveLabelSet()->SetActiveLabel(pixelValue);
Super class for all position events.
void ConnectActionsAndFunctions() override
bool ChangeActiveLabel(StateMachineAction *, InteractionEvent *)
virtual void ConnectActionsAndFunctions()
BaseRenderer * GetSender() const
static RenderingManager * GetInstance()
Represents an action, that is executed after a certain event (in statemachine-mechanism) TODO: implem...
LabelSetImage class for handling labels and layers in a segmentation session.
void RequestUpdateAll(RequestType type=REQUEST_UPDATE_ALL)
Class for nodes of the DataTree.