<DIV style="FONT-SIZE: 12px; FONT-FAMILY: verdana, arial">
<DIV>
<DIV>Dear all,</DIV>
<DIV> </DIV>
<DIV>I have some troubles with this function SetDimensions from vtkImageData class.</DIV>
<DIV>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?</DIV>
<DIV> </DIV>
<DIV><FONT color=#0000ff size=2>
<P><FONT size=1>int</FONT></FONT><FONT size=2><FONT size=1> dimx=2,dimy=3,dimz=4;</FONT></P>
<P><FONT size=1>vtkStructuredPoints* vol = vtkStructuredPoints::New();</FONT></P>
<P><FONT size=1>vol->SetDimensions(dimx, dimy, dimz);</FONT></P>
<P><FONT size=1>vol->AllocateScalars();</FONT></P>
<P><FONT size=1>Thanks in advance for your help</FONT></P>
<P><FONT size=1>Best,</FONT></P>
<P><FONT size=1>Sophie</FONT></P></FONT></DIV></DIV></DIV><DIV style='{font-family:verdana, arial;font-size: 10px}'>
<DIV><br></DIV>
<DIV><br></DIV>
<DIV><EM>Accédez au courrier électronique de La Poste : www.laposte.net ;</EM></DIV>
<DIV><EM>3615 LAPOSTENET (0,34 /mn) ; tél : 08 92 68 13 50 (0,34/mn)</EM></DIV>
</DIV>