<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'><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></body>
</html>