Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • VTK VTK
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 833
    • Issues 833
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 237
    • Merge requests 237
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • VTKVTK
  • VTKVTK
  • Issues
  • #17940
Closed
Open
Issue created Jun 22, 2020 by mrbachmann@mrbachmann

vtkOpenGLPolyDataMapper2D (OpenGL2 backend) ClippingPlanes are not applied

Using vtk 8.2.0, in combination with the (new) OpenGL2 backend vtkOpenGLPolyDataMapper2D does not apply the clipping planes anymore which can be set using the function SetClippingPlanes.

=> see screenshot vtk8.2.0_OpenGL2_backend.png

vtk8.2.0_OpenGL2_backend!

=> the circle is not clipped as expected

e.g. when using vtk 7.1.1, in combination with the (old) OpenGL backend vtkOpenGLPolyDataMapper2D did apply the clipping planes:

=> see screenshot vtk7.1.1_OpenGL_backend.png

vtk7.1.1_OpenGL_backend!

=> the circle is clipped (as expected)

vtkOpenGLPolyDataMapper2D_SetClippingPlanes.zip

Please note: The "3D version" vtkOpenGLPolyDataMappper does take the clipping planes into account (OpenGL2 backend).

Of course the vtkPolyData could be clipped up front using vtkClipPolyData. However vtkOpenGLPolyDataMapper2D should be able to clip the data as well, just like it did in the OpenGL backend.

Edited Jun 22, 2020 by mrbachmann
Assignee
Assign to
Time tracking