VTK  9.3.0
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
27 #ifndef vtkBrownianPoints_h
28 #define vtkBrownianPoints_h
29 
30 #include "vtkDataSetAlgorithm.h"
31 #include "vtkFiltersGeneralModule.h" // For export macro
32 
33 VTK_ABI_NAMESPACE_BEGIN
34 class VTKFILTERSGENERAL_EXPORT vtkBrownianPoints : public vtkDataSetAlgorithm
35 {
36 public:
41 
43  void PrintSelf(ostream& os, vtkIndent indent) override;
44 
46 
49  vtkSetClampMacro(MinimumSpeed, double, 0.0, VTK_DOUBLE_MAX);
50  vtkGetMacro(MinimumSpeed, double);
52 
54 
57  vtkSetClampMacro(MaximumSpeed, double, 0.0, VTK_DOUBLE_MAX);
58  vtkGetMacro(MaximumSpeed, double);
60 
61 protected:
63  ~vtkBrownianPoints() override = default;
64 
66  double MinimumSpeed;
67  double MaximumSpeed;
68 
69 private:
70  vtkBrownianPoints(const vtkBrownianPoints&) = delete;
71  void operator=(const vtkBrownianPoints&) = delete;
72 };
73 
74 VTK_ABI_NAMESPACE_END
75 #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:38
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
#define VTK_DOUBLE_MAX
Definition: vtkType.h:154