Medical Imaging Interaction Toolkit  2024.12.99-0da743f6
Medical Imaging Interaction Toolkit
mitk::IsoDoseLevelSetProperty Class Reference

Property class for dose iso level sets. More...

#include <mitkIsoDoseLevelSetProperty.h>

Inheritance diagram for mitk::IsoDoseLevelSetProperty:
Collaboration diagram for mitk::IsoDoseLevelSetProperty:

Public Types

typedef IsoDoseLevelSet ValueType
 
- Public Types inherited from mitk::BaseProperty
typedef BaseProperty Self
 
typedef itk::Object Superclass
 
typedef itk::SmartPointer< SelfPointer
 
typedef itk::SmartPointer< const SelfConstPointer
 

Public Member Functions

 mitkClassMacro (IsoDoseLevelSetProperty, BaseProperty)
 
 mitkNewMacro1Param (IsoDoseLevelSetProperty, IsoDoseLevelSet *)
 
 ~IsoDoseLevelSetProperty () override
 
const IsoDoseLevelSetGetIsoDoseLevelSet () const
 
const IsoDoseLevelSetGetValue () const
 
IsoDoseLevelSetGetIsoDoseLevelSet ()
 
IsoDoseLevelSetGetValue ()
 
void SetIsoDoseLevelSet (IsoDoseLevelSet *levelSet)
 
void SetValue (IsoDoseLevelSet *levelSet)
 
std::string GetValueAsString () const override
 
bool ToJSON (nlohmann::json &j) const override
 Serialize property value(s) to JSON. More...
 
bool FromJSON (const nlohmann::json &j) override
 Deserialize property value(s) from JSON. More...
 
BasePropertyoperator= (const BaseProperty &property)
 Assigns property to this BaseProperty instance. More...
 
- Public Member Functions inherited from mitk::BaseProperty
virtual std::vector< std::string > GetClassHierarchy () const
 
virtual const char * GetClassName () const
 
Pointer Clone () const
 
bool operator== (const BaseProperty &property) const
 Subclasses must implement IsEqual(const BaseProperty&) to support comparison. More...
 
BasePropertyoperator= (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 Pointer New ()
 
- Static Public Member Functions inherited from mitk::BaseProperty
static const char * GetStaticNameOfClass ()
 

Protected Member Functions

 IsoDoseLevelSetProperty ()
 
 IsoDoseLevelSetProperty (const IsoDoseLevelSetProperty &other)
 
 IsoDoseLevelSetProperty (IsoDoseLevelSet *levelSet)
 
- Protected Member Functions inherited from mitk::BaseProperty
 BaseProperty ()
 
 BaseProperty (const BaseProperty &other)
 
 ~BaseProperty () override
 

Protected Attributes

IsoDoseLevelSet::Pointer m_IsoLevelSet
 

Additional Inherited Members

- Static Public Attributes inherited from mitk::BaseProperty
static const std::string VALUE_CANNOT_BE_CONVERTED_TO_STRING
 Default return value if a property which can not be returned as string. More...
 

Detailed Description

Property class for dose iso level sets.

Definition at line 26 of file mitkIsoDoseLevelSetProperty.h.

Member Typedef Documentation

◆ ValueType

Constructor & Destructor Documentation

◆ IsoDoseLevelSetProperty() [1/3]

mitk::IsoDoseLevelSetProperty::IsoDoseLevelSetProperty ( )
protected

◆ IsoDoseLevelSetProperty() [2/3]

mitk::IsoDoseLevelSetProperty::IsoDoseLevelSetProperty ( const IsoDoseLevelSetProperty other)
explicitprotected

◆ IsoDoseLevelSetProperty() [3/3]

mitk::IsoDoseLevelSetProperty::IsoDoseLevelSetProperty ( IsoDoseLevelSet levelSet)
explicitprotected

◆ ~IsoDoseLevelSetProperty()

mitk::IsoDoseLevelSetProperty::~IsoDoseLevelSetProperty ( )
override

Member Function Documentation

◆ FromJSON()

bool mitk::IsoDoseLevelSetProperty::FromJSON ( const nlohmann::json j)
overridevirtual

Deserialize property value(s) from JSON.

Rely on exceptions for error handling when implementing deserialization.

Returns
False if not deserializable by design, true otherwise.

Implements mitk::BaseProperty.

◆ GetIsoDoseLevelSet() [1/2]

IsoDoseLevelSet* mitk::IsoDoseLevelSetProperty::GetIsoDoseLevelSet ( )

◆ GetIsoDoseLevelSet() [2/2]

const IsoDoseLevelSet* mitk::IsoDoseLevelSetProperty::GetIsoDoseLevelSet ( ) const

◆ GetValue() [1/2]

IsoDoseLevelSet* mitk::IsoDoseLevelSetProperty::GetValue ( )

◆ GetValue() [2/2]

const IsoDoseLevelSet* mitk::IsoDoseLevelSetProperty::GetValue ( ) const

◆ GetValueAsString()

std::string mitk::IsoDoseLevelSetProperty::GetValueAsString ( ) const
overridevirtual

Reimplemented from mitk::BaseProperty.

◆ mitkClassMacro()

mitk::IsoDoseLevelSetProperty::mitkClassMacro ( IsoDoseLevelSetProperty  ,
BaseProperty   
)

◆ mitkNewMacro1Param()

mitk::IsoDoseLevelSetProperty::mitkNewMacro1Param ( IsoDoseLevelSetProperty  ,
IsoDoseLevelSet  
)

◆ New()

static Pointer mitk::IsoDoseLevelSetProperty::New ( )
static

◆ operator=()

BaseProperty& mitk::BaseProperty::operator=

Assigns property to this BaseProperty instance.

Subclasses must implement Assign(const BaseProperty&) and call the superclass Assign method for proper handling of polymorphic assignments. The assignment operator of the subclass should be disabled and the baseclass operator should be made visible using "using" statements.

◆ SetIsoDoseLevelSet()

void mitk::IsoDoseLevelSetProperty::SetIsoDoseLevelSet ( IsoDoseLevelSet levelSet)

◆ SetValue()

void mitk::IsoDoseLevelSetProperty::SetValue ( IsoDoseLevelSet levelSet)

◆ ToJSON()

bool mitk::IsoDoseLevelSetProperty::ToJSON ( nlohmann::json j) const
overridevirtual

Serialize property value(s) to JSON.

Rely on exceptions for error handling when implementing serialization.

Returns
False if not serializable by design, true otherwise.

Implements mitk::BaseProperty.

Member Data Documentation

◆ m_IsoLevelSet

IsoDoseLevelSet::Pointer mitk::IsoDoseLevelSetProperty::m_IsoLevelSet
protected

Definition at line 30 of file mitkIsoDoseLevelSetProperty.h.


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