#include <mitkTubeGraphDataInteractor.h>
|
enum | ActivationMode {
None,
Single,
ToRoot,
ToPeriphery,
Points,
Multiple
} |
|
enum | ActionMode {
AttributationMode,
AnnotationMode,
EditMode,
RootMode,
InformationMode
} |
|
typedef DataInteractor | Self |
|
typedef EventStateMachine | Superclass |
|
typedef itk::SmartPointer< Self > | Pointer |
|
typedef itk::SmartPointer< const Self > | ConstPointer |
|
typedef EventStateMachine | Self |
|
typedef InteractionEventHandler | Superclass |
|
typedef itk::SmartPointer< Self > | Pointer |
|
typedef itk::SmartPointer< const Self > | ConstPointer |
|
typedef std::map< std::string, TActionFunctor * > | ActionFunctionsMapType |
|
typedef itk::SmartPointer< StateMachineState > | StateMachineStateType |
|
Public Types inherited from mitk::InteractionEventHandler |
typedef InteractionEventHandler | Self |
|
typedef itk::Object | Superclass |
|
typedef itk::SmartPointer< Self > | Pointer |
|
typedef itk::SmartPointer< const Self > | ConstPointer |
|
|
| TubeGraphDataInteractor () |
|
| ~TubeGraphDataInteractor () override |
|
void | ConnectActionsAndFunctions () override |
|
void | DataNodeChanged () override |
|
virtual bool | CheckOverTube (const InteractionEvent *) |
|
virtual void | SelectTube (StateMachineAction *, InteractionEvent *) |
|
virtual void | DeselectTube (StateMachineAction *, InteractionEvent *) |
|
void | SelectTubesByActivationModus () |
|
void | UpdateActivation () |
|
| DataInteractor () |
|
| ~DataInteractor () override |
|
virtual void | NotifyStart () |
| Sends StartInteraction event via the mitk::DataNode. More...
|
|
virtual void | NotifyResultReady () |
| NotifyResultReady Sends ResultReady event via the mitk::DataNode. More...
|
|
| EventStateMachine () |
|
| ~EventStateMachine () override |
|
void | AddActionFunction (const std::string &action, TActionFunctor *functor) |
|
void | AddActionFunction (const std::string &action, const ActionFunctionDelegate &delegate) |
|
void | AddConditionFunction (const std::string &condition, const ConditionFunctionDelegate &delegate) |
|
StateMachineState * | GetCurrentState () const |
|
void | ResetToStartState () |
| ResetToStartState Reset state machine to it initial starting state. More...
|
|
virtual bool | CheckCondition (const StateMachineCondition &condition, const InteractionEvent *interactionEvent) |
|
virtual void | ExecuteAction (StateMachineAction *action, InteractionEvent *interactionEvent) |
|
virtual bool | FilterEvents (InteractionEvent *interactionEvent, DataNode *dataNode) |
|
void | SetMouseCursor (const char *xpm[], int hotspotX, int hotspotY) |
| Sets the specified mouse cursor. More...
|
|
void | ResetMouseCursor () |
| Resets the mouse cursor to its original state. More...
|
|
StateMachineTransition * | GetExecutableTransition (InteractionEvent *event) |
| Returns the executable transition for the given event. More...
|
|
Protected Member Functions inherited from mitk::InteractionEventHandler |
| InteractionEventHandler () |
|
| ~InteractionEventHandler () override |
|
PropertyList::Pointer | GetAttributes () const |
|
std::string | MapToEventVariant (InteractionEvent *interactionEvent) |
|
virtual void | ConfigurationChanged () |
|
◆ ActionMode
◆ ActivationMode
Describes, which activation modes are available based on the currently picked tube:
- None means "no tube is active"
- Single means "only the picked tube is active"
- ToRoot means "all tubes from the picked on down to the root of the tube graph are active"
- ToPeriphery means "all tubes included in the subgraph of the currently picked vessel are active"
- Points means "shortes path between two picked tubes are active"
- Multiple means "all picked tubes are active"
Enumerator |
---|
None | |
Single | |
ToRoot | |
ToPeriphery | |
Points | |
Multiple | |
Definition at line 52 of file mitkTubeGraphDataInteractor.h.
◆ TubeGraphDataInteractor()
mitk::TubeGraphDataInteractor::TubeGraphDataInteractor |
( |
| ) |
|
|
protected |
◆ ~TubeGraphDataInteractor()
mitk::TubeGraphDataInteractor::~TubeGraphDataInteractor |
( |
| ) |
|
|
overrideprotected |
◆ CheckOverTube()
virtual bool mitk::TubeGraphDataInteractor::CheckOverTube |
( |
const InteractionEvent * |
| ) |
|
|
protectedvirtual |
Initializes the movement, stores starting position.
◆ ConnectActionsAndFunctions()
void mitk::TubeGraphDataInteractor::ConnectActionsAndFunctions |
( |
| ) |
|
|
overrideprotectedvirtual |
Here actions strings from the loaded state machine pattern are mapped to functions of the DataInteractor. These functions are called when an action from the state machine pattern is executed.
Reimplemented from mitk::DataInteractor.
◆ DataNodeChanged()
void mitk::TubeGraphDataInteractor::DataNodeChanged |
( |
| ) |
|
|
overrideprotectedvirtual |
◆ DeselectTube()
◆ GetActionMode()
ActionMode mitk::TubeGraphDataInteractor::GetActionMode |
( |
| ) |
|
◆ GetActivationMode()
◆ GetLastPickedPosition()
mitk::Point3D mitk::TubeGraphDataInteractor::GetLastPickedPosition |
( |
| ) |
|
◆ mitkClassMacro()
◆ New()
static Pointer mitk::TubeGraphDataInteractor::New |
( |
| ) |
|
|
static |
◆ ResetPickedTubes()
void mitk::TubeGraphDataInteractor::ResetPickedTubes |
( |
| ) |
|
◆ SelectTube()
◆ SelectTubesByActivationModus()
void mitk::TubeGraphDataInteractor::SelectTubesByActivationModus |
( |
| ) |
|
|
protected |
◆ SetActionMode()
void mitk::TubeGraphDataInteractor::SetActionMode |
( |
const ActionMode & |
actionMode | ) |
|
◆ SetActivationMode()
void mitk::TubeGraphDataInteractor::SetActivationMode |
( |
const ActivationMode & |
activationMode | ) |
|
◆ UpdateActivation()
void mitk::TubeGraphDataInteractor::UpdateActivation |
( |
| ) |
|
|
protected |
The documentation for this class was generated from the following file: