00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00021 #ifndef __vtkSMIceTRenderModuleProxy_h
00022 #define __vtkSMIceTRenderModuleProxy_h
00023
00024 #include "vtkSMIceTDesktopRenderModuleProxy.h"
00025
00026 class VTK_EXPORT vtkSMIceTRenderModuleProxy : public vtkSMIceTDesktopRenderModuleProxy
00027 {
00028 public:
00029 static vtkSMIceTRenderModuleProxy* New();
00030 vtkTypeRevisionMacro(vtkSMIceTRenderModuleProxy, vtkSMIceTDesktopRenderModuleProxy);
00031 void PrintSelf(ostream& os, vtkIndent indent);
00032
00034
00036 vtkSetMacro(CollectGeometryThreshold, double);
00037 vtkGetMacro(CollectGeometryThreshold, double);
00039
00041 virtual int IsRenderLocal() { return 0; }
00042
00044
00046 vtkSetMacro(StillReductionFactor, int);
00047 vtkGetMacro(StillReductionFactor, int);
00049
00050 protected:
00051 vtkSMIceTRenderModuleProxy();
00052 ~vtkSMIceTRenderModuleProxy();
00053
00054 double CollectGeometryThreshold;
00055 int StillReductionFactor;
00056
00059 virtual void InitializeCompositingPipeline();
00060
00061
00062
00063
00064
00065 virtual int GetLocalRenderDecision(unsigned long totalMemory, int stillRender);
00066
00067 virtual void InteractiveRender();
00068 virtual void StillRender();
00069
00071
00073 virtual void BeginStillRender();
00074 virtual void EndStillRender();
00076
00077 virtual void BeginInteractiveRender();
00078 virtual void EndInteractiveRender();
00079
00083 int GetSuppressGeometryCollectionDecision();
00084
00087 void ChooseSuppressGeometryCollection();
00088
00089 private:
00090 vtkSMIceTRenderModuleProxy(const vtkSMIceTRenderModuleProxy&);
00091 void operator=(const vtkSMIceTRenderModuleProxy&);
00092 };
00093
00094 #endif