Medical Imaging Interaction Toolkit  2024.06.99-60d9b802
Medical Imaging Interaction Toolkit
mitk::LevelWindowPreset Class Reference

#include <mitkLevelWindowPreset.h>

Inheritance diagram for mitk::LevelWindowPreset:
Collaboration diagram for mitk::LevelWindowPreset:

Public Member Functions

 vtkTypeMacro (LevelWindowPreset, vtkXMLParser)
 
bool LoadPreset ()
 
bool LoadPreset (std::string fileName)
 
double getLevel (std::string name)
 
double getWindow (std::string window)
 
std::map< std::string, double > & getLevelPresets ()
 
std::map< std::string, double > & getWindowPresets ()
 
void newPresets (std::map< std::string, double > newLevel, std::map< std::string, double > newWindow)
 

Static Public Member Functions

static LevelWindowPresetNew ()
 

Protected Member Functions

 LevelWindowPreset ()
 
 ~LevelWindowPreset () override
 

Detailed Description

Definition at line 23 of file mitkLevelWindowPreset.h.

Constructor & Destructor Documentation

◆ LevelWindowPreset()

mitk::LevelWindowPreset::LevelWindowPreset ( )
protected

◆ ~LevelWindowPreset()

mitk::LevelWindowPreset::~LevelWindowPreset ( )
overrideprotected

Member Function Documentation

◆ getLevel()

double mitk::LevelWindowPreset::getLevel ( std::string  name)

◆ getLevelPresets()

std::map<std::string, double>& mitk::LevelWindowPreset::getLevelPresets ( )

◆ getWindow()

double mitk::LevelWindowPreset::getWindow ( std::string  window)

◆ getWindowPresets()

std::map<std::string, double>& mitk::LevelWindowPreset::getWindowPresets ( )

◆ LoadPreset() [1/2]

bool mitk::LevelWindowPreset::LoadPreset ( )

◆ LoadPreset() [2/2]

bool mitk::LevelWindowPreset::LoadPreset ( std::string  fileName)

◆ New()

static LevelWindowPreset* mitk::LevelWindowPreset::New ( )
static

◆ newPresets()

void mitk::LevelWindowPreset::newPresets ( std::map< std::string, double >  newLevel,
std::map< std::string, double >  newWindow 
)

◆ vtkTypeMacro()

mitk::LevelWindowPreset::vtkTypeMacro ( LevelWindowPreset  ,
vtkXMLParser   
)

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