VTK  9.3.0
vtkPSurfaceLICInterface.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2 // SPDX-License-Identifier: BSD-3-Clause
12 #ifndef vtkPSurfaceLICInterface_h
13 #define vtkPSurfaceLICInterface_h
14 
15 #include "vtkRenderingParallelLICModule.h" // For export macro
16 #include "vtkSurfaceLICInterface.h"
17 #include <string> // for string
18 
19 VTK_ABI_NAMESPACE_BEGIN
21 
22 class VTKRENDERINGPARALLELLIC_EXPORT vtkPSurfaceLICInterface : public vtkSurfaceLICInterface
23 {
24 public:
27  void PrintSelf(ostream& os, vtkIndent indent) override;
28 
35  void WriteTimerLog(VTK_FILEPATH const char* fileName) override;
36 
37 protected:
40 
46  void GetGlobalMinMax(vtkPainterCommunicator* comm, float& min, float& max) override;
47 
55 
60  bool NeedToUpdateCommunicator() override;
61 
63 
69  virtual void StartTimerEvent(const char* name);
70  virtual void EndTimerEvent(const char* name);
72 
73 private:
74  std::string LogFileName;
75 
77  void operator=(const vtkPSurfaceLICInterface&) = delete;
78 };
79 
80 VTK_ABI_NAMESPACE_END
81 #endif
a simple class to control print indentation
Definition: vtkIndent.h:29
parallel parts of the vtkSurfaceLICInterface
void GetGlobalMinMax(vtkPainterCommunicator *comm, float &min, float &max) override
Get the min/max across all ranks.
bool NeedToUpdateCommunicator() override
Ensure that if any rank updates the communicator they all do.
~vtkPSurfaceLICInterface() override
virtual void StartTimerEvent(const char *name)
Methods used for parallel benchmarks.
void WriteTimerLog(VTK_FILEPATH const char *fileName) override
Methods used for parallel benchmarks.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkPainterCommunicator * CreateCommunicator(int include) override
Creates a new communicator with/without the calling processes as indicated by the passed in flag,...
static vtkPSurfaceLICInterface * New()
virtual void EndTimerEvent(const char *name)
Methods used for parallel benchmarks.
A communicator that can safely be used inside a painter.
public API for surface lic parameters arbitrary geometry.
@ name
Definition: vtkX3D.h:219
@ string
Definition: vtkX3D.h:490
#define VTK_FILEPATH
#define max(a, b)