ImFusion SDK 4.3
SegmentItem Class Reference

#include <ImFusion/Dicom/DicomIOD_SegmentationStorage.h>

Element in the (0062,0002) SegmentSequence. More...

+ Inheritance diagram for SegmentItem:

Detailed Description

Element in the (0062,0002) SegmentSequence.

Classes

class  SegmentedPropertyCode
 

Public Member Functions

 SegmentItem (DcmItem &item, bool createSequence=false)
 
void configure (const Properties *p) override
 Configure this object instance by de-serializing the given Properties.
 
void configuration (Properties *p) const override
 Serialize the current object configuration into the given Properties object.
 
vec4 color () const
 
void setColor (const vec4 &c)
 
- Public Member Functions inherited from ConfigurableSequenceItem
 ConfigurableSequenceItem (DcmItem &item)
 
- Public Member Functions inherited from SequenceItem
 SequenceItem (DcmItem &item)
 Creates a new sequence that retrieves its elements from item.
 
DcmItem & dataset () override
 Returns the DICOM dataset/item to retrieve the elements from.
 
- Public Member Functions inherited from ElementList
const std::vector< ElementBase * > & elements () const
 List of all elements.
 
- Public Member Functions inherited from ErrorRecorder
virtual void * registerErrorHandler (ErrorCallback handler)
 Registers a new handler callback function.
 
virtual void unregisterErrorHandler (void *handler)
 Removes a previously registered handler again.
 
void * forwardErrors (const ErrorRecorder *otherRecorder)
 Convenient function to forward all errors registered to this recorder to another recorder.
 
virtual void registerError (const Error &error) const
 Sends the given error to all error handler callbacks.
 
void registerError (Error::Code code, Error::Type type, const std::string &details, TagProxy tag=TagProxy()) const
 
- Public Member Functions inherited from Configurable
virtual void configureDefaults ()
 Retrieve the properties of this object, replaces values with their defaults and sets it again.
 
void registerParameter (ParameterBase *param)
 Register the given Parameter or SubProperty, so that it will be configured during configure()/configuration().
 
void unregisterParameter (const ParameterBase *param)
 Remove the given Parameter or SubProperty from the list of registered parameters.
 
 Configurable (const Configurable &rhs)
 
 Configurable (Configurable &&rhs) noexcept
 
Configurableoperator= (const Configurable &)
 
Configurableoperator= (Configurable &&) noexcept
 

Public Attributes

Sequence< SegmentedPropertyCodesegmentedPropertyCategoryCodeSequence
 
Sequence< SegmentedPropertyCodesegmentedPropertyTypeCodeSequence
 
Element< int > segmentNumber
 
Element< int > pixelValue
 
Element< std::stringsegmentLabel
 
Element< std::stringsegmentAlgorithmType
 
Element< std::stringsegmentAlgorithmName
 
Element< std::vector< int > > recommendedDisplayCIELabValue
 
Element< std::stringtrackingID
 
Element< std::stringtrackingUID
 
- Public Attributes inherited from Configurable
Signal signalParametersChanged
 Emitted whenever one of the registered Parameters' or SubPropertys' signalValueChanged signal was emitted.
 

Additional Inherited Members

- Public Types inherited from ErrorRecorder
using ErrorCallback = std::function<void(const Error&)>
 Alias for a function to call for each error recorded.
 
- Protected Member Functions inherited from NotCopyable
 NotCopyable (NotCopyable &&) noexcept=default
 
NotCopyableoperator= (NotCopyable &&) noexcept=default
 
 NotCopyable (const NotCopyable &)=delete
 
NotCopyableoperator= (const NotCopyable &)=delete
 
- Static Protected Member Functions inherited from ConfigurableSequenceItem
template<typename T>
static void setElement (const Properties &p, Element< T > &element, const std::string &name)
 
template<typename T>
static void getElement (Properties &p, const Element< T > &element, const std::string &name)
 
template<typename T>
static void getElement (Properties &p, const Element< T > &element, const std::string &name, const T &defaultValue)
 
static void getElement (Properties &p, const Element< std::string > &element, const std::string &name, const std::string &defaultValue)
 
- Protected Attributes inherited from ElementList
std::vector< ElementBase * > m_elements
 List of all elements.
 
- Protected Attributes inherited from Configurable
std::vector< Paramm_params
 List of all registered Parameter and SubProperty instances.
 

Member Function Documentation

◆ configure()

void configure ( const Properties * p)
overridevirtual

Configure this object instance by de-serializing the given Properties.

The default implementation will do so automatically for all registered Parameter and SubProperty instances.

See also
configuration() for the inverse functionality

Reimplemented from Configurable.

◆ configuration()

void configuration ( Properties * p) const
overridevirtual

Serialize the current object configuration into the given Properties object.

The default implementation will do so automatically for all registered Parameter and SubProperty instances.

See also
configure() for the inverse functionality

Reimplemented from Configurable.


The documentation for this class was generated from the following file:
Search Tab / S to search, Esc to close