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

Method ApplyViewTheme

Views/Infovis/vtkRenderView.cxx:580–589  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

578}
579
580void vtkRenderView::ApplyViewTheme(vtkViewTheme* theme)
581{
582 this->Renderer->SetBackground(theme->GetBackgroundColor());
583 this->Renderer->SetBackground2(theme->GetBackgroundColor2());
584 this->Renderer->SetGradientBackground(true);
585 for (int i = 0; i < this->GetNumberOfRepresentations(); ++i)
586 {
587 this->GetRepresentation(i)->ApplyViewTheme(theme);
588 }
589}
590
591void vtkRenderView::SetLabelPlacementMode(int mode)
592{

Callers 7

vtkRenderViewMethod · 0.95
TestNetworkViewsFunction · 0.45
TestTreeMapViewFunction · 0.45
TestIcicleViewFunction · 0.45
TestTreeRingViewFunction · 0.45
TestQtTreeRingLabelerFunction · 0.45

Calls 3

GetRepresentationMethod · 0.80
GetBackgroundColorMethod · 0.45

Tested by 6

TestNetworkViewsFunction · 0.36
TestTreeMapViewFunction · 0.36
TestIcicleViewFunction · 0.36
TestTreeRingViewFunction · 0.36
TestQtTreeRingLabelerFunction · 0.36