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

Method GetPointPickingPrimitiveSize

Rendering/OpenGL2/vtkOpenGLPolyDataMapper.cxx:4510–4521  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

4508
4509//------------------------------------------------------------------------------
4510int vtkOpenGLPolyDataMapper::GetPointPickingPrimitiveSize(int primType)
4511{
4512 if (primType == PrimitivePoints)
4513 {
4514 return 2;
4515 }
4516 if (primType == PrimitiveLines)
4517 {
4518 return 4;
4519 }
4520 return 6;
4521}
4522
4523//------------------------------------------------------------------------------
4524void vtkOpenGLPolyDataMapper::MapDataArrayToVertexAttribute(

Callers 2

RenderPieceDrawMethod · 0.95
RenderPieceDrawMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected