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

Method SetOpacity

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

Source from the content-addressed store, hash-verified

264}
265
266void mitk::Annotation::SetOpacity(float opacity, const std::string &propertyKey)
267{
268 mitk::FloatProperty::Pointer prop;
269 prop = mitk::FloatProperty::New(opacity);
270 this->m_PropertyList->SetProperty(propertyKey, prop);
271}
272
273void mitk::Annotation::SetVisibility(bool visible, const std::string &propertyKey)
274{

Callers 15

AnnotationMethod · 0.95
testSetOpacityMethod · 0.45
RenderOpaqueBallMethod · 0.45
ApplyAllPropertiesMethod · 0.45
ProcessNodeMethod · 0.45

Calls 2

NewFunction · 0.50
SetPropertyMethod · 0.45

Tested by 3

testSetOpacityMethod · 0.36
RenderOpaqueBallMethod · 0.36