VTK  9.1.0
vtkPoissonDiskSampler.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: Visualization Toolkit
4 Module: vtkPoissonDiskSampler.h
5
6 Copyright (c) Kitware, Inc.
7 All rights reserved.
8 See LICENSE file 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=========================================================================*/
34#ifndef vtkPoissonDiskSampler_h
35#define vtkPoissonDiskSampler_h
36
37#include "vtkFiltersPointsModule.h" // For export macro
39
41class vtkIdList;
42
43class VTKFILTERSPOINTS_EXPORT vtkPoissonDiskSampler : public vtkPointSetAlgorithm
44{
45public:
47
53 void PrintSelf(ostream& os, vtkIndent indent) override;
55
57
61 vtkSetMacro(Radius, double);
62 vtkGetMacro(Radius, double);
64
66
72 vtkGetObjectMacro(Locator, vtkAbstractPointLocator);
74
75protected:
78
82 double Radius;
83
88
89 // Pipeline management
92 int FillInputPortInformation(int port, vtkInformation* info) override;
93
94private:
96 void operator=(const vtkPoissonDiskSampler&) = delete;
97};
98
99#endif
abstract class to quickly locate points in 3-space
list of point or cell ids
Definition: vtkIdList.h:140
a simple class to control print indentation
Definition: vtkIndent.h:113
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.