Documentation for vtkPointSource

vtkPointSource - create a random cloud of points

Super Class: vtkPolyDataSource

Description:

vtkPointSource is a source object that creates a user-specified number of points within a specified radius about a specified center point. The location of the points is random within the sphere.

 

Methods:

void vtkPointSource (int )
static vtkPointSource *New ()
const char *GetClassName ()
void PrintSelf (unknown & ,vtkIndent )
void SetNumberOfPoints (int )
int GetNumberOfPoints ()
void SetCenter (float ,float ,float )
void SetCenter (float *)
float *GetCenter ()
void SetRadius (float )
float GetRadius ()
void Execute ()

 

Detailed Method Descriptions:

Set the number of points to generate.

void SetNumberOfPoints (int )
int GetNumberOfPoints ()

Set the center of the point cloud.

void SetCenter (float ,float ,float )
void SetCenter (float *)
float *GetCenter ()

Set the radius of the point cloud.

void SetRadius (float )
float GetRadius ()