Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[InteractiveSegmentation] Progress bar should reset after running and unloading data #142

Open
ashishsingh18 opened this issue Mar 11, 2020 · 2 comments · May be fixed by #146
Open

[InteractiveSegmentation] Progress bar should reset after running and unloading data #142

ashishsingh18 opened this issue Mar 11, 2020 · 2 comments · May be fixed by #146

Comments

@ashishsingh18
Copy link
Collaborator

image

@ashishsingh18
Copy link
Collaborator Author

This might be the case with other plugins as well...

@dboun
Copy link
Collaborator

dboun commented Mar 11, 2020

You're right. It generally should reset when both the following are true at the same time:

  • There is not a running calculation
  • The set of the loaded non-label images change (either new images are added, or existing ones are removed)

I think this can be done in

  // reimplemented from QmitkAbstractView
  void NodeAdded(const mitk::DataNode* node) override;

  // reimplemented from QmitkAbstractView
  void NodeRemoved(const mitk::DataNode* node) override;

which are part of QmitkAbstractView or mitk::ILifecycleAwarePart

@dboun dboun changed the title [Interactive Segmentation] Progress bar should reset after running and unloading data [InteractiveSegmentation] Progress bar should reset after running and unloading data Mar 11, 2020
@dboun dboun linked a pull request Mar 12, 2020 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants