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

Method SetEnabled

Rendering/VR/vtkVRControlsHelper.cxx:398–408  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

396
397//------------------------------------------------------------------------------
398void vtkVRControlsHelper::SetEnabled(bool val)
399{
400 if (val == this->Enabled)
401 {
402 return;
403 }
404
405 this->Enabled = val;
406 this->SetVisibility(this->Enabled);
407 this->Modified();
408}
409
410//------------------------------------------------------------------------------
411void vtkVRControlsHelper::SetRenderer(vtkRenderer* ren)

Calls 2

SetVisibilityMethod · 0.45
ModifiedMethod · 0.45