Skip to content

Support Clipping #247

@BotellaA

Description

@BotellaA

The goal is to support slicing and cliping of data

  1. Viewer: use vtkClipDataSet (https://vtk.org/doc/nightly/html/classvtkClipDataSet.html) to slice mesh or model. Options to support:
  • SetInsedOut(bool): which side of the data to keep
  • SetClipFunction(vtkImplicitFunction): how to clip the data, here we want a vtkPlane
  1. Viewer: use vtkExtractGeometry (https://vtk.org/doc/nightly/html/classvtkExtractGeometry.html) to clip mesh or model. Options to support:
  • SetExtractInside(bool): which side of the data to keep
  • SetClipFunction(vtkImplicitFunction): how to clip the data, here we want a vtkPlane
  1. Front: add button in viewer toolbar to display popup card with the options and plane definition

  2. Front: add light viewer to control the plane using the mouse

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions