MCPcopy Create free account
hub / github.com/Kitware/VTK / GetBlockOpacity

Method GetBlockOpacity

Rendering/Core/vtkCompositeDataDisplayAttributes.cxx:456–466  ·  view source on GitHub ↗

----------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

454
455//----------------------------------------------------------------------------
456double vtkCompositeDataDisplayAttributes::GetBlockOpacity(vtkDataObject* data_object) const
457{
458 DoubleMap::const_iterator iter = this->BlockOpacities.find(data_object);
459
460 if (iter != this->BlockOpacities.end())
461 {
462 return iter->second;
463 }
464
465 return 0;
466}
467
468//----------------------------------------------------------------------------
469bool vtkCompositeDataDisplayAttributes::HasBlockOpacities() const

Callers 1

SetBlockOpacityMethod · 0.95

Calls 2

findMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected