[vtkusers]vtkActor array

Alejandro Galindo Mateo agalmat at hotmail.com
Sun Mar 13 05:28:08 EST 2005


Hello vtkusers,

I have a problem with arrays.  I define an array of vtkActor:

vtkActor **array = new vtkActor* [170];

and then I set the input:

array[0]->SetInput(mapper); (mapper is a vtkPolyDataMapper)

I compile it without any problem but when I execute it I get:

"Segmentation fault (core dumped)" just when the program has to set the 
input.
Can anyone tell me if I missed something?

Thanks,





More information about the vtkusers mailing list