VTK: Rendering/ParallelLIC/vtkPLineIntegralConvolution2D.h Source File

| VTK 9.3.1

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