VTK
|
00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: vtkPSurfaceLICPainter.h 00005 00006 Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen 00007 All rights reserved. 00008 See Copyright.txt or http://www.kitware.com/Copyright.htm 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 =========================================================================*/ 00023 #ifndef __vtkPSurfaceLICPainter_h 00024 #define __vtkPSurfaceLICPainter_h 00025 00026 #include "vtkSurfaceLICPainter.h" 00027 #include "vtkRenderingParallelLICModule.h" // For export macro 00028 #include <string> // for string 00029 00030 class vtkPainterCommunicator; 00031 00032 class VTKRENDERINGPARALLELLIC_EXPORT vtkPSurfaceLICPainter : public vtkSurfaceLICPainter 00033 { 00034 public: 00035 static vtkPSurfaceLICPainter* New(); 00036 vtkTypeMacro(vtkPSurfaceLICPainter, vtkSurfaceLICPainter); 00037 virtual void PrintSelf(ostream& os, vtkIndent indent); 00038 00043 virtual void WriteTimerLog(const char *fileName); 00044 00045 protected: 00046 vtkPSurfaceLICPainter(); 00047 ~vtkPSurfaceLICPainter(); 00048 00049 //BTX 00051 00054 virtual void GetGlobalMinMax( 00055 vtkPainterCommunicator *comm, 00056 float &min, 00057 float &max); 00059 00061 00065 virtual vtkPainterCommunicator *CreateCommunicator(int include); 00066 //ETX 00068 00071 virtual bool NeedToUpdateCommunicator(); 00072 00074 00078 virtual void StartTimerEvent(const char *name); 00079 virtual void EndTimerEvent(const char *name); 00081 00082 private: 00083 std::string LogFileName; 00084 00085 private: 00086 vtkPSurfaceLICPainter(const vtkPSurfaceLICPainter&); // Not implemented. 00087 void operator=(const vtkPSurfaceLICPainter&); // Not implemented. 00088 }; 00089 00090 #endif