[vtkusers] FW: invalid vtkSource Pointer from vtkActor

David Doria daviddoria at gmail.com
Fri Sep 9 12:02:44 EDT 2011


On Fri, Sep 9, 2011 at 11:54 AM, Luigi Laneve <luigi_laneve at hotmail.com> wrote:
> Thank you for your reply!
> Nothing happens; SS is NULL yet!

What is vtkSource? Don't you just want to get your data?

  vtkMapper* map = actor_sphere->GetMapper();
  vtkDataSet* SS = map->GetInput();

this SS pointer is now non-null.

David



More information about the vtkusers mailing list