13#ifndef QmitkUSNavigationStepTumourSelection_h
14#define QmitkUSNavigationStepTumourSelection_h
19template<
class T>
class SmartPointer;
23class NavigationDataSource;
26class USZonesInteractor;
27class NodeDisplacementFilter;
35class USNavigationMarkerPlacement;
159 mitk::MessageDelegate1<QmitkUSNavigationStepTumourSelection, const mitk::DataNode*> m_ListenerChangeNode;
161 Ui::QmitkUSNavigationStepTumourSelection *ui;
Abstract base class for navigation step widgets.
std::vector< itk::SmartPointer< mitk::NavigationDataToNavigationDataFilter > > FilterVector
Navigation step for creating and selecting a combined modality. Already created combined modalities c...
Navigation step for marking the tumor position and extent. The user can mark the position by interact...
void OnDeleteButtonClicked()
Just restarts the navigation step for deleting the tumour.
bool OnStartStep() override
Initializes tumour and target surface.
void OnTumourSizeChanged(int)
Updates the surface of the tumor node according to the new size.
std::string m_ReferenceSensorName
itk::SmartPointer< mitk::Surface > CreateTargetSurface()
itk::SmartPointer< mitk::DataNode > m_TumourNode
QmitkUSNavigationStepTumourSelection(QWidget *parent=nullptr)
void OnFreeze(bool freezed)
Activates or deactivates the ineractor for tumour creation.
unsigned int m_ReferenceSensorIndex
itk::SmartPointer< mitk::NavigationDataSource > m_NavigationDataSource
itk::SmartPointer< mitk::USZonesInteractor > m_Interactor
void OnSetCombinedModality() override
Called every time SetCombinedModality() was called. This method may be implemented by a concrete subc...
std::string m_StateMachineFilename
QString GetTitle() override
Getter for the title of the navigation step. This title should be human readable and can be used to d...
bool OnFinishStep() override
(Re)creates the target surface.
itk::SmartPointer< mitk::NodeDisplacementFilter > m_NodeDisplacementFilter
void SetTumorColor(mitk::Color c)
void TumourNodeChanged(const mitk::DataNode *)
bool OnRestartStep() override
Reinitializes buttons and sliders in addition of calling the default implementation.
FilterVector GetFilter() override
itk::SmartPointer< mitk::DataNode > m_TargetSurfaceNode
bool OnActivateStep() override
Initializes (but not activates) the interactor for tumour selection.
void UpdateReferenceSensorName()
bool OnStopStep() override
Removes target surface and tumour node from the data storage. Additionally an unfreeze is done and th...
mitk::Color m_SphereColor
void OnSettingsChanged(const itk::SmartPointer< mitk::DataNode > settingsNode) override
~QmitkUSNavigationStepTumourSelection() override
bool m_targetSelectionOptional
void OnUpdate() override
Updates tracking validity status and checks tumour node for the end of tumour creation.
itk::SmartPointer< mitk::NodeDisplacementFilter > GetTumourNodeDisplacementFilter()
bool OnDeactivateStep() override
Deactivates the interactor for tumour selection and removes data of the tumour node if selection wasn...
void SetTargetSelectionOptional(bool t)