VTK  9.4.20250202
vtkPoissonDiskSampler.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
23#ifndef vtkPoissonDiskSampler_h
24#define vtkPoissonDiskSampler_h
25
26#include "vtkFiltersPointsModule.h" // For export macro
28
29VTK_ABI_NAMESPACE_BEGIN
31class vtkIdList;
32
33class VTKFILTERSPOINTS_EXPORT vtkPoissonDiskSampler : public vtkPointSetAlgorithm
34{
35public:
37
43 void PrintSelf(ostream& os, vtkIndent indent) override;
45
47
51 vtkSetMacro(Radius, double);
52 vtkGetMacro(Radius, double);
54
56
62 vtkGetObjectMacro(Locator, vtkAbstractPointLocator);
64
65protected:
68
72 double Radius;
73
78
79 // Pipeline management
82 int FillInputPortInformation(int port, vtkInformation* info) override;
83
84private:
86 void operator=(const vtkPoissonDiskSampler&) = delete;
87};
88
89VTK_ABI_NAMESPACE_END
90#endif
abstract class to quickly locate points in 3-space
list of point or cell ids
Definition vtkIdList.h:133
a simple class to control print indentation
Definition vtkIndent.h:108
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
Superclass for algorithms that produce output of the same type as input.
generate point normals using local tangent planes
void SetLocator(vtkAbstractPointLocator *locator)
Specify a point locator.
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
double Radius
Radius used to query point neighbors using the Locator.
int RequestDataObject(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
static vtkPoissonDiskSampler * New()
Standard methods for instantiating, obtaining type information, and printing information.
void PrintSelf(ostream &os, vtkIndent indent) override
Standard methods for instantiating, obtaining type information, and printing information.
~vtkPoissonDiskSampler() override
vtkAbstractPointLocator * Locator
Locator being used to query point neighbors.