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 =========================================================================*/
24 #ifndef vtkPSurfaceLICPainter_h
25 #define vtkPSurfaceLICPainter_h
26 
27 #include "vtkSurfaceLICPainter.h"
28 #include "vtkRenderingParallelLICModule.h" // For export macro
29 #include <string> // for string
30 
32 
33 class VTKRENDERINGPARALLELLIC_EXPORT vtkPSurfaceLICPainter : public vtkSurfaceLICPainter
34 {
35 public:
36  static vtkPSurfaceLICPainter* New();
38  void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
39 
46  virtual void WriteTimerLog(const char *fileName);
47 
48 protected:
51 
57  virtual void GetGlobalMinMax(
59  float &min,
60  float &max);
61 
68  virtual vtkPainterCommunicator *CreateCommunicator(int include);
69 
74  virtual bool NeedToUpdateCommunicator();
75 
77 
83  virtual void StartTimerEvent(const char *name);
84  virtual void EndTimerEvent(const char *name);
86 
87 private:
88  std::string LogFileName;
89 
90 private:
91  vtkPSurfaceLICPainter(const vtkPSurfaceLICPainter&) VTK_DELETE_FUNCTION;
92  void operator=(const vtkPSurfaceLICPainter&) VTK_DELETE_FUNCTION;
93 };
94 
95 #endif
vtkSurfaceLICPainter
painter that performs LIC on the surface of arbitrary geometry.
Definition: vtkSurfaceLICPainter.h:73
vtkSurfaceLICPainter::StartTimerEvent
virtual void StartTimerEvent(const char *)
Methods used for parallel benchmarks.
Definition: vtkSurfaceLICPainter.h:511
vtkPSurfaceLICPainter
parallel parts of the vtkSurfaceLICPainter
Definition: vtkPSurfaceLICPainter.h:33
vtkSurfaceLICPainter::EndTimerEvent
virtual void EndTimerEvent(const char *)
Definition: vtkSurfaceLICPainter.h:512
vtkSurfaceLICPainter::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
vtkSurfaceLICPainter::WriteTimerLog
virtual void WriteTimerLog(const char *)
Methods used for parallel benchmarks.
Definition: vtkSurfaceLICPainter.h:485
max
#define max(a, b)
Definition: vtkX3DExporterFIWriterHelper.h:31
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:39
vtkSurfaceLICPainter::CreateCommunicator
void CreateCommunicator()
Creates a new communicator for internal use based on this rank's visible data.
vtkX3D::name
Definition: vtkX3D.h:219
vtkSurfaceLICPainter::NeedToUpdateCommunicator
virtual bool NeedToUpdateCommunicator()
vtkPainterCommunicator
A communicator that can safely be used inside a painter.
Definition: vtkPainterCommunicator.h:30
vtkX3D::string
Definition: vtkX3D.h:490
vtkSurfaceLICPainter::GetGlobalMinMax
virtual void GetGlobalMinMax(vtkPainterCommunicator *, float &, float &)
Get the min/max across all ranks.
Definition: vtkSurfaceLICPainter.h:503
vtkSurfaceLICPainter.h
vtkSurfaceLICPainter::New
static vtkSurfaceLICPainter * New()