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

Method GetColor

Rendering/Core/vtkDiscretizableColorTransferFunction.cxx:329–340  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

327
328//------------------------------------------------------------------------------
329void vtkDiscretizableColorTransferFunction::GetColor(double v, double rgb[3])
330{
331 this->Build();
332 if (this->Discretize || this->IndexedLookup)
333 {
334 this->LookupTable->GetColor(v, rgb);
335 }
336 else
337 {
338 this->Superclass::GetColor(v, rgb);
339 }
340}
341
342//------------------------------------------------------------------------------
343double vtkDiscretizableColorTransferFunction::GetOpacity(double v)

Callers

nothing calls this directly

Calls 1

BuildMethod · 0.95

Tested by

no test coverage detected