VTK
vtkPSurfaceLICInterface.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkPSurfaceLICInterface.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 vtkPSurfaceLICInterface_h
25 #define vtkPSurfaceLICInterface_h
26 
27 #include "vtkSurfaceLICInterface.h"
28 #include "vtkRenderingParallelLICModule.h" // For export macro
29 #include <string> // for string
30 
32 
33 class VTKRENDERINGPARALLELLIC_EXPORT vtkPSurfaceLICInterface : public vtkSurfaceLICInterface
34 {
35 public:
36  static vtkPSurfaceLICInterface* New();
38  void PrintSelf(ostream& os, vtkIndent indent) override;
39 
46  virtual void WriteTimerLog(const char *fileName) override;
47 
48 protected:
51 
57  virtual void GetGlobalMinMax(
59  float &min,
60  float &max) override;
61 
68  virtual vtkPainterCommunicator *CreateCommunicator(int include) override;
69 
74  virtual bool NeedToUpdateCommunicator() override;
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:
92  void operator=(const vtkPSurfaceLICInterface&) = delete;
93 };
94 
95 #endif
parallel parts of the vtkSurfaceLICInterface
virtual bool NeedToUpdateCommunicator()
Return false if stage can be skipped.
a simple class to control print indentation
Definition: vtkIndent.h:39
virtual void WriteTimerLog(const char *)
Methods used for parallel benchmarks.
virtual void GetGlobalMinMax(vtkPainterCommunicator *, float &, float &)
Get the min/max across all ranks.
public API for surface lic parameters arbitrary geometry.
A communicator that can safely be used inside a painter.
static vtkSurfaceLICInterface * New()
virtual vtkPainterCommunicator * CreateCommunicator(int)
Creates a new communicator with/without the calling processes as indicated by the passed in flag...
#define max(a, b)
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.