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

Method DrawingTubes

Rendering/OpenGL2/vtkOpenGLPolyDataMapper.cxx:2527–2533  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

2525
2526//------------------------------------------------------------------------------
2527bool vtkOpenGLPolyDataMapper::DrawingTubes(vtkOpenGLHelper& cellBO, vtkActor* actor)
2528{
2529 return (actor->GetProperty()->GetRenderLinesAsTubes() &&
2530 actor->GetProperty()->GetLineWidth() > 1.0 &&
2531 this->GetOpenGLMode(actor->GetProperty()->GetRepresentation(), cellBO.PrimitiveType) ==
2532 GL_LINES);
2533}
2534
2535//------------------------------------------------------------------------------
2536bool vtkOpenGLPolyDataMapper::DrawingPoints(vtkOpenGLHelper& cellBO, vtkActor* actor)

Callers 5

ReplaceShaderNormalMethod · 0.95
ReplaceShaderValuesMethod · 0.80
ReplaceShaderValuesMethod · 0.80

Calls 3

GetOpenGLModeMethod · 0.95
GetRepresentationMethod · 0.80
GetPropertyMethod · 0.45

Tested by

no test coverage detected