<div dir="ltr"><div class="im" style="font-family:arial,sans-serif;font-size:13px"><span style="font-size:12.727272033691406px"><font color="#000000">Hi all,</font></span><div style="font-size:12.727272033691406px"><font color="#000000">I am new user of VTK and i am using VTK 6.0 wth C++</font></div>
</div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px"><font color="#000000">I want to figure out a way to crop vtkVolume with respectively to the given 6 planes</font></div><div class="" style="font-family:arial,sans-serif;font-size:13px">
<div id=":2vv" class="" tabindex="0"><font color="#000000"><img class="" src="https://mail.google.com/mail/u/0/images/cleardot.gif"></font></div></div><div class="im" style="font-family:arial,sans-serif;font-size:13px"><div style="font-size:12.727272033691406px">
<font color="#000000">I have try this,</font></div><div style="font-size:12.727272033691406px"><font color="#000000"><br></font></div><blockquote class="gmail_quote" style="font-size:12.727272033691406px;margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<font color="#000000"><b>vtkVolumeMapper* mapper = (vtkVolumeMapper*)( volume-&gt;GetMapper() );<br></b><b>mapper-&gt;CroppingOn();<br></b><b>mapper-&gt;SetCroppingRegionPlanes(planes );<br></b><b>mapper-&gt;SetCroppingRegionFlagsToSubVolume();</b></font></blockquote>
<div style="font-size:12.727272033691406px"><font color="#000000"><br></font></div><div style="font-size:12.727272033691406px"><font color="#000000"> </font></div><div style="font-size:12.727272033691406px"><font color="#000000">but the output quality is not good</font></div>
<div style="font-size:12.727272033691406px"><font color="#000000">Do you have any suggestions</font></div><div style="font-size:12.727272033691406px"><font color="#000000"><br></font></div><div style="font-size:12.727272033691406px">
<div><span style="color:rgb(0,0,0);font-size:12.727272033691406px">Thanks</span><br></div><div><span style="color:rgb(0,0,0);font-size:12.727272033691406px"> Chameera</span></div></div></div></div>