RE; [vtkusers] Volume Rendering examples for VTK 5.0

Samuel Barnes ironictoo at
Fri Jun 16 12:42:12 EDT 2006

Did you set the volume rendering flag to True in CMake when you built it?

scsrsao at wrote: Hi... I'm having the same linking problem and I already included the
vtkVolumeRendering.lib together with the other libs for vtk... any other idea
of why this may be happening???


>Did you include the vtkVolumeRendering.lib?  That is new in 5.0.
>>Runar Lyngset  wrote: Does anyone have an example of
>>Volume Rendering a dataset in VTK 5.0. If
>>so, I would very much like to see it since I'm having problems using the
>>ray-casting components which worked fine for me in previous VTK versions.
>>I get linking errors when i try to build the program using
>>vtkVolumeRayCastMapper and vtkVolumeRayCastCompositeFunction. I get
>>similar errors when using other volume rendering components such as
>>vtkVolumeTextureMapper.. Other VTK components work fine in my application.
>>Linking errors in Visual Studio 2005:
>>error LNK2019: unresolved external symbol "__declspec(dllimport) public:
>>static class vtkVolumeRayCastMapper * __cdecl
>>(__imp_?New at vtkVolumeRayCastMapper@@SAPAV1 at XZ) referenced in function
>>"public: virtual void __thiscall VMainView::fileOpen(void)"
>>(?fileOpen at VMainView@@UAEXXZ)
>>vmainview.obj : error LNK2019: unresolved external symbol
>>"__declspec(dllimport) public: static class
>>vtkVolumeRayCastCompositeFunction * __cdecl
>>(__imp_?New at vtkVolumeRayCastCompositeFunction@@SAPAV1 at XZ) referenced in
>>function "public: virtual void __thiscall VMainView::fileOpen(void)"
>>(?fileOpen at VMainView@@UAEXXZ)

This is the private VTK discussion list. 
Please keep messages on-topic. Check the FAQ at:
Follow this link to subscribe/unsubscribe:

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the vtkusers mailing list