<html>
<head>
<style>
P
{
margin:0px;
padding:0px
}
body
{
FONT-SIZE: 9pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body><div style="text-align: left;">Hi, I am using vtkClippedPolydata class to clip a map of vector fields in a brain, the spacing is 1.75, 1.75, 2, and i do:<br> vtkPlane *plane = vtkPlane::New();<br> plane->SetOrigin(0, 0, 20);<br> plane->SetNormal(0, 0, -1);<br><br> vtkClipPolyData *clipper = vtkClipPolyData::New();<br> clipper->SetInputConnection(hh->GetOutputPort());<br> clipper->SetClipFunction(plane);<br> clipper->SetValue(0);<br><br><br> vtkPolyDataMapper *mapper = vtkPolyDataMapper::New();<br> mapper->SetInputConnection(clipper->GetOutputPort());<br><br>Supposedly I should get only vectors on one plane but now I am getting vectors on several layers, is there a function I missed out? Or I am using the wrong class?<br><br>Thanks<br>hank <br><br></div><br /><hr />中国十大热门旅游景点 <a href='http://search.msn.com/results.aspx?q=%E4%B8%AD%E5%9B%BD%E5%8D%81%E5%A4%A7%E9%A3%8E%E6%99%AF&mkt=zh-CN&form=QBRE' target='_new'>了解更多信息!</a></body>
</html>