27 , m_IsoLevelSet(other.m_IsoLevelSet)
39 bool mitk::IsoDoseLevelSetProperty::IsEqual(
const BaseProperty& property)
const
41 return this->m_IsoLevelSet ==
static_cast<const Self&
>(property).m_IsoLevelSet;
44 bool mitk::IsoDoseLevelSetProperty::Assign(
const BaseProperty& property)
46 this->m_IsoLevelSet =
static_cast<const Self&
>(property).m_IsoLevelSet;
57 return GetIsoDoseLevelSet();
67 return GetIsoDoseLevelSet();
73 if(m_IsoLevelSet != levelSet)
75 m_IsoLevelSet = levelSet;
82 SetIsoDoseLevelSet(levelSet);
87 std::stringstream myStr;
89 myStr <<
"IsoDoseLevels: ";
91 if (m_IsoLevelSet.IsNotNull())
93 myStr << m_IsoLevelSet->Size() << std::endl;
97 myStr <<
" " << 100*(pos->GetDoseValue()) <<
"% : ("<<pos->GetColor()<<
"); iso line: " << pos->GetVisibleIsoLine() <<
"; color wash: "<<pos->GetVisibleColorWash() << std::endl;
itk::SmartPointer< Self > Pointer
Stores values needed for the representation/visualization of dose iso levels.
const IsoDoseLevelSet * GetValue() const
void SetValue(IsoDoseLevelSet *levelSet)
Property class for dose iso level sets.
virtual std::string GetValueAsString() const override
Abstract base class for properties.
virtual ~IsoDoseLevelSetProperty()
IsoDoseLevelSetProperty()
void SetIsoDoseLevelSet(IsoDoseLevelSet *levelSet)
const IsoDoseLevelSet * GetIsoDoseLevelSet() const