[vtkusers] SetDimensions and vtkStructuredPoints

s.jarlier s.jarlier at laposte.net
Mon Jul 18 04:13:58 EDT 2005


Dear all,

I have some troubles with this function SetDimensions from vtkImageData class.
I am trying to do the following unfortunately the dimensions of vol are staying equal to 0 instead of 2 3 and 4, what do I do wrong?

int dimx=2,dimy=3,dimz=4;
vtkStructuredPoints* vol = vtkStructuredPoints::New();
vol->SetDimensions(dimx, dimy, dimz);
vol->AllocateScalars();
Thanks in advance for your help
Best,
Sophie

Accédez au courrier électronique de La Poste : www.laposte.net ; 
3615 LAPOSTENET (0,34€/mn) ; tél : 08 92 68 13 50 (0,34€/mn)


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20050718/13367ee5/attachment.htm>


More information about the vtkusers mailing list