VTK  9.3.20240329
vtkBrownianPoints.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
37 #ifndef vtkBrownianPoints_h
38 #define vtkBrownianPoints_h
39 
40 #include "vtkDataSetAlgorithm.h"
41 #include "vtkFiltersGeneralModule.h" // For export macro
42 
43 VTK_ABI_NAMESPACE_BEGIN
44 class VTKFILTERSGENERAL_EXPORT vtkBrownianPoints : public vtkDataSetAlgorithm
45 {
46 public:
51 
53  void PrintSelf(ostream& os, vtkIndent indent) override;
54 
56 
59  vtkSetClampMacro(MinimumSpeed, double, 0.0, VTK_DOUBLE_MAX);
60  vtkGetMacro(MinimumSpeed, double);
62 
64 
67  vtkSetClampMacro(MaximumSpeed, double, 0.0, VTK_DOUBLE_MAX);
68  vtkGetMacro(MaximumSpeed, double);
70 
71 protected:
73  ~vtkBrownianPoints() override = default;
74 
76  double MinimumSpeed;
77  double MaximumSpeed;
78 
79 private:
80  vtkBrownianPoints(const vtkBrownianPoints&) = delete;
81  void operator=(const vtkBrownianPoints&) = delete;
82 };
83 
84 VTK_ABI_NAMESPACE_END
85 #endif
assign random vector to points
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called within ProcessRequest when a request asks the algorithm to do its work.
~vtkBrownianPoints() override=default
static vtkBrownianPoints * New()
Create instance with minimum speed 0.0, maximum speed 1.0.
Superclass for algorithms that produce output of the same type as input.
a simple class to control print indentation
Definition: vtkIndent.h:108
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
#define VTK_DOUBLE_MAX
Definition: vtkType.h:154