MeVisLab Toolbox Reference
CSOPointingAction.h
Go to the documentation of this file.
1/*************************************************************************************
2**
3** Copyright 2013, MeVis Medical Solutions AG
4**
5** The user may use this file in accordance with the license agreement provided with
6** the Software or, alternatively, in accordance with the terms contained in a
7** written agreement between the user and MeVis Medical Solutions AG.
8**
9** For further information use the contact form at https://www.mevislab.de/contact
10**
11**************************************************************************************/
12
13
15
16#pragma once
17
18#include <SoPointingAction.h>
19
20#include <Inventor/misc/SoRef.h>
21
23class SoSFMLImage;
24
25namespace ml
26{
27 class CSO;
28}
29
31
void unsetActionActive()
CSOPointingAction(SoView2DCSOExtensibleEditor *editor, const std::string &id)
bool isInsideImage(const SoPointerPosition &pos)
Returns whether the position is inside the image if needsValidVoxel is set; Otherwise,...
void updateImageStatistics(ml::CSO *cso)
void setActionActive()
Set/unset the maskValid flag in the editor.
void setView2DImage(const SoPointerPosition &pos)
SoView2DCSOExtensibleEditor * _editor
SoPointerPosition manages the current position of the mouse cursor.
SoPointingAction is the base class for any mouse based interaction.
The SoSFMLImage field is the interface used by Inventor Nodes to access image data (in the current im...
Definition SoSFMLImage.h:70
The CSO represents a contour segmentation object.
Definition CSO.h:44
Target mlrange_cast(Source arg)
Generic version of checked ML casts.
Main documentation file for ML users and developers.
Definition SoSFMLImage.h:51