hi rafael; <br>thank you very much for helping me...the thing is that i still have my data in the form lets say something like this...<br>x = arange(0,20)<br>y = arange(0,20)<br>z = arange(0,1,0.05)<br>this are variables that i got in a python enthoght edition(on windows) file<br>and then i want to plot this points and generate a surface through them...<br><br>if i have to create a file and read them from there how do i do that...<br>sorry if my question are....i am used to matlab and i am new at this besides i just <br>wanna generate only surfaces and no more..<br>thanks a lot for you help..thank you<br><br><b><i>rafael possani <gentefinabr@hotmail.com></i></b> escribió:<blockquote class="replbq" style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"> <style> .hmmessage P { margin:0px; padding:0px } body.hmmessage { FONT-SIZE: 10pt; FONT-FAMILY:Tahoma } </style> <div style="text-align: left;"> Hi Yadin, I suggest y
to use vtkGaussianSplatter, thats a fragment code:<br><br> vtkUnstructuredGrid grid= new vtkUnstructuredGrid();<br> inferno.SetPoints(points);<br> inferno.SetCells(1,polys);<br> inferno.GetPointData().SetScalars(scalars); <br><br> vtkGaussianSplatter popSplatter = new vtkGaussianSplatter();<br> popSplatter.SetInput(grid);<br> popSplatter.SetSampleDimensions(50, 50, 50);<br> popSplatter.SetRadius(0.05);<br> popSplatter.ScalarWarpingOff();<br> popSplatter.Update();<br> <br> vtkContourFilter popSurface = new vtkContourFilter();<br> popSurface.SetInputConnection(popSplatter.GetOutputPort());<br> popSurface.SetValue(0, 0.01);<br> <br><br> vtkPolyDataMapper
popMapper = new vtkPolyDataMapper();<br> popMapper.SetInputConnection(popSurface.GetOutputPort());<br> popMapper.ScalarVisibilityOn();<br> popMapper.SetScalarRange(grid.GetScalarRange());<br> popMapper.ImmediateModeRenderingOn();<br> <br> vtkActor popActor = new vtkActor();<br> popActor.SetMapper(popMapper);<br><br> <br></div> cya.<br><br><br><blockquote><hr id="EC_stopSpelling">Date: Fri, 31 Aug 2007 10:24:26 -0500<br>From: conra2004@yahoo.com<br>To: vtkusers@vtk.org<br>Subject: [vtkusers] please help on ploting surfaces vith VTK<br><br><div>hi!</div> <div>how do you plot surfaces in VTK?</div> <div>I know how to do it with matlab using surf or meshgrid....</div> <div>what is the command to plot surcaes in VTK?</div> <div>I just one to use it for ploting some points(x,y,z) ...generate a
surface through jhe points and no more</div> <div>thanks </div> __________________________________________________<br>Correo Yahoo!<br>Espacio para todos tus mensajes, antivirus y antispam ¡gratis! <br>Regístrate ya - http://correo.espanol.yahoo.com/ <br></blockquote><br><hr>Receba GRÁTIS as mensagens do Messenger no seu celular quando você estiver offline. Conheça o MSN Mobile! <a href="http://mobile.live.com/signup/signup2.aspx?lc=pt-br" target="_new">Cadastre-se já!</a>_______________________________________________<br>This is the private VTK discussion list. <br>Please keep messages on-topic. Check the FAQ at: http://www.vtk.org/Wiki/VTK_FAQ<br>Follow this link to subscribe/unsubscribe:<br>http://www.vtk.org/mailman/listinfo/vtkusers<br></blockquote><br><p> __________________________________________________<br>Correo Yahoo!<br>Espacio para todos tus mensajes, antivirus y antispam ¡gratis! <br>Regístrate ya - http://correo.espanol.yahoo.com/