[vtkusers] Volume rendering of vtkUnstructuredGrid

Mathieu Malaterre mathieu.malaterre at kitware.com
Thu Feb 24 11:32:41 EST 2005


	There is already another thread on vtkusers:


	There are examples on how to use a vtkUnstructuredGridVolumeRayCastMapper:


and tests:


	You can override the default RayCastfunction of 
vtkUnstructuredGridVolumeRayCastMapper, by using:

* f)

But keep in mind that vtkUnstructuredGridBunykRayCastFunction *is* the 
default RayCastFunction so you don't need anything fancy in your code to 
use it. Just instanciate the vtkUnstructuredGridVolumeRayCastMapper


jiksed wrote:
> No one responded to my last email. Now I cut my qestion short. Here are 
> a few errors I got
> while compiling my program:
> E2316: SetScalarModeToUseCellData() is not a member of
>            vtkUnstructuredGridVolumeRayCastMapper
> E2316: SetVolumeRayCastFunction() is not a member of
>             vtkUnstructuredGridVolumeRayCastMapper
> There is no example or test about how to use 
> vtkUnstructuredGridBunykRayCastFunction.
> IntermixedUnstructuredGrid.tcl did not use any raycast function either. 
> Any comments
> about this? I am using VTK4.4 on WinXP.
> Will someone please tell me what's wrong? Thanks a bunch.
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.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

More information about the vtkusers mailing list