<div dir="ltr"><br><div>Hello,</div><div><br></div><div>I am trying to render a volume using QuickView as given in <a href="http://www.vtk.org/Wiki/ITK/Examples/QuickView" target="_blank">http://www.vtk.org/Wiki/ITK/Examples/QuickView</a> . I have also built the ItkVtkGlue. Following is my code snippet:</div>
<div><br></div><div><div> ImageType3D::Pointer data_ptr = getImageData();</div><div><span style="white-space:pre-wrap">        </span>QuickView viewer;</div><div><span style="white-space:pre-wrap">        </span>viewer.AddImage(data_ptr);</div>
<div><span style="white-space:pre-wrap">        </span>viewer.Visualize();</div></div><div><br></div><div>I am getting the following error:</div><div><br></div><div><div>error C2784: 'void QuickView::AddImage(TImage *,bool,std::string)' : could not deduce template argument for 'TImage *' from 'itk::SmartPointer<TObjectType>'</div>
</div><div><br></div><div>Any help would be appreciated.</div><div><br></div><div><br></div><div>Thanks,</div><div>Prathamesh</div></div>