[vtkusers] simple vtk application

Alex Malyushytskyy alexmalvtk at gmail.com
Tue Aug 23 19:43:18 EDT 2011

First, there are a multiple ways you can do things in vtk.

Using multiple actors make sense only if you need an ability easy
separate object from other objects and might be not efficient
if you have large number of objects ( if your data has more than few
hundred objects (pieces/files,) I will avoid using one actor per

You also probably don't need multiple renderers.

In my practice mostly often I used 2 designs:

1.  per file: Reader -> filter -> actor
One window and one renderer per application

2  per file: Reader -> filter ->

every filter(s) output goes to combining filter as an input (for
example vtkAppendPolyData)

combining filter-> actor ->
still one  window and one renderer per application

On Tue, Aug 23, 2011 at 3:26 AM, Florian Bruckner <e0425375 at gmail.com> wrote:
> hi, i'm new to vtk and i have a few design questions. I want to write a
> simple visualization tool for our data. It should support multiple input
> files and different filters for each input file. Each filter then needs
> a mapper and an actor, if I understand that correctly. All those things
> should be put into an new class asdf_input.
> Finally there is an renderer window where the data should be displayed.
> So I would add the proper actors from the asdf_input object and add them
> to multiple renderers. Then these multiple renderers are added to the
> renderer window. All these things are put into another class
> asdf_output.
> So this is the first plan. But after looking over the vtk class
> reference i found vtkView, vtkDataRepresentation, ... and i was
> wondering whether there is already something very similar available.
> So my question is whether there is already some top-level class
> available, which allows to simplify the handling of multiple
> input/filters/renderers.
> greetings
> Florian
> _______________________________________________
> 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
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers

More information about the vtkusers mailing list