[vtkusers] Volume rendering of vtkUnstructuredGrid
Moreland, Kenneth
kmorel at sandia.gov
Thu Feb 24 13:37:18 EST 2005
First error: I do not think the SetScalarModeToUseCellData method exists
in the 4.4 release of VTK. At the time, only point data was supported
(and if I recall you could only use the active scalars). The CVS trunk
has this method and the ability to render cell data.
Second error: To reiterate what Mathieu said, the name of the method is
SetRayCastFunction, not SetVolumeRayCastFunction. However, there is no
reason to call this since a default
vtkUnstructuredGridBunykRayCastFunction is created for you and that is
the only concrete implementation of
vtkUnstructuredGridVolumeRayCastFunction available.
-Ken
**** Kenneth Moreland
*** Sandia National Laboratories
***********
*** *** *** email: kmorel at sandia.gov
** *** ** phone: (505) 844-8919
*** fax: (505) 845-0833
________________________________
From: vtkusers-bounces at vtk.org [mailto:vtkusers-bounces at vtk.org]
On Behalf Of jiksed
Sent: Wednesday, February 23, 2005 5:01 PM
To: vtkusers at vtk.org
Subject: Re: [vtkusers] Volume rendering of vtkUnstructuredGrid
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20050224/5f9e7724/attachment.htm>
More information about the vtkusers
mailing list