[vtkusers] Volume Rendering examples for VTK 5.0

Samuel Barnes ironictoo at yahoo.com
Mon May 22 11:06:43 EDT 2006


Did you include the vtkVolumeRendering.lib?  That is new in 5.0.

Sam

Runar Lyngset <runarylv at stud.ntnu.no> 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 
vtkVolumeRayCastMapper::New(void)" 
(__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 
vtkVolumeRayCastCompositeFunction::New(void)" 
(__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: http://www.vtk.org/Wiki/VTK_FAQ
Follow this link to subscribe/unsubscribe:
http://www.vtk.org/mailman/listinfo/vtkusers

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20060522/515bc1fb/attachment.htm>


More information about the vtkusers mailing list