<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
<br>Hi,<br><br>I am getting incorrect results when using vtkSelectEnclosedPoints. To run the method, I have set a polydata surface that contains part of an image that I have set as the input. When I write the results into a files, I get the points inside the polydata surface, but not their real values. <br><br>What do I need to set the scalar values of the image (whether vtkImage or vtkStructuredPoints) into the vtkSelectEnclosedPoints method? Nothing I have tried has worked out so far.<br><br>Short "pseudocode" that shows what I'm doing, just in case it is of any help:<br><br>surface&nbsp; *vtkPolydata<br>space *vtkStructuredPoints<br><br>sep = vtk.vtkSelectEnclosedPoints()<br>sep.SetInput(space.GetOutput())<br>sep.SetSurface(surface.GetOutput())<br>sep.CheckSurfaceOn()<br>sep.Update()<br><br>Any ideas where to set the scalar data from the StructuredPoints?<br>                                               <br /><hr />¿Sabes que La Gente de Hoy tiene <a href='http://www.vivelive.com/hotmail-la-gente-de-hoy/index.html?spam' target='_new'>GUARDAESPALDAS contra el Spam?</a></body>
</html>