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

Method DrawingSpheres

Rendering/OpenGL2/vtkOpenGLPolyDataMapper.cxx:2519–2524  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

2517
2518//------------------------------------------------------------------------------
2519bool vtkOpenGLPolyDataMapper::DrawingSpheres(vtkOpenGLHelper& cellBO, vtkActor* actor)
2520{
2521 return (actor->GetProperty()->GetRenderPointsAsSpheres() &&
2522 this->GetOpenGLMode(actor->GetProperty()->GetRepresentation(), cellBO.PrimitiveType) ==
2523 GL_POINTS);
2524}
2525
2526//------------------------------------------------------------------------------
2527bool vtkOpenGLPolyDataMapper::DrawingTubes(vtkOpenGLHelper& cellBO, vtkActor* actor)

Callers 4

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