<div>Hi friends,</div> <div> I have cut some object with a plane.And to see the cutting line i have used vtkStripper.The code is as follows:</div> <div> </div><FONT size=2> <div>stripperNumberOfPoints = stripper->GetOutput()->GetNumberOfPoints();</div> <div> </div> <div>If I print this,it shows the number is 44.</div> <div> </div> <div>But if I use the following pID (such as 1200),to get a point,it should be wrong.</div> <div>-------------------------------------</div><FONT size=2> <div>double cutterPoint[3];</div></FONT><FONT size=2> <div>int pID = 1200;</div> <div>stripper->GetOutput()->GetPoint(pID,cutterPoint);</div> <div> </div> <div>cout << cutterPoint[0] << " " << cutterPoint[1] << " "<< cutterPoint[2] << "\n";</div> <div> </div> <div>---------------------------------------------------------</div>
<div> </div> <div>But cutterPoint still producing some output.What is wrong with this?</div> <div>Thanks in advace.</div> <div> </div> <div>Sawsan.</div></FONT></FONT><p> 
<hr size=1>Looking for earth-friendly autos? <br> <a href="http://autos.yahoo.com/green_center/;_ylc=X3oDMTE4MGw4Z2hlBF9TAzk3MTA3MDc2BHNlYwNtYWlsdGFncwRzbGsDZ3JlZW5jZW50ZXI-">Browse Top Cars by "Green Rating"</a> at Yahoo! Autos' Green Center.