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

Method InitializeStandardValues

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

Source from the content-addressed store, hash-verified

314}
315
316void mitk::Material::InitializeStandardValues()
317{
318 m_Color.Set(0.5, 0.5, 0.0);
319 m_ColorCoefficient = 0.5;
320 m_SpecularColor.Set(1.0, 1.0, 1.0);
321 m_SpecularCoefficient = 0.5;
322 m_SpecularPower = 10.0;
323 m_Opacity = 1.0;
324 m_Interpolation = Gouraud;
325 m_Representation = Surface;
326 m_LineWidth = 1.0;
327 m_Name = "";
328}
329
330void mitk::Material::Update()
331{

Callers

nothing calls this directly

Calls 1

SetMethod · 0.45

Tested by

no test coverage detected