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

Method SetColor

Modules/Core/src/DataManagement/mitkDataNode.cpp:373–378  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

371}
372
373void mitk::DataNode::SetColor(const mitk::Color &color, const mitk::BaseRenderer *renderer, const char *propertyKey)
374{
375 mitk::ColorProperty::Pointer prop;
376 prop = mitk::ColorProperty::New(color);
377 GetPropertyList(renderer)->SetProperty(propertyKey, prop);
378}
379
380void mitk::DataNode::SetColor(
381 float red, float green, float blue, const mitk::BaseRenderer *renderer, const char *propertyKey)

Callers

nothing calls this directly

Calls 2

NewFunction · 0.50
SetPropertyMethod · 0.45

Tested by

no test coverage detected