Commit aab6a004 authored by Jean-Loup Haberbusch's avatar Jean-Loup Haberbusch
Browse files

ADDED Displaying new 3D objects in CamiTK

parent f1cd5052
Pipeline #15646 passed with stages
in 25 seconds
!!! warning
This is a work in progress. |
For some CamiTK actions, displaying new elements in the viewers might be
## How to create a new component and add it to a viewer
To complete with a nice solution.
## How to display the output of a vtk filter
This method avoid the creation of a new Component : the output of a vtk
filter can be displayed by only changing the data connection of the
initial Component.
Example with a clip filter :
MeshComponent *your_mesh; // the initial mesh
vtkSmartPointer < vtkClipDataSet > filter = vtkSmartPointer < vtkClipDataSet >::New();
The initial mesh is unchanged, there is no need saving it before apply
the filter.
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment