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

Method SetColor

Examples/Emscripten/Cxx/GeometryViewer/GeometryViewer.cxx:720–724  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

718
719//------------------------------------------------------------------------------
720void GeometryViewer::SetColor(int r, int g, int b)
721{
722 std::cout << __func__ << '(' << r << ',' << g << ',' << b << ')' << std::endl;
723 this->P->Actor->GetProperty()->SetColor(r / 255., g / 255., b / 255.);
724}
725
726//------------------------------------------------------------------------------
727void GeometryViewer::SetColorMapPreset(const std::string& presetName)

Callers 15

PaintMethod · 0.45
mainFunction · 0.45
mainFunction · 0.45
android_mainFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45

Calls 1

GetPropertyMethod · 0.45

Tested by

no test coverage detected