<div dir="ltr"><div>Hi Mark,</div><div><br></div><div>One possible cause of this issue is that the background (or air) value in CT is -1000 while the default background value for vtkImageReslice is zero. Try using SetBackgroundLevel(-1000.0) when you reslice the data to see if that fixes the problem. </div><div><br></div><div> - David</div><br><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jun 27, 2018 at 1:39 PM, <span dir="ltr"><<a href="mailto:mark.ostroot@lickenbrocktech.com" target="_blank">mark.ostroot@lickenbrocktech.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>Hello,</div>
<div> </div>
<div>I have a 3D volume of some CT Data that works fine at the original aspect Ratio. I have some code that adjusts the aspect ratio of the volume by using the VtkReSlicer. Which works well for applying a new aspect ratio. My issue is that whenever my aspect ratio is non-Cubic I get some clipping of my volume at certain angles when it is being rotated around. I have tried using the "ResetCameraClippingRange" function, but this seems to have no effect on my Rendered volume. I know that the clipping range bounds are computed from the actor dimensions and they don't seem to change when I change the aspect ratio. Does anyone have any ideas on what I may be missing?</div>
<div> </div>
<div> </div>
<div>Some noteworthy information:</div>
<div>C++ application</div>
<div>VTK version 8.1.1</div>
<div>Render window is a QT openGL Widget</div>
<div> </div>
<div>Thanks in advance,</div>
<div>Mark O</div></blockquote></div></div></div>