VTK  9.2.6
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 =========================================================================*/
49 #ifndef vtkBrownianPoints_h
50 #define vtkBrownianPoints_h
51 
52 #include "vtkDataSetAlgorithm.h"
53 #include "vtkFiltersGeneralModule.h" // For export macro
54 
55 class VTKFILTERSGENERAL_EXPORT vtkBrownianPoints : public vtkDataSetAlgorithm
56 {
57 public:
62 
64  void PrintSelf(ostream& os, vtkIndent indent) override;
65 
67 
70  vtkSetClampMacro(MinimumSpeed, double, 0.0, VTK_DOUBLE_MAX);
71  vtkGetMacro(MinimumSpeed, double);
73 
75 
78  vtkSetClampMacro(MaximumSpeed, double, 0.0, VTK_DOUBLE_MAX);
79  vtkGetMacro(MaximumSpeed, double);
81 
82 protected:
84  ~vtkBrownianPoints() override = default;
85 
87  double MinimumSpeed;
88  double MaximumSpeed;
89 
90 private:
91  vtkBrownianPoints(const vtkBrownianPoints&) = delete;
92  void operator=(const vtkBrownianPoints&) = delete;
93 };
94 
95 #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:119
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
#define VTK_DOUBLE_MAX
Definition: vtkType.h:165