VTK  9.0.1
vtkPLineIntegralConvolution2D.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkPLineIntegralConvolution2D.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 =========================================================================*/
27 #ifndef vtkPLineIntegralConvolution2D_h
28 #define vtkPLineIntegralConvolution2D_h
29 
31 #include "vtkRenderingParallelLICModule.h" // for export macro
32 #include <string> // for string
33 
36 
37 class VTKRENDERINGPARALLELLIC_EXPORT vtkPLineIntegralConvolution2D
39 {
40 public:
43  virtual void PrintSelf(ostream& os, vtkIndent indent) override;
44 
46 
53  virtual void SetCommunicator(vtkPainterCommunicator*) override;
54  virtual vtkPainterCommunicator* GetCommunicator() override;
56 
61  virtual void GetGlobalMinMax(vtkPainterCommunicator* comm, float& min, float& max) override;
62 
69  virtual void WriteTimerLog(const char* fileName) override;
70 
71 protected:
74 
76 
83  virtual void StartTimerEvent(const char* name) override;
84  virtual void EndTimerEvent(const char* name) override;
86 
87 private:
88  std::string LogFileName;
89 
90 private:
92  void operator=(const vtkPLineIntegralConvolution2D&) = delete;
93 };
94 
95 #endif
virtual void SetCommunicator(vtkPainterCommunicator *)
Set the communicator to use during parallel operation The communicator will not be duplicated or refe...
GPU-based implementation of Line Integral Convolution (LIC)
virtual void GetGlobalMinMax(vtkPainterCommunicator *, float &, float &)
For parallel operation, find global min/max min/max are in/out.
virtual void WriteTimerLog(const char *)
Methods used for parallel benchmarks.
a simple class to control print indentation
Definition: vtkIndent.h:33
static vtkLineIntegralConvolution2D * New()
virtual void StartTimerEvent(const char *)
Methods used for parallel benchmarks.
parallel part of GPU-based implementation of Line Integral Convolution (LIC)
virtual vtkPainterCommunicator * GetCommunicator()
A communicator that can safely be used inside a painter.
virtual void EndTimerEvent(const char *)
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
#define max(a, b)