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

Method SetColor

Modules/Core/src/Rendering/mitkAnnotation.cpp:233–238  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

231}
232
233void mitk::Annotation::SetColor(const mitk::Color &color, const std::string &propertyKey)
234{
235 mitk::ColorProperty::Pointer prop;
236 prop = mitk::ColorProperty::New(color);
237 this->m_PropertyList->SetProperty(propertyKey, prop);
238}
239
240void mitk::Annotation::SetColor(float red, float green, float blue, const std::string &propertyKey)
241{

Callers 15

TestDataStorageFunction · 0.45
testSetColorMethod · 0.45
ApplyAllPropertiesMethod · 0.45
ProcessNodeMethod · 0.45
EnableMethod · 0.45
ApplyColorMethod · 0.45

Calls 2

NewFunction · 0.50
SetPropertyMethod · 0.45

Tested by 3

TestDataStorageFunction · 0.36
testSetColorMethod · 0.36