52#ifndef vtkPointSource_h
53#define vtkPointSource_h
55#include "vtkFiltersSourcesModule.h"
58#define VTK_POINT_SHELL 0
59#define VTK_POINT_UNIFORM 1
60#define VTK_POINT_EXPONENTIAL 2
88 vtkSetVector3Macro(Center,
double);
89 vtkGetVectorMacro(Center,
double, 3);
99 vtkGetMacro(Radius,
double);
114 vtkGetMacro(Distribution,
int);
125 vtkSetMacro(Lambda,
double);
126 vtkGetMacro(Lambda,
double);
135 vtkSetMacro(OutputPointsPrecision,
int);
136 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