00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037
00038
00039
00054 #ifndef __vtkRayCaster_h
00055 #define __vtkRayCaster_h
00056
00057 #include "vtkObject.h"
00058 #include "vtkObjectFactory.h"
00059
00060 class VTK_RENDERING_EXPORT vtkRayCaster : public vtkObject
00061 {
00062 public:
00063 static vtkRayCaster *New()
00064 {
00065
00066 vtkObject* ret = vtkObjectFactory::CreateInstance("vtkRayCaster");
00067 if(ret)
00068 {
00069 return (vtkRayCaster*)ret;
00070 }
00071
00072
00073 return new vtkRayCaster;
00074 };
00075
00076 vtkTypeMacro(vtkRayCaster,vtkObject);
00077
00078 #ifndef VTK_REMOVE_LEGACY_CODE
00079
00080 float *GetPerspectiveViewRays()
00081 {VTK_LEGACY_METHOD(GetPersepctiveViewRays,"4.0"); return NULL;};
00082
00083 void GetViewRaysSize( int size[2] )
00084 {VTK_LEGACY_METHOD(GetViewRaysSize,"4.0");};
00085
00086
00087 float *GetParallelStartPosition( void )
00088 {VTK_LEGACY_METHOD(GetParallelStartPosition,"4.0"); return NULL;};
00089
00090 float *GetParallelIncrements( void )
00091 {VTK_LEGACY_METHOD(GetParallelIncrements,"4.0"); return NULL;};
00092
00093
00094 void SetImageScale(int level, float scale)
00095 {VTK_LEGACY_METHOD(SetImageScale,"4.0");};
00096
00097 float GetImageScale(int level)
00098 {VTK_LEGACY_METHOD(GetImageScale,"4.0"); return 0.0;};
00099
00100 int GetImageScaleCount( void )
00101 {VTK_LEGACY_METHOD(GetImageScaleCount,"4.0"); return 0;};
00102
00103 void SetSelectedImageScaleIndex(int level, float scale)
00104 {VTK_LEGACY_METHOD(SetSelectedImageScaleIndex,"4.0");};
00105
00106 float GetSelectedImageScaleIndex(int level)
00107 {VTK_LEGACY_METHOD(GetSelectedImageScaleIndex,"4.0"); return 0.0;};
00108
00109 void SetViewRaysStepSize(int level, float scale)
00110 {VTK_LEGACY_METHOD(SetViewRaysStepSize,"4.0");};
00111
00112 float GetViewRaysStepSize(int level)
00113 {VTK_LEGACY_METHOD(GetViewRaysStepSize,"4.0");return 0.0;};
00114
00115 int GetAutomaticScaleAdjustment()
00116 {VTK_LEGACY_METHOD(GetAutomaticScaleAdjustment,"4.0");return 0;};
00117
00118 void AutomaticScaleAdjustmentOn( void )
00119 {VTK_LEGACY_METHOD(AutomaticScaleAdjustmentOn,"4.0");};
00120
00121 void AutomaticScaleAdjustmentOff( void )
00122 {VTK_LEGACY_METHOD(AutomaticScaleAdjustmentOff,"4.0");};
00123
00124 void SetAutomaticScaleLowerLimit(float scale)
00125 {VTK_LEGACY_METHOD(SetAutomaticScaleLowerLimit,"4.0");};
00126
00127 float GetAutomaticScaleLowerLimit()
00128 {VTK_LEGACY_METHOD(GetAutomaticScaleLowerLimit,"4.0"); return 0.0;};
00129
00130 void SetBilinearImageZoom(int val)
00131 {VTK_LEGACY_METHOD(SetBilinearImageZoom,"4.0");};
00132
00133 int GetBilinearImageZoom()
00134 {VTK_LEGACY_METHOD(GetBilinearImageZoom,"4.0"); return 0;};
00135
00136 void BilinearImageZoomOn()
00137 {VTK_LEGACY_METHOD(BilinearImageZoomOn,"4.0");};
00138
00139 void BilinearImageZoomOff()
00140 {VTK_LEGACY_METHOD(BilinearImageZoomOff,"4.0");};
00141
00142 float GetTotalRenderTime()
00143 {VTK_LEGACY_METHOD(GetTotalRenderTime,"4.0"); return 0.0;};
00144
00145 void SetNumberOfThreads(int val)
00146 {VTK_LEGACY_METHOD(SetNumberOfThreads,"4.0");};
00147
00148 int GetNumberOfThreads()
00149 {VTK_LEGACY_METHOD(GetNumberOfThreads,"4.0"); return 0;};
00150
00151 int GetNumberOfSamplesTaken()
00152 {VTK_LEGACY_METHOD(GetNumberOfSamplesTaken,"4.0"); return 0;};
00153 #endif
00154
00155 protected:
00156 vtkRayCaster() {};
00157 ~vtkRayCaster() {};
00158
00159 private:
00160 vtkRayCaster(const vtkRayCaster&);
00161 void operator=(const vtkRayCaster&);
00162 };
00163 #endif
00164
00165