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

Method RenderTranslucentPolygonalGeometry

Rendering/VR/vtkVRControlsHelper.cxx:303–320  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

301
302//------------------------------------------------------------------------------
303int vtkVRControlsHelper::RenderTranslucentPolygonalGeometry(vtkViewport* v)
304{
305 if (this->NeedUpdate)
306 {
307 this->UpdateRepresentation();
308 }
309
310 if (!this->LabelVisible)
311 {
312 return 0;
313 }
314
315 int count = 0;
316
317 count += this->TextActor->RenderTranslucentPolygonalGeometry(v);
318
319 return count;
320}
321
322//------------------------------------------------------------------------------
323vtkTypeBool vtkVRControlsHelper::HasTranslucentPolygonalGeometry()

Callers

nothing calls this directly

Calls 1

UpdateRepresentationMethod · 0.95

Tested by

no test coverage detected