Loading [MathJax]/extensions/tex2jax.js
VTK  9.4.20250331
vtkPointSetStreamer.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 vtkPointSetStreamer_h
24#define vtkPointSetStreamer_h
25
26#include "vtkFiltersGeometryPreviewModule.h" // For export macro
28
29VTK_ABI_NAMESPACE_BEGIN
31
32class VTKFILTERSGEOMETRYPREVIEW_EXPORT vtkPointSetStreamer : public vtkPolyDataAlgorithm
33{
34public:
36 void PrintSelf(ostream& os, vtkIndent indent) override;
38
40
46 vtkSetClampMacro(NumberOfPointsPerBucket, int, 1, VTK_INT_MAX);
47 vtkGetMacro(NumberOfPointsPerBucket, int);
49
51
57 vtkSetClampMacro(BucketId, vtkIdType, 0, VTK_ID_MAX);
58 vtkGetMacro(BucketId, vtkIdType);
60
66 vtkGetMacro(NumberOfBuckets, vtkIdType);
67
69
74 vtkSetMacro(CreateVerticesCellArray, bool);
75 vtkGetMacro(CreateVerticesCellArray, bool);
76 vtkBooleanMacro(CreateVerticesCellArray, bool);
78protected:
81
82 int FillInputPortInformation(int port, vtkInformation* info) override;
84
85private:
87 void operator=(const vtkPointSetStreamer&) = delete;
88
89 int NumberOfPointsPerBucket = 1;
90 vtkIdType BucketId = 0;
91 vtkIdType NumberOfBuckets = 0;
92 bool CreateVerticesCellArray = true;
93
95};
96
97VTK_ABI_NAMESPACE_END
98#endif // vtkPointSetStreamer_h
a simple class to control print indentation
Definition vtkIndent.h:108
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
Allocate and hold a VTK object.
Definition vtkNew.h:167
stream points as buckets
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
~vtkPointSetStreamer() override
static vtkPointSetStreamer * New()
Superclass for algorithms that produce only polydata as output.
quickly locate points in 3-space
int vtkIdType
Definition vtkType.h:332
#define VTK_ID_MAX
Definition vtkType.h:336
#define VTK_INT_MAX
Definition vtkType.h:161