[vtkusers] blank render window in VTK 6.0 (git)

Juan Cardelino juan.cardelino at gmail.com
Tue Oct 23 10:56:19 EDT 2012


Thanks. It is clear now.

On Tue, Oct 23, 2012 at 11:07 AM, Bill Lorensen <bill.lorensen at gmail.com> wrote:
> Juan,
>
> This page:
> http://www.cmake.org/Wiki/VTK/VTK_6_Migration/Replacement_of_SetInput
> should explain the SetInput/SetInputData differences.
>
> Bill
>
> On Tue, Oct 23, 2012 at 8:10 AM, Juan Cardelino <juan.cardelino at gmail.com>
> wrote:
>>
>> Seems that adding  an Update() call on the cone source did the trick.
>> So changing my example like this now works.
>>
>>   // create an actor and give it cone geometry
>>   vtkConeSource *cone = vtkConeSource::New();
>>   cone->SetResolution(8);
>>   cone->Update();
>>
>> Is there any explanation for this change of behaviour? Or did I
>> misread something?
>>
>>
>> On Tue, Oct 23, 2012 at 10:01 AM, Juan Cardelino
>> <juan.cardelino at gmail.com> wrote:
>> > Dear all,
>> >              I tried to move to vtk git version (pulled today), and
>> > after migrating all the code (mainly SetInput->SetInputData), every
>> > single vtk application stopped rendering. See for instance this simple
>> > program:
>> > https://iie.fing.edu.uy/avn/gral/trunk/src/vtk/Cone.cpp
>> > https://iie.fing.edu.uy/avn/gral/trunk/src/vtk/CMakelists.txt (it
>> > includes other stuff, but it is still useful to see how I call VTK)
>> > My programs were working in windows, mac and linux with VTK 5.9 and
>> > 5.10. I've checked the migration guide and googled it but without any
>> > luck so far.
>> > Has anyone experienced a similar behaviour?
>> > Best,
>> >         Juan
>> _______________________________________________
>> 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
>
>
>
>
> --
> Unpaid intern in BillsBasement at noware dot com
>



More information about the vtkusers mailing list