40 mActiveData(activeData)
45 this->activeImageChanged();
48 void DoublePropertyShadingBase::activeImageChanged()
63 return mImage->getShadingAmbient();
72 mImage->setShadingAmbient(val);
87 return mImage->getShadingDiffuse();
95 mImage->setShadingDiffuse(val);
109 return mImage->getShadingSpecular();
117 mImage->setShadingSpecular(val);
131 return mImage->getShadingSpecularPower();
139 mImage->setShadingSpecularPower(val);
virtual double getValue() const
get the data value.
virtual bool setValue(double val)
set the data value.
ActiveImageProxyPtr mActiveImageProxy
virtual bool setValue(double val)
set the data value.
DoublePropertyShadingDiffuse(ActiveDataPtr activeData)
boost::shared_ptr< class ActiveData > ActiveDataPtr
virtual bool setValue(double val)
set the data value.
virtual double getValue() const
get the data value.
DoublePropertyShadingSpecular(ActiveDataPtr activeData)
void transferFunctionsChanged()
bool similar(const DoubleBoundingBox3D &a, const DoubleBoundingBox3D &b, double tol)
DoublePropertyShadingBase(ActiveDataPtr activeData)
static ActiveImageProxyPtr New(ActiveDataPtr activeData)
virtual bool setValue(double val)
set the data value.
void changed()
emit when the underlying data value is changed: The user interface will be updated.
virtual double getValue() const
get the data value.
virtual double getValue() const
get the data value.
DoublePropertyShadingAmbient(ActiveDataPtr activeData)
void activeImageChanged(const QString &uid)
The original image changed signal from DataManager.
ActiveDataPtr mActiveData
DoublePropertyShadingSpecularPower(ActiveDataPtr activeData)