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
00016
00039 #ifndef __vtkVolumeRayCastStructures_h
00040 #define __vtkVolumeRayCastStructures_h
00041
00042 class vtkVolume;
00043
00044 typedef struct
00045 {
00046
00047 vtkVolume *Volume;
00048
00049
00050 float WorldToVolumeMatrix[16];
00051 float VolumeToWorldMatrix[16];
00052 float ViewToVolumeMatrix[16];
00053
00054
00055
00056 float CenterDistance;
00057
00058
00059
00060 int ScalarDataType;
00061 void *ScalarDataPointer;
00062 int DataIncrement[3];
00063 int DataSize[3];
00064 float DataSpacing[3];
00065 float DataOrigin[3];
00066
00067
00068 int Shading;
00069 int ColorChannels;
00070 float Color[3];
00071 int InterpolationType;
00072 float RGBTextureCoefficient;
00073
00074
00075
00076 float *RedDiffuseShadingTable;
00077 float *GreenDiffuseShadingTable;
00078 float *BlueDiffuseShadingTable;
00079 float *RedSpecularShadingTable;
00080 float *GreenSpecularShadingTable;
00081 float *BlueSpecularShadingTable;
00082
00083
00084
00085
00086 unsigned char *RGBDataPointer;
00087 int RGBDataIncrement[3];
00088 int RGBDataSize[3];
00089 float RGBDataSpacing[3];
00090 float RGBDataOrigin[3];
00091
00092
00093 unsigned short *EncodedNormals;
00094 unsigned char *GradientMagnitudes;
00095
00096 } vtkRayCastVolumeInfo;
00097
00098
00099 #endif