[vtk-developers] Decode normals

W. John neojohn75 at yahoo.com
Thu Feb 2 11:08:42 EST 2006


Hello,
    This is a question I submitted yesterday to the users mailing list and didn't get any answer.  Probably you guys know more about the source code and can help me with this simple question.
    One of the fields of the structure vtkVolumeRayCastStaticInfo is "ushort *EncodedNormals".  I'm doing some experiments with the RayCast function and need to get the actual direction vector for each voxel.
    How can I convert(decode) the staticInfo->EncodedNormals to the actual normal vector?
 
 Thanks in advance.
 --John
 
 

			
---------------------------------
 Yahoo! Autos. Looking for a sweet ride? Get pricing, reviews, & more on new and used cars.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20060202/330c1dd9/attachment.html>


More information about the vtk-developers mailing list