27#ifndef vtkPointSource_h
28#define vtkPointSource_h
30#include "vtkFiltersSourcesModule.h"
33#define VTK_POINT_UNIFORM 1
34#define VTK_POINT_SHELL 0
57 vtkSetVector3Macro(Center,
double);
58 vtkGetVectorMacro(Center,
double, 3);
68 vtkGetMacro(Radius,
double);
77 vtkSetMacro(Distribution,
int);
80 vtkGetMacro(Distribution,
int);
89 vtkSetMacro(OutputPointsPrecision,
int);
90 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