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

Method DrawingEdges

Rendering/OpenGL2/vtkOpenGLPolyDataMapper.cxx:361–375  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

359
360//------------------------------------------------------------------------------
361bool vtkOpenGLPolyDataMapper::DrawingEdges(vtkRenderer*, vtkActor* actor)
362{
363 if (this->PointPicking)
364 {
365 return false;
366 }
367
368 if (actor->GetProperty()->GetEdgeVisibility() &&
369 this->GetOpenGLMode(
370 actor->GetProperty()->GetRepresentation(), this->LastBoundBO->PrimitiveType) == GL_TRIANGLES)
371 {
372 return true;
373 }
374 return false;
375}
376
377//-----------------------------------------------------------------------------
378vtkMTimeType vtkOpenGLPolyDataMapper::GetRenderPassStageMTime(

Callers 3

GetShaderTemplateMethod · 0.95
ReplaceShaderEdgesMethod · 0.95

Calls 4

GetOpenGLModeMethod · 0.95
GetRepresentationMethod · 0.80
GetEdgeVisibilityMethod · 0.45
GetPropertyMethod · 0.45

Tested by

no test coverage detected