VTK  9.1.0
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 "vtkRenderingParallelLICModule.h" // For export macro
29#include <string> // for string
30
32
33class VTKRENDERINGPARALLELLIC_EXPORT vtkPSurfaceLICInterface : public vtkSurfaceLICInterface
34{
35public:
38 void PrintSelf(ostream& os, vtkIndent indent) override;
39
46 void WriteTimerLog(VTK_FILEPATH const char* fileName) override;
47
48protected:
51
57 void GetGlobalMinMax(vtkPainterCommunicator* comm, float& min, float& max) override;
58
66
71 bool NeedToUpdateCommunicator() override;
72
74
80 virtual void StartTimerEvent(const char* name);
81 virtual void EndTimerEvent(const char* name);
83
84private:
85 std::string LogFileName;
86
87private:
89 void operator=(const vtkPSurfaceLICInterface&) = delete;
90};
91
92#endif
a simple class to control print indentation
Definition: vtkIndent.h:113
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.
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.
@ name
Definition: vtkX3D.h:225
@ string
Definition: vtkX3D.h:496
#define VTK_FILEPATH
#define max(a, b)