[vtkusers] How do I get around no vtkscalars in 4.0?

Alex Lear alear at cns.montana.edu
Wed Oct 30 18:37:33 EST 2002


Hello, 
I have an 3d array of values that I want to apply to a structured points set.
In VTK 3.2 I would create vtkScalars with that data and then use:

MyStructuredPoints->GetPointData()->SetScalars(MyScalars);

I have upgraded to VTK 4.0 but my program obviously has errors due to the 
fact there is no more vtkScalars supported.  How can I apply my scalar data 
to those structured points?

Thanks,

Alex Lear



More information about the vtkusers mailing list