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

Method SetColorMapPreset

Examples/Emscripten/Cxx/GeometryViewer/GeometryViewer.cxx:727–732  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

725
726//------------------------------------------------------------------------------
727void GeometryViewer::SetColorMapPreset(const std::string& presetName)
728{
729 std::cout << __func__ << '(' << presetName << ')' << std::endl;
730 this->P->ColorMapPreset = presetName;
731 this->P->UpdateLUT();
732}
733
734//------------------------------------------------------------------------------
735void GeometryViewer::SetEdgeColor(int r, int g, int b)

Callers

nothing calls this directly

Calls 1

UpdateLUTMethod · 0.80

Tested by

no test coverage detected