[Insight-users] How to get SOViewer ?

Karthik Krishnan Karthik.Krishnan at kitware.com
Mon Feb 13 10:04:02 EST 2006


Hmm looks like soviewer dashboard isn't against VTK cvs. Those are bugs

Add the lines
#include "vtkImageData.h"
to the three source files below and the errors should disappear.

-karthik

wordon wrote:

> Hi,Mathieu:
> Thanks for your help,I get the source code now.
> But when I build it with VC 6.0, it has three error as below:
>
> Is it meaning that my VKT or FLTK is not correct?
> Else,if I want to buid an integrated environment with ITK,VTK,FLTK and 
> SOViewer,
> What cache value I should do that when I building ITK,VTK,FLTK and 
> SOViewer  with CMake?
>
>
> Thanks.
> ===================ERROR=======================
> sovPlaneVTKRenderMethod3D.cxx
> D:\CVS_user\SOViewer\SOViewer\RenderMethod\VTK\3D\sovPlaneVTKRenderMethod3D.cxx(80) 
> : error C2664: 'SetInput' : cannot convert parameter 1 from 'class 
> vtkDataObject *' to 'class vtkImageData *'
> Types pointed to are unrelated; conversion requires reinterpret_cast, 
> C-style cast or function-style cast
>
> sovSphereVTKRenderMethod3D.cxx
> D:\CVS_user\SOViewer\SOViewer\RenderMethod\VTK\3D\sovPlaneVTKRenderMethod3D.cxx(69) 
> : error C2664: 'SetInput' : cannot convert parameter 1 from 'class 
> vtkDataObject *' to 'class vtkImageData *'
> Types pointed to are unrelated; conversion requires reinterpret_cast, 
> C-style cast or function-style cast
>
> sovSphereVTKRenderMethodSlicer.cxx
> D:\CVS_user\SOViewer\SOViewer\RenderMethod\VTK\Slicer\sovSphereVTKRenderMethodSlicer.cxx(93) 
> : error C2664: 'SetInput' : cannot convert parameter 1 from 'class 
> vtkDataObject *' to 'class vtkImageData *'
> Types pointed to are unrelated; conversion requires reinterpret_cast, 
> C-style cast or function-style cast
> ====================ERROR==========================
>
>
> 2006/2/13, Mathieu Malaterre < mathieu.malaterre at kitware.com 
> <mailto:mathieu.malaterre at kitware.com>>:
>
>     Wordon,
>
>             You can find the CVS at:
>
>     http://www.vtk.org/Wiki/SOViewer
>
>     and more info can be found at:
>
>     http://www.vtk.org/Wiki/KWWidgets/Examples#SOViewer
>
>     We will update the old page at:
>     http://caddlab.rad.unc.edu/software/SOViewer/index.htm
>     in order not to confuse users.
>
>     Mathieu
>
>     wordon wrote:
>     > Hi,all:
>     > I want to get the SOViewer source code from CVS.
>     > I am using TortoiseCVS and type
>     > ":pserver:anonymous at degas.rad.unc.edu :/cvsroot" in the CVSROOT
>     field and
>     > click OK..
>     > After these action,It has some file in the itkUNC directory.
>     > But it can't find SOViewer source code in there.
>     > I check my checkout window in TortoiseCVS,it has some message as
>     below:
>     >
>     > In D:\CVS_user: "C:\Program Files\TortoiseCVS\cvs.exe" "-q"
>     "checkout"
>     > "-P" "itkUNC"
>     > CVSROOT=:pserver:anonymous at degas.rad.unc.edu:/cvsroot
>     >
>     > cvs server: cannot open /dev/null/.cvsignore: Not a directory
>     > cvs server: cannot open directory /cvsroot/itkUNC/Private:
>     Permission denied
>     > cvs server: skipping directory itkUNC/Private
>     >
>     > Success, CVS operation completed
>     >
>     > It seems that can't find some directory.
>     >
>     > so ....Can anybody tell me ..? Is it right to get the SOViewer
>     source code?
>     >
>     > Thanks a lot.   :)
>     >
>     >
>     >
>     >
>     ------------------------------------------------------------------------
>     >
>     > _______________________________________________
>     > Insight-users mailing list
>     > Insight-users at itk.org <mailto:Insight-users at itk.org>
>     > http://www.itk.org/mailman/listinfo/insight-users
>
>
>------------------------------------------------------------------------
>
>_______________________________________________
>Insight-users mailing list
>Insight-users at itk.org
>http://www.itk.org/mailman/listinfo/insight-users
>  
>


More information about the Insight-users mailing list