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

Method GetBlockLookupTable

Rendering/Core/vtkCompositeDataDisplayAttributes.cxx:1000–1009  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

998
999//----------------------------------------------------------------------------
1000vtkSmartPointer<vtkScalarsToColors> vtkCompositeDataDisplayAttributes::GetBlockLookupTable(
1001 vtkDataObject* data_object) const
1002{
1003 const auto iter = this->BlockLookupTables.find(data_object);
1004 if (iter != this->BlockLookupTables.end())
1005 {
1006 return iter->second;
1007 }
1008 return nullptr;
1009}
1010
1011//----------------------------------------------------------------------------
1012bool vtkCompositeDataDisplayAttributes::HasBlockLookupTable(vtkDataObject* data_object) const

Callers 4

BuildRenderValuesMethod · 0.80
BuildRenderValuesMethod · 0.80

Calls 2

findMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected