Medical Imaging Interaction Toolkit
2018.4.99-389bf124
Medical Imaging Interaction Toolkit
|
The LevelWindowProperty class Property for the mitk::LevelWindow. More...
#include <mitkLevelWindowProperty.h>
Public Types | |
typedef LevelWindowProperty | Self |
typedef BaseProperty | Superclass |
typedef itk::SmartPointer< Self > | Pointer |
typedef itk::SmartPointer< const Self > | ConstPointer |
typedef LevelWindow | ValueType |
![]() | |
typedef BaseProperty | Self |
typedef itk::Object | Superclass |
typedef itk::SmartPointer< Self > | Pointer |
typedef itk::SmartPointer< const Self > | ConstPointer |
Public Member Functions | |
virtual std::vector< std::string > | GetClassHierarchy () const override |
virtual const char * | GetClassName () const |
Pointer | Clone () const |
~LevelWindowProperty () override | |
const mitk::LevelWindow & | GetLevelWindow () const |
const mitk::LevelWindow & | GetValue () const |
void | SetLevelWindow (const LevelWindow &levWin) |
void | SetValue (const ValueType &levWin) |
std::string | GetValueAsString () const override |
![]() | |
Pointer | Clone () const |
bool | operator== (const BaseProperty &property) const |
Subclasses must implement IsEqual(const BaseProperty&) to support comparison. More... | |
BaseProperty & | operator= (const BaseProperty &property) |
Assigns property to this BaseProperty instance. More... | |
bool | AssignProperty (const BaseProperty &property) |
Assigns property to this BaseProperty instance. More... | |
Static Public Member Functions | |
static const char * | GetStaticNameOfClass () |
static Pointer | New () |
static Pointer | New (const mitk::LevelWindow &_arg) |
![]() | |
static const char * | GetStaticNameOfClass () |
Protected Member Functions | |
LevelWindowProperty () | |
LevelWindowProperty (const LevelWindowProperty &other) | |
LevelWindowProperty (const mitk::LevelWindow &levWin) | |
![]() | |
BaseProperty () | |
BaseProperty (const BaseProperty &other) | |
~BaseProperty () override | |
Protected Attributes | |
LevelWindow | m_LevWin |
Additional Inherited Members | |
![]() | |
static const std::string | VALUE_CANNOT_BE_CONVERTED_TO_STRING |
Default return value if a property which can not be returned as string. More... | |
The LevelWindowProperty class Property for the mitk::LevelWindow.
Definition at line 37 of file mitkLevelWindowProperty.h.
typedef itk::SmartPointer<const Self> mitk::LevelWindowProperty::ConstPointer |
Definition at line 49 of file mitkLevelWindowProperty.h.
Definition at line 49 of file mitkLevelWindowProperty.h.
Definition at line 49 of file mitkLevelWindowProperty.h.
Definition at line 49 of file mitkLevelWindowProperty.h.
Definition at line 53 of file mitkLevelWindowProperty.h.
|
protected |
Definition at line 15 of file mitkLevelWindowProperty.cpp.
|
protected |
Definition at line 19 of file mitkLevelWindowProperty.cpp.
|
protected |
Definition at line 24 of file mitkLevelWindowProperty.cpp.
References SetLevelWindow().
|
override |
Definition at line 29 of file mitkLevelWindowProperty.cpp.
References m_LevWin.
Pointer mitk::LevelWindowProperty::Clone | ( | ) | const |
|
inlineoverridevirtual |
Reimplemented from mitk::BaseProperty.
Definition at line 49 of file mitkLevelWindowProperty.h.
|
virtual |
Reimplemented from mitk::BaseProperty.
const mitk::LevelWindow & mitk::LevelWindowProperty::GetLevelWindow | ( | ) | const |
Definition at line 44 of file mitkLevelWindowProperty.cpp.
References m_LevWin.
Referenced by GetValue().
|
inlinestatic |
Definition at line 49 of file mitkLevelWindowProperty.h.
const mitk::LevelWindow & mitk::LevelWindowProperty::GetValue | ( | ) | const |
Definition at line 49 of file mitkLevelWindowProperty.cpp.
References GetLevelWindow().
|
overridevirtual |
Reimplemented from mitk::BaseProperty.
Definition at line 68 of file mitkLevelWindowProperty.cpp.
References mitk::LevelWindow::GetLevel(), mitk::LevelWindow::GetWindow(), and m_LevWin.
|
static |
Referenced by mitk::PaintbrushTool::CheckIfCurrentSliceHasChanged(), mitk::Tool::CreateSegmentationNode(), mitk::DICOMImageBlockDescriptor::GetIntProperty(), mitkImageVtkMapper2DLevelWindowTest(), mitkPropertySerializationTest(), mitkViewportRenderingTest(), mitkVtkPropRendererTest(), mitk::PaintbrushTool::OnMousePressed(), mitk::PaintbrushTool::PaintbrushTool(), QmitkSlicesInterpolator::QmitkSlicesInterpolator(), mitk::OtsuTool3D::RunSegmentation(), mitk::GPUVolumeMapper3D::SetDefaultProperties(), mitk::LabelSetImageVtkMapper2D::SetDefaultProperties(), mitk::ImageVtkMapper2D::SetDefaultProperties(), mitk::DoseImageVtkMapper2D::SetDefaultProperties(), and mitk::DataNode::SetLevelWindow().
|
inlinestatic |
Definition at line 53 of file mitkLevelWindowProperty.h.
void mitk::LevelWindowProperty::SetLevelWindow | ( | const LevelWindow & | levWin | ) |
Definition at line 54 of file mitkLevelWindowProperty.cpp.
References m_LevWin.
Referenced by LevelWindowProperty(), mitk::LevelWindowManager::SetLevelWindow(), mitk::DisplayActionEventFunctions::SetLevelWindowAction(), and SetValue().
void mitk::LevelWindowProperty::SetValue | ( | const ValueType & | levWin | ) |
Definition at line 63 of file mitkLevelWindowProperty.cpp.
References SetLevelWindow().
|
protected |
Definition at line 40 of file mitkLevelWindowProperty.h.
Referenced by GetLevelWindow(), GetValueAsString(), SetLevelWindow(), and ~LevelWindowProperty().