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 
33 {
34 public:
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 
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
vtkPSurfaceLICPainter::~vtkPSurfaceLICPainter
~vtkPSurfaceLICPainter()
vtkPSurfaceLICPainter::StartTimerEvent
virtual void StartTimerEvent(const char *name)
vtkPSurfaceLICPainter::CreateCommunicator
virtual vtkPainterCommunicator * CreateCommunicator(int include)
vtkSurfaceLICPainter
painter that performs LIC on the surface of arbitrary geometry.
Definition: vtkSurfaceLICPainter.h:73
vtkPSurfaceLICPainter::GetGlobalMinMax
virtual void GetGlobalMinMax(vtkPainterCommunicator *comm, float &min, float &max)
vtkTypeMacro
#define vtkTypeMacro(thisClass, superclass)
Definition: vtkSetGet.h:642
vtkPSurfaceLICPainter
parallel parts of the vtkSurfaceLICPainter
Definition: vtkPSurfaceLICPainter.h:33
vtkPSurfaceLICPainter::EndTimerEvent
virtual void EndTimerEvent(const char *name)
vtkRenderingParallelLICModule.h
max
#define max(a, b)
Definition: vtkX3DExporterFIWriterHelper.h:30
vtkPSurfaceLICPainter::vtkPSurfaceLICPainter
vtkPSurfaceLICPainter()
vtkgl::name
GLuint const GLchar * name
Definition: vtkgl.h:11983
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:39
vtkPSurfaceLICPainter::NeedToUpdateCommunicator
virtual bool NeedToUpdateCommunicator()
vtkPSurfaceLICPainter::WriteTimerLog
virtual void WriteTimerLog(const char *fileName)
vtkPainterCommunicator
Definition: vtkPainterCommunicator.h:32
vtkPSurfaceLICPainter::New
static vtkPSurfaceLICPainter * New()
vtkSurfaceLICPainter.h
vtkgl::string
GLsizei const GLchar ** string
Definition: vtkgl.h:12011
VTKRENDERINGPARALLELLIC_EXPORT
#define VTKRENDERINGPARALLELLIC_EXPORT
Definition: vtkRenderingParallelLICModule.h:15
vtkPSurfaceLICPainter::PrintSelf
virtual void PrintSelf(ostream &os, vtkIndent indent)