VTK  9.0.1
vtkBrownianPoints.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkBrownianPoints.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 vtkBrownianPoints_h
28 #define vtkBrownianPoints_h
29 
30 #include "vtkDataSetAlgorithm.h"
31 #include "vtkFiltersGeneralModule.h" // For export macro
32 
33 class VTKFILTERSGENERAL_EXPORT vtkBrownianPoints : public vtkDataSetAlgorithm
34 {
35 public:
39  static vtkBrownianPoints* New();
40 
42  void PrintSelf(ostream& os, vtkIndent indent) override;
43 
45 
48  vtkSetClampMacro(MinimumSpeed, double, 0.0, VTK_DOUBLE_MAX);
49  vtkGetMacro(MinimumSpeed, double);
51 
53 
56  vtkSetClampMacro(MaximumSpeed, double, 0.0, VTK_DOUBLE_MAX);
57  vtkGetMacro(MaximumSpeed, double);
59 
60 protected:
62  ~vtkBrownianPoints() override {}
63 
65  double MinimumSpeed;
66  double MaximumSpeed;
67 
68 private:
69  vtkBrownianPoints(const vtkBrownianPoints&) = delete;
70  void operator=(const vtkBrownianPoints&) = delete;
71 };
72 
73 #endif
vtkBrownianPoints::MaximumSpeed
double MaximumSpeed
Definition: vtkBrownianPoints.h:66
vtkBrownianPoints
assign random vector to points
Definition: vtkBrownianPoints.h:33
vtkBrownianPoints::MinimumSpeed
double MinimumSpeed
Definition: vtkBrownianPoints.h:65
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:35
vtkDataSetAlgorithm::RequestData
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called within ProcessRequest when a request asks the algorithm to do its work.
Definition: vtkDataSetAlgorithm.h:176
vtkDataSetAlgorithm
Superclass for algorithms that produce output of the same type as input.
Definition: vtkDataSetAlgorithm.h:48
vtkBrownianPoints::~vtkBrownianPoints
~vtkBrownianPoints() override
Definition: vtkBrownianPoints.h:62
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:33
vtkDataSetAlgorithm::New
static vtkDataSetAlgorithm * New()
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:73
vtkDataSetAlgorithm.h
vtkDataSetAlgorithm::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
VTK_DOUBLE_MAX
#define VTK_DOUBLE_MAX
Definition: vtkType.h:165