36#ifndef vtkPointSource_h
37#define vtkPointSource_h
39#include "vtkFiltersSourcesModule.h"
42#define VTK_POINT_UNIFORM 1
43#define VTK_POINT_SHELL 0
66 vtkSetVector3Macro(Center,
double);
67 vtkGetVectorMacro(Center,
double, 3);
77 vtkGetMacro(Radius,
double);
86 vtkSetMacro(Distribution,
int);
89 vtkGetMacro(Distribution,
int);
98 vtkSetMacro(OutputPointsPrecision,
int);
99 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