VTK  9.3.20240420
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
17#include <string> // for string
18
19VTK_ABI_NAMESPACE_BEGIN
21
22class VTKRENDERINGPARALLELLIC_EXPORT vtkPSurfaceLICInterface : public vtkSurfaceLICInterface
23{
24public:
27 void PrintSelf(ostream& os, vtkIndent indent) override;
28
35 void WriteTimerLog(VTK_FILEPATH const char* fileName) override;
36
37protected:
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
73private:
74 std::string LogFileName;
75
77 void operator=(const vtkPSurfaceLICInterface&) = delete;
78};
79
80VTK_ABI_NAMESPACE_END
81#endif
a simple class to control print indentation
Definition vtkIndent.h:108
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.
static vtkPSurfaceLICInterface * New()
vtkPainterCommunicator * CreateCommunicator(int include) override
Creates a new communicator with/without the calling processes as indicated by the passed in flag,...
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.
#define VTK_FILEPATH
#define max(a, b)