[vtkusers] Adding Implicit Functions To Renderer?
cory.quammen at kitware.com
Fri Oct 20 08:54:14 EDT 2017
If your goal is to actually view a vtkImplicitFunction, you'll first need
to give it to a vtkImplicitModeller that computes a volume with the signed
distance from the object the implicit function represents. Then you'll need
to apply a vtkContourFilter to it to extract a surface. Add this surface to
a mapper, assign the mapper to an actor, and you are done.
If your goal is to just view a plane, you can generate one with
vtkPlaneSource, connect its output to a mapper, and then assign the mapper
to an actor.
On Fri, Oct 20, 2017 at 2:19 AM, Andaharoo <Andx_roo at live.com> wrote:
> Pretty simple question. But I couldn't find anything googling. How can I
> vtkImplicitFunctions as actors. For instance, I want to add a vtkPlane as
> actor to the renderer.
> Sent from: http://vtk.1045678.n5.nabble.com/VTK-Users-f1224199.html
> Powered by www.kitware.com
> Visit other Kitware open-source projects at http://www.kitware.com/
> Please keep messages on-topic and check the VTK FAQ at:
> Search the list archives at: http://markmail.org/search/?q=vtkusers
> Follow this link to subscribe/unsubscribe:
Staff R&D Engineer
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the vtkusers