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

Method SetBackgroundColor2

Examples/Emscripten/Cxx/GeometryViewer/GeometryViewer.cxx:553–558  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

551
552//------------------------------------------------------------------------------
553void GeometryViewer::SetBackgroundColor2(int r, int g, int b)
554{
555 std::cout << __func__ << '(' << r / 255. << ',' << g / 255. << ',' << b / 255. << ')'
556 << std::endl;
557 this->P->Renderer->SetBackground2(r / 255., g / 255., b / 255.);
558}
559
560//------------------------------------------------------------------------------
561void GeometryViewer::SetMouseWheelMotionFactor(float sensitivity)

Callers 4

CreateOceanThemeMethod · 0.80
CreateNeonThemeMethod · 0.80
CreateMellowThemeMethod · 0.80
DisplayGraphFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected