VTK  9.6.20260305
vtkJogglePoints.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
39
40#ifndef vtkJogglePoints_h
41#define vtkJogglePoints_h
42
43#include "vtkFiltersMeshingModule.h" // For export macro
45#include <random> // For random number generation
46
47VTK_ABI_NAMESPACE_BEGIN
48
49class VTKFILTERSMESHING_EXPORT vtkJogglePoints : public vtkPointSetAlgorithm
50{
51public:
53
59 void PrintSelf(ostream& os, vtkIndent indent) override;
61
63
69 vtkSetClampMacro(Radius, double, 0, VTK_DOUBLE_MAX);
70 vtkGetMacro(Radius, double);
72 vtkBooleanMacro(RadiusIsAbsolute, vtkTypeBool);
75
84
92 vtkSetClampMacro(Joggle, int, UNCONSTRAINED, YZ_PLANE);
93 vtkGetMacro(Joggle, int);
99
100protected:
103
104 double Radius;
107
108 // Support second input
110
111private:
112 vtkJogglePoints(const vtkJogglePoints&) = delete;
113 void operator=(const vtkJogglePoints&) = delete;
114};
115
116VTK_ABI_NAMESPACE_END
117#endif
a simple class to control print indentation
Definition vtkIndent.h:108
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
virtual void SetJoggle(int)
Specify constraints on the point perturbations (i.e., joggle motion).
void SetJoggleToUnconstrained()
Specify constraints on the point perturbations (i.e., joggle motion).
vtkTypeBool RadiusIsAbsolute
void SetJoggleToXZPlane()
Specify constraints on the point perturbations (i.e., joggle motion).
void SetJoggleToXYPlane()
Specify constraints on the point perturbations (i.e., joggle motion).
~vtkJogglePoints() override
JoggleConstraints
Specify constraints on the point perturbations (i.e., joggle motion).
void PrintSelf(ostream &os, vtkIndent indent) override
Standard methods for instantiating, obtaining type information, and printing information.
void SetJoggleToYZPlane()
Specify constraints on the point perturbations (i.e., joggle motion).
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
static vtkJogglePoints * New()
Standard methods for instantiating, obtaining type information, and printing information.
int vtkTypeBool
Definition vtkABI.h:64
#define VTK_DOUBLE_MAX
Definition vtkType.h:202