VTK  9.3.20240327
vtkPLineIntegralConvolution2D.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
15 #ifndef vtkPLineIntegralConvolution2D_h
16 #define vtkPLineIntegralConvolution2D_h
17 
19 #include "vtkRenderingParallelLICModule.h" // for export macro
20 #include <string> // for string
21 
22 VTK_ABI_NAMESPACE_BEGIN
25 
26 class VTKRENDERINGPARALLELLIC_EXPORT vtkPLineIntegralConvolution2D
28 {
29 public:
32  void PrintSelf(ostream& os, vtkIndent indent) override;
33 
35 
45 
50  void GetGlobalMinMax(vtkPainterCommunicator* comm, float& min, float& max) override;
51 
58  void WriteTimerLog(VTK_FILEPATH const char* fileName) override;
59 
60 protected:
63 
65 
72  void StartTimerEvent(const char* name) override;
73  void EndTimerEvent(const char* name) override;
75 
76 private:
77  std::string LogFileName;
78 
80  void operator=(const vtkPLineIntegralConvolution2D&) = delete;
81 };
82 
83 VTK_ABI_NAMESPACE_END
84 #endif
a simple class to control print indentation
Definition: vtkIndent.h:108
GPU-based implementation of Line Integral Convolution (LIC)
parallel part of GPU-based implementation of Line Integral Convolution (LIC)
vtkPainterCommunicator * GetCommunicator() override
Set the communicator to use during parallel operation The communicator will not be duplicated or refe...
void StartTimerEvent(const char *name) 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.
~vtkPLineIntegralConvolution2D() override
void SetCommunicator(vtkPainterCommunicator *) override
Set the communicator to use during parallel operation The communicator will not be duplicated or refe...
static vtkPLineIntegralConvolution2D * New()
void WriteTimerLog(VTK_FILEPATH const char *fileName) override
Methods used for parallel benchmarks.
void GetGlobalMinMax(vtkPainterCommunicator *comm, float &min, float &max) override
For parallel operation, find global min/max min/max are in/out.
void EndTimerEvent(const char *name) override
Methods used for parallel benchmarks.
A communicator that can safely be used inside a painter.
@ name
Definition: vtkX3D.h:219
@ string
Definition: vtkX3D.h:490
#define VTK_FILEPATH
#define max(a, b)