Medical Imaging Interaction Toolkit  2016.11.0
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 ()
 

Detailed Description

Definition at line 27 of file mitkLevelWindowPreset.h.

Constructor & Destructor Documentation

mitk::LevelWindowPreset::LevelWindowPreset ( )
protected

Definition at line 32 of file mitkLevelWindowPreset.cpp.

mitk::LevelWindowPreset::~LevelWindowPreset ( )
protected

Definition at line 33 of file mitkLevelWindowPreset.cpp.

Member Function Documentation

double mitk::LevelWindowPreset::getLevel ( std::string  name)
std::map< std::string, double > & mitk::LevelWindowPreset::getLevelPresets ( )
double mitk::LevelWindowPreset::getWindow ( std::string  window)
std::map< std::string, double > & mitk::LevelWindowPreset::getWindowPresets ( )
bool mitk::LevelWindowPreset::LoadPreset ( std::string  fileName)

Definition at line 52 of file mitkLevelWindowPreset.cpp.

References MITK_INFO.

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

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