MCPcopy Create free account
hub / github.com/MITK/MITK / Initialize

Method Initialize

Modules/Core/src/DataManagement/mitkMaterial.cpp:288–300  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

286}
287
288void mitk::Material::Initialize(const Material &property)
289{
290 this->SetColor(property.GetColor());
291 this->SetColorCoefficient(property.GetColorCoefficient());
292 this->SetSpecularColor(property.GetSpecularColor());
293 this->SetSpecularCoefficient(property.GetSpecularCoefficient());
294 this->SetSpecularPower(property.GetSpecularPower());
295 this->SetOpacity(property.GetOpacity());
296 this->SetInterpolation(property.GetInterpolation());
297 this->SetRepresentation(property.GetRepresentation());
298 this->SetLineWidth(property.GetLineWidth());
299 this->SetName(property.GetName());
300}
301
302bool mitk::Material::operator==(const Material &property) const
303{

Callers

nothing calls this directly

Calls 15

SetColorMethod · 0.95
SetColorCoefficientMethod · 0.95
SetSpecularColorMethod · 0.95
SetSpecularPowerMethod · 0.95
SetOpacityMethod · 0.95
SetInterpolationMethod · 0.95
SetRepresentationMethod · 0.95
SetLineWidthMethod · 0.95
GetColorCoefficientMethod · 0.80
GetSpecularColorMethod · 0.80

Tested by

no test coverage detected