------------------------------------------------------------------------------
| 4494 | |
| 4495 | //------------------------------------------------------------------------------ |
| 4496 | int vtkOpenGLPolyDataMapper::GetOpenGLMode(int representation, int primType) |
| 4497 | { |
| 4498 | if (representation == VTK_POINTS || primType == PrimitivePoints || primType == PrimitiveVertices) |
| 4499 | { |
| 4500 | return GL_POINTS; |
| 4501 | } |
| 4502 | if (representation == VTK_WIREFRAME || primType == PrimitiveLines) |
| 4503 | { |
| 4504 | return GL_LINES; |
| 4505 | } |
| 4506 | return GL_TRIANGLES; |
| 4507 | } |
| 4508 | |
| 4509 | //------------------------------------------------------------------------------ |
| 4510 | int vtkOpenGLPolyDataMapper::GetPointPickingPrimitiveSize(int primType) |
no outgoing calls
no test coverage detected