VTK
vtkPSurfaceLICPainter.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkPSurfaceLICPainter.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
23 #ifndef vtkPSurfaceLICPainter_h
24 #define vtkPSurfaceLICPainter_h
25 
26 #include "vtkSurfaceLICPainter.h"
27 #include "vtkRenderingParallelLICModule.h" // For export macro
28 #include <string> // for string
29 
31 
32 class VTKRENDERINGPARALLELLIC_EXPORT vtkPSurfaceLICPainter : public vtkSurfaceLICPainter
33 {
34 public:
35  static vtkPSurfaceLICPainter* New();
37  virtual void PrintSelf(ostream& os, vtkIndent indent);
38 
43  virtual void WriteTimerLog(const char *fileName);
44 
45 protected:
48 
49  //BTX
51 
54  virtual void GetGlobalMinMax(
56  float &min,
57  float &max);
59 
61 
65  virtual vtkPainterCommunicator *CreateCommunicator(int include);
66  //ETX
68 
71  virtual bool NeedToUpdateCommunicator();
72 
74 
78  virtual void StartTimerEvent(const char *name);
79  virtual void EndTimerEvent(const char *name);
81 
82 private:
83  std::string LogFileName;
84 
85 private:
86  vtkPSurfaceLICPainter(const vtkPSurfaceLICPainter&); // Not implemented.
87  void operator=(const vtkPSurfaceLICPainter&); // Not implemented.
88 };
89 
90 #endif
parallel parts of the vtkSurfaceLICPainter
void PrintSelf(ostream &os, vtkIndent indent)
virtual void EndTimerEvent(const char *)
virtual void GetGlobalMinMax(vtkPainterCommunicator *, float &, float &)
a simple class to control print indentation
Definition: vtkIndent.h:38
painter that performs LIC on the surface of arbitrary geometry.
static vtkSurfaceLICPainter * New()
virtual bool NeedToUpdateCommunicator()
virtual void WriteTimerLog(const char *)
virtual void StartTimerEvent(const char *)
#define max(a, b)