Medical Imaging Interaction Toolkit  2026.06.00
Medical Imaging Interaction Toolkit
mitk::InvalidDecayTimeMapException Class Reference

A user-supplied per-(timestep, slice) decay-time override map is not a complete and well-formed match for the input image geometry. More...

#include <mitkSUVCalculationHelper.h>

Inheritance diagram for mitk::InvalidDecayTimeMapException:
Collaboration diagram for mitk::InvalidDecayTimeMapException:

Public Member Functions

 mitkExceptionClassMacro (InvalidDecayTimeMapException, SUVHelperException)
 
- Public Member Functions inherited from mitk::SUVHelperException
 mitkExceptionClassMacro (SUVHelperException, mitk::Exception)
 
- Public Member Functions inherited from mitk::Exception
 Exception (const char *file, unsigned int lineNumber=0, const char *desc="None", const char *loc="Unknown")
 Construct an exception with source location and description. More...
 
 ~Exception () override throw ()
 Destructor. More...
 
virtual const char * GetClassName () const
 
void AddRethrowData (const char *file, unsigned int lineNumber, const char *message)
 Record additional rethrow context for this exception. More...
 
int GetNumberOfRethrows ()
 Return the number of times this exception has been rethrown. More...
 
void GetRethrowData (int rethrowNumber, std::string &file, int &line, std::string &message)
 Retrieve the rethrow context for a specific rethrow. More...
 
template<class T >
Exception & operator<< (const T &data)
 Append data to the exception description via the stream operator. More...
 
template<class T >
Exception & operator<< (T &data)
 Append non-const data to the exception description via the stream operator. More...
 
Exception & operator<< (std::ostream &(*func)(std::ostream &))
 Append a stream manipulator (e.g. std::endl) to the exception description. More...
 

Additional Inherited Members

- Protected Attributes inherited from mitk::Exception
std::vector< ReThrowData > m_RethrowData
 List of recorded rethrow contexts. More...
 

Detailed Description

A user-supplied per-(timestep, slice) decay-time override map is not a complete and well-formed match for the input image geometry.

Raised by SUVImageFilter::ConfigureFromProperties when the map installed via SetDecayTimeOverrideMap either does not cover every (timestep, slice) pair the input image owns, or contains entries for (timestep, slice) coordinates that are out of range for the input.

The filter does not silently fall back to DICOM-derived values for missing entries: a partial map is an explicit caller bug. Callers that want a DICOM-derived baseline plus a few overrides must seed the map from GetEffectiveDecayCorrection() (after a Configure pass without the override) and then mutate the entries they intend to override.

The exception message names the first offending (timestep, slice).

Definition at line 279 of file mitkSUVCalculationHelper.h.

Member Function Documentation

◆ mitkExceptionClassMacro()

mitk::InvalidDecayTimeMapException::mitkExceptionClassMacro ( InvalidDecayTimeMapException  ,
SUVHelperException   
)

The documentation for this class was generated from the following file: