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