<div>Hello,</div>
<div> </div>
<div>I made an example you want, but it may not be.</div>
<div>
<div>If not, repost again, then other will help you.</div></div>
<div> </div>
<div>Jinyoung</div>
<div> </div>
<div>--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------</div>
<div> // data load<br> vtkSmartPointer&lt;vtkStructuredPointsReader&gt; reader = vtkSmartPointer&lt;vtkStructuredPointsReader&gt;::New();<br> reader-&gt;SetFileName(&quot;test.vtk&quot;);<br> reader-&gt;Update();</div>
<div> // MC is used to display in 3D<br> vtkSmartPointer&lt;vtkMarchingCubes&gt; cubes = vtkSmartPointer&lt;vtkMarchingCubes&gt;::New();<br> cubes-&gt;SetInputConnection(reader-&gt;GetOutputPort());<br> cubes-&gt;ComputeNormalsOn();<br>
 cubes-&gt;ComputeGradientsOn();<br> cubes-&gt;SetValue(0, 20);<br> cubes-&gt;Update();</div>
<div>// create a plane, and specify it</div>
<div> vtkSmartPointer&lt;vtkPlane&gt; plane = vtkSmartPointer&lt;vtkPlane&gt;::New();<br> plane-&gt;SetOrigin(100,0,0);<br> plane-&gt;SetNormal(1,0,0);</div>
<div>// create a cutter</div>
<div> vtkSmartPointer&lt;vtkCutter&gt; cutter = vtkSmartPointer&lt;vtkCutter&gt;::New();<br> cutter-&gt;SetInputConnection(cubes-&gt;GetOutputPort());<br> cutter-&gt;SetCutFunction(plane);<br> cutter-&gt;GenerateCutScalarsOn();<br>
 cutter-&gt;SetValue(0, 0.5);</div>
<div> // create a mapper<br> vtkSmartPointer&lt;vtkPolyDataMapper&gt; mapper = vtkSmartPointer&lt;vtkPolyDataMapper&gt;::New();<br> mapper-&gt;SetInputConnection(cutter-&gt;GetOutputPort());<br> mapper-&gt;ScalarVisibilityOn(); <br>
 mapper-&gt;Update();</div>
<div> </div>