ImFusion C++ SDK 4.5.0
ImFusion::Dicom::VOILUTExtension Class Reference

#include <ImFusion/Dicom/VOILUTExtension.h>

VOI LUT Module (PS 3.3 C.11.2) Loads and saves windowing related values to and from DisplayOptions2d. More...

Inheritance diagram for ImFusion::Dicom::VOILUTExtension:

Detailed Description

VOI LUT Module (PS 3.3 C.11.2) Loads and saves windowing related values to and from DisplayOptions2d.

See also
http://dicom.nema.org/medical/dicom/current/output/chtml/part03/sect_C.11.2.html DisplayOptions2d

Public Member Functions

std::unique_ptr< Extensionclone () const override
 Return a clone this object Usually the implementation will look like this:
std::string name () const override
 Return a unique display string for this extension.
std::vector< std::unique_ptr< Data > > load (const FrameDescriptor &frame, SharedImageSet &sis) const override
 Loads windowing parameters and stores them in the DisplayOptions2d for the given image.
void save (const FrameDescriptor &frame, const SharedImageSet &sis) const override
 Saves windowing information taken from the 2D display options of the given image.
Public Member Functions inherited from ImFusion::Dicom::Extension
bool enabled () const
void setEnabled (bool enable=true)
virtual bool showInWriterUI () const
 Whether this extension will show up in the UI and can be enabled/disabled by the user.
Public Member Functions inherited from ImFusion::Dicom::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

Additional Inherited Members

Public Types inherited from ImFusion::Dicom::ErrorRecorder
using ErrorCallback = std::function<void(const Error&)>
 Alias for a function to call for each error recorded.

Member Function Documentation

◆ clone()

std::unique_ptr< Extension > ImFusion::Dicom::VOILUTExtension::clone ( ) const
inlineoverridevirtual

Return a clone this object Usually the implementation will look like this:

T make_unique(T... args)

Implements ImFusion::Dicom::Extension.

◆ name()

std::string ImFusion::Dicom::VOILUTExtension::name ( ) const
overridevirtual

Return a unique display string for this extension.

Implements ImFusion::Dicom::Extension.

◆ load()

std::vector< std::unique_ptr< Data > > ImFusion::Dicom::VOILUTExtension::load ( const FrameDescriptor & frame,
SharedImageSet & sis ) const
overridevirtual

Loads windowing parameters and stores them in the DisplayOptions2d for the given image.

Per-frame windowing is not supported and only the windowing of the center frame of a volume will be used.

Implements ImFusion::Dicom::Extension.

◆ save()

void ImFusion::Dicom::VOILUTExtension::save ( const FrameDescriptor & frame,
const SharedImageSet & sis ) const
overridevirtual

Saves windowing information taken from the 2D display options of the given image.

Implements ImFusion::Dicom::Extension.


The documentation for this class was generated from the following file:
  • ImFusion/Dicom/VOILUTExtension.h
Search Tab / S to search, Esc to close