[Insight-users] problems with QuickView

Prathamesh Kulkarni prathameshmkulkarni at gmail.com
Tue Sep 20 12:28:26 EDT 2011


Hello,

I am trying  to render a volume using QuickView as given in
http://www.vtk.org/Wiki/ITK/Examples/QuickView . I have also built the
 ItkVtkGlue. Following is my code snippet:

        ImageType3D::Pointer data_ptr = getImageData();
QuickView viewer;
viewer.AddImage(data_ptr);
 viewer.Visualize();

I am getting the following error:

error C2784: 'void QuickView::AddImage(TImage *,bool,std::string)' : could
not deduce template argument for 'TImage *' from
'itk::SmartPointer<TObjectType>'

Any help would be appreciated.


Thanks,
Prathamesh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20110920/b2976504/attachment.htm>


More information about the Insight-users mailing list