<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'>
Maybe i could use vtkExtractGeometry combined with vtkImplicitFunction. But i don't know how to use the latter to create an Implicit Function for my purpose. So far i have a property for every cell in the grid with its centroid value. But i cannot make it as an implicit function..<br><br><hr id="stopSpelling"><br>
<meta http-equiv="Content-Type" content="text/html; charset=unicode">
<meta name="Generator" content="Microsoft SafeHTML">
<style>
.ExternalClass .ecxhmmessage P
{padding:0px;}
.ExternalClass body.ecxhmmessage
{font-size:10pt;font-family:Tahoma;}
</style>
Hello all,<br><br>i want to use a clipping plane and i found that vtkImplicitPlaneWidget or vtkImplicitPlaneWidge2 should do the job.<br>The problem is that i want the clipping NOT like <a class="ecxel" href="http://www.vtk.org/doc/nightly/html/classvtkClipPolyData.html" title="clip polygonal data with user-specified implicit function or input scalar data" target="_blank">vtkClipPolyData</a> which "cuts" through the cells of the dataset but like <a class="ecxel" href="http://www.vtk.org/doc/nightly/html/classvtkExtractGeometry.html" title="extract cells that lie either entirely inside or outside of a specified implicit function" target="_blank">vtkExtractGeometry</a>, which pulls out entire, uncut cells.<br>I tried in Paraview pipeline with Source-->Clip-->Extract cells by region which works in some way. What i want is to define whether the centroid (known) of a cell lies in so if it is in the "cut side" of the plane it is pulled out entire. Otherwise, it is not.<br>A second question does anyone know if the "Extract cells by region" function of Paraview is the <a class="ecxel" href="http://www.vtk.org/doc/nightly/html/classvtkExtractGeometry.html" title="extract cells that lie either entirely inside or outside of a specified implicit function" target="_blank">vtkExtractGeometry</a> class?<br><br>A Paraview screenshot: on the left is cut, on the right cells are pulled out entirely<br>http://yfrog.com/74cutorpulledoutentirelyj<br><br>                                           
<br>_______________________________________________
Powered by www.kitware.com
Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
Follow this link to subscribe/unsubscribe:
http://www.vtk.org/mailman/listinfo/vtkusers                                            </body>
</html>