<div> </div>
<div>I'm not quite certain what you mean, but I have cleaned the project I'm running so there shouldn't be anything old left over. Additionally the master branch of vtk is installed to a new directory, which is where all of my code is now linking to.</div>
<div> </div>
<blockquote class="threadBlockQuote" style="border-left: 2px solid #C2C2C2; padding-left: 3px; margin-left: 4px;">--------- Original Message ---------
<div>Subject: Re: Re: [vtkusers] 3D volume camera clipping help<br />From: "Aashish Chaudhary" <aashish.chaudhary@kitware.com><br />Date: 6/28/18 11:36 am<br />To: mark.ostroot@lickenbrocktech.com<br />Cc: vtkusers@vtk.org<br /><br />
<div dir="ltr">would it be possible for you to do clear build (remove any other cache) and get rid of old build files? </div>
<br />
<div class="gmail_quote">
<div dir="ltr">On Thu, Jun 28, 2018 at 2:07 PM <<a href="mailto:mark.ostroot@lickenbrocktech.com">mark.ostroot@lickenbrocktech.com</a>> wrote:</div>
<blockquote class="gmail_quote" style="margin: 0 0 0 .8ex; border-left: 1px #ccc solid; padding-left: 1ex;">
<div>Hello Aashish,</div>
<div> </div>
<div>I am getting some unresolved external symbols from the new libraries, specifically some issues with vtk volume set property and qvtkopenglwidget. I'm fairly certain I'm linking to the new libraries correctly, maybe I'm missing something obvious?</div>
<div> </div>
<div>Some excerpts from visual studio:</div>
<div>
<p>error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __cdecl vtkVolume::SetProperty(class vtkVolumeProperty *)" (__imp_?SetProperty@vtkVolume@@QEAAXPEAVvtkVolumeProperty@@@Z) referenced in function "private: void __cdecl QTVTKRender::InitializeRendering(void)" (?InitializeRendering@QTVTKRender@@AEAAXXZ)</p>
<p>error LNK2019: unresolved external symbol "__declspec(dllimport) public: class vtkVolumeProperty * __cdecl vtkVolume::GetProperty(void)" (__imp_?GetProperty@vtkVolume@@QEAAPEAVvtkVolumeProperty@@XZ) referenced in function "public: void __cdecl QTVTKRender::updateShading(class QAction *)" (?updateShading@QTVTKRender@@QEAAXPEAVQAction@@@Z)</p>
<p>error LNK2001: unresolved external symbol "public: virtual class QVTKInteractor * __cdecl QVTKOpenGLWidget::GetInteractor(void)" (?GetInteractor@QVTKOpenGLWidget@@UEAAPEAVQVTKInteractor@@XZ)<br />error LNK2001: unresolved external symbol "protected: virtual void __cdecl QVTKOpenGLWidget::cleanupContext(void)" (?cleanupContext@QVTKOpenGLWidget@@MEAAXXZ)<br />error LNK2001: unresolved external symbol "protected: virtual void __cdecl QVTKOpenGLWidget::initializeGL(void)" (?initializeGL@QVTKOpenGLWidget@@MEAAXXZ)<br />2> SelectionTool.cpp</p>
<p>error LNK2001: unresolved external symbol "protected: virtual void __cdecl QVTKOpenGLWidget::mouseDoubleClickEvent(class QMouseEvent *)" (?mouseDoubleClickEvent@QVTKOpenGLWidget@@MEAAXPEAVQMouseEvent@@@Z)</p>
<p>error LNK2001: unresolved external symbol "protected: virtual void __cdecl QVTKOpenGLWidget::mouseMoveEvent(class QMouseEvent *)" (?mouseMoveEvent@QVTKOpenGLWidget@@MEAAXPEAVQMouseEvent@@@Z)<br />error LNK2001: unresolved external symbol "protected: virtual void __cdecl QVTKOpenGLWidget::mousePressEvent(class QMouseEvent *)" (?mousePressEvent@QVTKOpenGLWidget@@MEAAXPEAVQMouseEvent@@@Z)<br />error LNK2001: unresolved external symbol "protected: virtual void __cdecl QVTKOpenGLWidget::mouseReleaseEvent(class QMouseEvent *)" (?mouseReleaseEvent@QVTKOpenGLWidget@@MEAAXPEAVQMouseEvent@@@Z)<br />error LNK2001: unresolved external symbol "protected: virtual void __cdecl QVTKOpenGLWidget::paintGL(void)" (?paintGL@QVTKOpenGLWidget@@MEAAXXZ)<br />error LNK2001: unresolved external symbol "protected: virtual bool __cdecl QVTKOpenGLWidget::renderVTK(void)" (?renderVTK@QVTKOpenGLWidget@@MEAA_NXZ)<br />error LNK2001: unresolved external symbol "protected: virtual void __cdecl QVTKOpenGLWidget::resizeGL(int,int)" (?resizeGL@QVTKOpenGLWidget@@MEAAXHH@Z)</p>
</div>
<div>
<p>Thanks in advance,</p>
<p>Mark O</p>
</div>
<blockquote class="m_6353905614534728798threadBlockQuote" style="border-left: 2px solid #c2c2c2; padding-left: 3px; margin-left: 4px;">--------- Original Message ---------
<div>Subject: RE: Re: [vtkusers] 3D volume camera clipping help<br />From: <a href="mailto:mark.ostroot@lickenbrocktech.com" target="_blank">mark.ostroot@lickenbrocktech.com</a><br />Date: 6/27/18 1:39 pm<br />To: "Aashish Chaudhary" <<a href="mailto:aashish.chaudhary@kitware.com" target="_blank">aashish.chaudhary@kitware.com</a>><br />Cc: <a href="mailto:vtkusers@vtk.org" target="_blank">vtkusers@vtk.org</a><br /><br />
<div>Dear Aashish,</div>
<div>I am grabbing the latest from master and compiling from source, I will test to see if this fixes my issue and let you know. </div>
<div> </div>
<div>-Mark </div>
<div> </div>
<blockquote class="m_6353905614534728798threadBlockQuote" style="border-left: 2px solid #c2c2c2; padding-left: 3px; margin-left: 4px;">--------- Original Message ---------
<div>Subject: Re: [vtkusers] 3D volume camera clipping help<br />From: "Aashish Chaudhary" <<a href="mailto:aashish.chaudhary@kitware.com" target="_blank">aashish.chaudhary@kitware.com</a>><br />Date: 6/27/18 12:48 pm<br />To: <a href="mailto:mark.ostroot@lickenbrocktech.com" target="_blank">mark.ostroot@lickenbrocktech.com</a><br />Cc: <a href="mailto:vtkusers@vtk.org" target="_blank">vtkusers@vtk.org</a><br /><br />
<div dir="ltr">Dear Mark,
<div> </div>
<div>We had a bug which could have resulted in what you are observing. Would it be possible for you to try current master and see if this goes away? </div>
<div> </div>
<div>- Aashish<br /><br />
<div class="gmail_quote">
<div dir="ltr">On Wed, Jun 27, 2018 at 3:39 PM <<a href="mailto:mark.ostroot@lickenbrocktech.com" target="_blank">mark.ostroot@lickenbrocktech.com</a>> wrote:</div>
<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>
<div> </div>
<div> </div>
_______________________________________________<br /> Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br /> <br /> Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br /> <br /> Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" rel="noreferrer" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br /> <br /> Search the list archives at: <a href="http://markmail.org/search/?q=vtkusers" rel="noreferrer" target="_blank">http://markmail.org/search/?q=vtkusers</a><br /> <br /> Follow this link to subscribe/unsubscribe:<br /> <a href="https://public.kitware.com/mailman/listinfo/vtkusers" rel="noreferrer" target="_blank">https://public.kitware.com/mailman/listinfo/vtkusers</a></blockquote>
</div>
</div>
</div>
</div>
</blockquote>
</div>
</blockquote>
</blockquote>
</div>
</div>
</blockquote>