VTK  9.3.1
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:
25  static vtkPSurfaceLICInterface* New();
27  void PrintSelf(ostream& os, vtkIndent indent) override;
28 
35  void WriteTimerLog(VTK_FILEPATH const char* fileName) override;
36 
37 protected:
39  ~vtkPSurfaceLICInterface() override;
40 
46  void GetGlobalMinMax(vtkPainterCommunicator* comm, float& min, float& max) override;
47 
54  vtkPainterCommunicator* CreateCommunicator(int include) override;
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
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:28
virtual void WriteTimerLog(const char *)
Methods used for parallel benchmarks.
virtual void GetGlobalMinMax(vtkPainterCommunicator *, float &, float &)
Get the min/max across all ranks.
#define VTK_FILEPATH
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.