Rendering/vtkVolumeRayCastStructures.h
Go to the documentation of this file.00001 
00002 
00003 
00004 
00005 
00006 
00007 
00008 
00009 
00010 
00011 
00012 
00013 
00014 
00015 
00026 #ifndef __vtkVolumeRayCastStructures_h
00027 #define __vtkVolumeRayCastStructures_h
00028 
00029 class vtkVolume;
00030 
00031 typedef struct 
00032 {
00033   
00034   vtkVolume                    *Volume;
00035 
00036   
00037   float                        WorldToVolumeMatrix[16];
00038   float                        VolumeToWorldMatrix[16];
00039   float                        ViewToVolumeMatrix[16];
00040 
00041   
00042   
00043   float                        CenterDistance;
00044 
00045   
00046   
00047   int                          ScalarDataType;
00048   void                         *ScalarDataPointer;
00049   int                          DataIncrement[3];
00050   int                          DataSize[3];
00051   float                        DataSpacing[3];
00052   float                        DataOrigin[3];
00053 
00054   
00055   int                          Shading;
00056   int                          ColorChannels;
00057   float                        Color[3];
00058   int                          InterpolationType;
00059   float                        RGBTextureCoefficient;
00060 
00061   
00062   
00063   float                        *RedDiffuseShadingTable;
00064   float                        *GreenDiffuseShadingTable;
00065   float                        *BlueDiffuseShadingTable;
00066   float                        *RedSpecularShadingTable;
00067   float                        *GreenSpecularShadingTable;
00068   float                        *BlueSpecularShadingTable;
00069 
00070   
00071   
00072   
00073   unsigned char                *RGBDataPointer;
00074   int                          RGBDataIncrement[3];
00075   int                          RGBDataSize[3];
00076   float                        RGBDataSpacing[3];
00077   float                        RGBDataOrigin[3];
00078 
00079   
00080   unsigned short               *EncodedNormals;
00081   unsigned char                *GradientMagnitudes;
00082 
00083 } vtkRayCastVolumeInfo;
00084 
00085 
00086 #endif