32 #ifndef __vtkPointSource_h
33 #define __vtkPointSource_h
35 #include "vtkFiltersSourcesModule.h"
38 #define VTK_POINT_UNIFORM 1
39 #define VTK_POINT_SHELL 0
46 void PrintSelf(ostream& os, vtkIndent indent);
50 vtkSetClampMacro(NumberOfPoints,vtkIdType,1,VTK_ID_MAX);
51 vtkGetMacro(NumberOfPoints,vtkIdType);
56 vtkSetVector3Macro(Center,
double);
57 vtkGetVectorMacro(Center,
double,3);
64 vtkSetClampMacro(Radius,
double,0.0,VTK_DOUBLE_MAX);
65 vtkGetMacro(Radius,
double);
72 vtkSetMacro(Distribution,
int);
77 vtkGetMacro(Distribution,
int);
84 int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *);
void SetDistributionToShell()
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
static vtkPolyDataAlgorithm * New()
void PrintSelf(ostream &os, vtkIndent indent)
Superclass for algorithms that produce only polydata as output.
#define VTK_POINT_UNIFORM
void SetDistributionToUniform()
create a random cloud of points