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

Method MapValue

Rendering/Core/vtkDiscretizableColorTransferFunction.cxx:317–326  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

315
316//------------------------------------------------------------------------------
317const unsigned char* vtkDiscretizableColorTransferFunction::MapValue(double v)
318{
319 this->Build();
320 if (this->Discretize || this->IndexedLookup)
321 {
322 return this->LookupTable->MapValue(v);
323 }
324
325 return this->Superclass::MapValue(v);
326}
327
328//------------------------------------------------------------------------------
329void vtkDiscretizableColorTransferFunction::GetColor(double v, double rgb[3])

Callers

nothing calls this directly

Calls 1

BuildMethod · 0.95

Tested by

no test coverage detected