[vtkusers] How to acces to gradient data in a volume mapper

vincent elkouby vincent_elkouby at yahoo.fr
Mon Feb 18 04:07:11 EST 2008


some one does know how to access to gradient data in a vtkVolume Mapper?

I use a vtkFixedPointVolumeRayCastMapper. This class compute the volume gradient to render the volume. But I would like to access to the gradient data to filter it. There is to methods to get attributes from this class named: 

      unsigned short **gradNormal=volMapper->GetGradientNormal();
      unsigned char **grad       =volMapper->GetGradientMagnitude();

But it's doesn't work or I don't know how it works. The both pointers are null.

PS: My soft is working.

Yahoo! Mail : un mail innovant avec Messenger compatible Windows Live + stockage illimité. http://mail.yahoo.fr
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20080218/e794953b/attachment.htm>

More information about the vtkusers mailing list