140#ifndef vtkPointSource_h
141#define vtkPointSource_h
143#include "vtkFiltersSourcesModule.h"
146#define VTK_POINT_SHELL 0
147#define VTK_POINT_UNIFORM 1
148#define VTK_POINT_EXPONENTIAL 2
150VTK_ABI_NAMESPACE_BEGIN
177 vtkSetVector3Macro(Center,
double);
178 vtkGetVectorMacro(Center,
double, 3);
188 vtkGetMacro(Radius,
double);
203 vtkGetMacro(Distribution,
int);
214 vtkSetMacro(Lambda,
double);
215 vtkGetMacro(Lambda,
double);
224 vtkSetMacro(OutputPointsPrecision,
int);
225 vtkGetMacro(OutputPointsPrecision,
int);
a simple class to control print indentation
create a random cloud of points
vtkRandomSequence * RandomSequence
void PrintSelf(ostream &os, vtkIndent indent) override
Standard methods for instantiation, type information, and printing.
void SetDistributionToShell()
Specify the point distribution to use.
void SetDistributionToExponential()
Specify the point distribution to use.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
static vtkPointSource * New()
Standard methods for instantiation, type information, and printing.
void SetDistributionToUniform()
Specify the point distribution to use.
vtkPointSource(vtkIdType numPts=10)
~vtkPointSource() override
virtual void SetRandomSequence(vtkRandomSequence *randomSequence)
Set/Get a random sequence generator.
int OutputPointsPrecision
Superclass for algorithms that produce only polydata as output.
Generate a sequence of random numbers.
#define VTK_POINT_UNIFORM
#define VTK_POINT_EXPONENTIAL