# Box clip with vtkTableBasedClipDataSet

**URL:** https://discourse.vtk.org/t/box-clip-with-vtktablebasedclipdataset/5906
**Category:** Support
**Created:** [June 2, 2021, 2:21am UTC](https://discourse.vtk.org/t/box-clip-with-vtktablebasedclipdataset/5906 "2021-06-02T02:21:33Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![KeK](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/k/a88e57/32.png) [@KeK](https://discourse.vtk.org/u/KeK)
#### Post date: [June 2, 2021, 2:21am UTC](https://discourse.vtk.org/t/box-clip-with-vtktablebasedclipdataset/5906/1 "2021-06-02T02:21:33Z")

</div>

I’m trying to clip an unstructuredgrid using vtkTableBasedClipDataSet. I use the unstructuredgrid as the input of vtkTableBasedClipDataSet and vtkbox as the clip function.

 ![module](https://discourse.vtk.org/uploads/default/original/2X/8/8e5dfff1216917c1309e221bb277ba3e812feede.jpeg)  
 ![QQ截图20210602095412](https://discourse.vtk.org/uploads/default/original/2X/c/cc8ffd16b5403e174b0fe4741d8ba6b6b04e5a42.jpeg)

The result doesn’t look like it’s interpolated, the algorithm just determine the position of the points and remove those cells whose points are outside the box. But when use the plane as clip function, it works.

 ![clipwithplane](https://discourse.vtk.org/uploads/default/original/2X/7/76192729e1c21bfc3330e8d12b582578e932684e.jpeg)  
Is it reasonable？Or some settings need to be specific.

I just started learning VTK, please forgive me.
