40#ifndef vtkPointSource_h
41#define vtkPointSource_h
43#include "vtkFiltersSourcesModule.h"
46#define VTK_POINT_SHELL 0
47#define VTK_POINT_UNIFORM 1
48#define VTK_POINT_EXPONENTIAL 2
76 vtkSetVector3Macro(Center,
double);
77 vtkGetVectorMacro(Center,
double, 3);
87 vtkGetMacro(Radius,
double);
102 vtkGetMacro(Distribution,
int);
113 vtkSetMacro(Lambda,
double);
114 vtkGetMacro(Lambda,
double);
123 vtkSetMacro(OutputPointsPrecision,
int);
124 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