[vtkusers] Adding Implicit Functions To Renderer?

Cory Quammen 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.

HTH,
Cory

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
> add
> vtkImplicitFunctions as actors. For instance, I want to add a vtkPlane as
> an
> 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/
> opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Search the list archives at: http://markmail.org/search/?q=vtkusers
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers
>



-- 
Cory Quammen
Staff R&D Engineer
Kitware, Inc.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20171020/35639ab3/attachment.html>


More information about the vtkusers mailing list