VTK
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 : public vtkLineIntegralConvolution2D
38 {
39 public:
42  virtual void PrintSelf(ostream &os, vtkIndent indent) override;
43 
45 
52  virtual void SetCommunicator(vtkPainterCommunicator *) override;
53  virtual vtkPainterCommunicator *GetCommunicator() override;
55 
60  virtual void GetGlobalMinMax(
62  float &min,
63  float &max) override;
64 
71  virtual void WriteTimerLog(const char *fileName) override;
72 
73 protected:
76 
78 
85  virtual void StartTimerEvent(const char *name) override;
86  virtual void EndTimerEvent(const char *name) override;
88 
89 private:
90  std::string LogFileName;
91 
92 private:
94  void operator=(const vtkPLineIntegralConvolution2D &) = delete;
95 };
96 
97 #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:39
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)