Dear All,<br style=""><br style="">I have a problem with vtkCutter. I don&#39;t know how to use vtkCutter with<br style="">unstructed grid. I created below presented program :<br style=""><br style="">vtkPolyDataMapper *cutMapper=vtkPolyDataMapper::New();<br style="">
vtkStripper *cutStripper= vtkStripper::New(); vtkPolyDataNormals<br style="">*cutpoly=vtkPolyDataNormals::New();<br style="">cut = vtkCutter::New();<br style="">cut-&gt;SetInput(ugrid);<br style="">cut-&gt;SetValue(0,0.5);<br style="">
vtkActor *Acut = vtkActor::New();<br style="">cutpoly-&gt;SetInput(cut-&gt;GetOutput());<br style="">cutStripper-&gt;SetInput(cutpoly-&gt;GetOutput());<br style="">cutMapper-&gt;SetInput(cutStripper-&gt;GetOutput());<br style="">
Acut-&gt;SetMapper(cutMapper);<br style="">vtkWindow1-&gt;GetRenderer()-&gt;AddActor(Acut);<br style="">vtkWindow1-&gt;Invalidate();<br style=""><br style="">but I cannot see any change in my object.<br style=""><br style="">
Could somebody be so kind to point out what&#39;s wrong with my code?<br style=""><br style="">I would be very grateful for any suggestion what I should modify or check.<br style=""><br style="">Thanks in advance and<br style="">
Best regards<br style=""><br style="">Tomasz