[vtkusers] vtkVolumeRayCastMapper under vtk 4.2

Kenneth Gage kenneth.gage at gmail.com
Sun Dec 5 22:17:40 EST 2004

Juan -

I've had this problem a few times myself - take a look at the
following link in the VTK FAQ and see if this clears up the problem.



> When trying to compile it yields the following error message:  "no matching
> function for call to
> `vtkVolumeRayCastMapper::SetInput(vtkStructuredPoints*)'
> /usr/local/include/vtk/vtkVolumeMapper.h:59: candidates are: virtual void
>   vtkVolumeMapper::SetInput(vtkImageData*)"
> I've double checked my code, and it's almost a carbon copy of the original
> written in tcl, so I suppose that in vtk 4.2.2 the function
> SetInput(vtkStructuredPoints*) in vtkVolumeRayCastMapper was dropped for
> SetInput(vtkImageData*).
> Is this correct?
> How can it be solved?
> I need to apply ray casting to a structured grid, so I used a structured
> grid reader, but now  I don't know how to use vtkVolumeRayCasting mapper on
> it.
> What shall I do?
> Cheers.
> Juan
> _________________________________________________________________
> Don't just search. Find. Check out the new MSN Search!
> http://search.msn.com/
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers

Kenneth Gage
MD-PhD Student
McGowan Institute for Regenerative Medicine
University of Pittsburgh
Pittsburgh, PA 15203-2155

More information about the vtkusers mailing list