Skip to content

feat(core): various improvement related to validator

Didier WECKMANN requested to merge various-validator-related-enhancement into dev

Description

Various improvement:

  • Add direct access to SOP class uid in Series
  • Application::exit() can now be synchronous. In this case, it will immediately throw an ExitException which is caught in AppConfigManager (when in the startup sequence) and in sight::ui::qt::App::notify. This will permit early exit without partially creating the gui and exiting just after.
  • SLandmarks can have a limit per group, per visible landmarks or total using configureNewLandmarks() slot
  • SLandmarks has been cleaned, and some bugs fixed: updating now correctly remove ghost landmarks that are defined in Ogre context but do not belong to the data::Landmarks anymore.
  • SSequencer will now correctly refresh activity validation when calling checkNext()
  • New validateNext() slot in SSequencer that emits nextValidated(true/false), nextValid or nextInvalid without enabling other activities (though invalid one are disabled).
  • SSequencer can now reset requirement when reloading an activity with the reset attribute (by default, reset = 'false'):
...
<requirement name="patientRegistration" type="sight::data::Matrix4" minOccurs="0" maxOccurs="1" create="true" reset="true">
  <desc>Patient registration matrix.</desc>
</requirement>
...

How to test it?

  • Launch a third party application that demonstrate the use...
Edited by Didier WECKMANN

Merge request reports