Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

Servers/ServerManager/vtkSMIceTRenderModuleProxy.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   ParaView
00004   Module:    $RCSfile: vtkSMIceTRenderModuleProxy.h,v $
00005 
00006   Copyright (c) Kitware, Inc.
00007   All rights reserved.
00008   See Copyright.txt or http://www.paraview.org/HTML/Copyright.html for details.
00009 
00010      This software is distributed WITHOUT ANY WARRANTY; without even
00011      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
00012      PURPOSE.  See the above copyright notice for more information.
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   // Indicates if we should locally render.
00062   // Tile displays always locally render when using LOD (during Interactive Render).
00063   // Flag stillRender is set when this decision is to be made during StillRender
00064   // else it's 0 (for InteractiveRender);
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&); // Not implemented.
00091   void operator=(const vtkSMIceTRenderModuleProxy&); // Not implemented.
00092 };
00093 
00094 #endif

Generated on Tue May 30 12:31:48 2006 for ParaView by doxygen 1.3.5