18 #include "niftkMIDASExports.h"
22 #include <mitkDataNode.h>
23 #include <mitkFeedbackContourTool.h>
24 #include <mitkMessage.h>
25 #include <mitkPositionEvent.h>
26 #include <mitkPointSet.h>
28 #include <usServiceReference.h>
66 mitkClassMacro(
Tool, mitk::FeedbackContourTool)
69 static void LoadBehaviourStrings();
72 static bool LoadBehaviour(
const std::string& fileName, us::Module* module);
74 const char* GetGroup()
const override;
116 virtual void Activated();
119 virtual void Deactivated();
125 bool GetBlockNumberOfSeedsSignal()
const;
128 void SetBlockNumberOfSeedsSignal(
bool blockNumberOfSeedsSignal);
153 bool FilterEvents(mitk::InteractionEvent*
event, mitk::DataNode* dataNode);
156 virtual void RenderCurrentWindow(
const mitk::PositionEvent&
event);
159 virtual void RenderAllWindows();
162 virtual void UpdateWorkingDataNodeBoolProperty(
int dataIndex,
const std::string&
name,
bool value);
165 mitk::DataNode::Pointer GetPointSetNode()
const;
168 mitk::PointSet::Pointer GetPointSet()
const;
173 void OnSeedsModified();
176 PointSetInteractor::Pointer m_AddToPointSetInteractor;
180 mitk::DataNode::Pointer m_PointSetNode;
183 mitk::PointSet::Pointer m_PointSet;
186 int m_LastSeenNumberOfSeeds;
189 unsigned long m_SeedsChangedTag;
195 bool m_BlockNumberOfSeedsSignal;
199 std::map<us::ServiceReferenceU, mitk::EventConfig> m_DisplayInteractorConfigs;
201 static bool s_BehaviourStringsLoaded;
GLsizei const GLfloat * value
Definition: glew.h:1833
StateMachineEventFilter represents a condition that has to be fulfilled so that an event is processed...
Definition: niftkStateMachineEventFilter.h:41
GLuint const GLchar * name
Definition: glew.h:1798
cl_event event
Definition: glew.h:3231
Definition: niftkExceptionObject.h:21
GLsizei const GLcharARB ** string
Definition: glew.h:5194
Common base class for segmentor tools and interactors.
Definition: niftkFilteringStateMachine.h:49