136#ifndef vtkPointSource_h
137#define vtkPointSource_h
139#include "vtkFiltersSourcesModule.h"
142#define VTK_POINT_UNIFORM 1
143#define VTK_POINT_SHELL 0
166 vtkSetVector3Macro(Center,
double);
167 vtkGetVectorMacro(Center,
double, 3);
177 vtkGetMacro(Radius,
double);
186 vtkSetMacro(Distribution,
int);
189 vtkGetMacro(Distribution,
int);
198 vtkSetMacro(OutputPointsPrecision,
int);
199 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
Methods invoked by print to print information about the object including superclasses.
void SetDistributionToShell()
Specify the distribution to use.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
static vtkPointSource * New()
void SetDistributionToUniform()
Specify the 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