Man Page for vtkPointSource
Table of Contents

NAME

vtkPointSource - create a random cloud of points

SYNOPSIS


#include "/opt/vtk-c++/graphics/vtkPointSource.h"

class VTK_EXPORT vtkPointSource : public vtkPolyDataSource

vtkPointSource(int numPts=10);
static vtkPointSource *New() {return new vtkPointSource;};
const char *GetClassName() {return "vtkPointSource";};
void PrintSelf(ostream& os, vtkIndent indent);
void SetNumberOfPoints(int);
int GetNumberOfPoints();
void SetCenter(float, float, float);
void SetCenter(float *);
float *GetCenter();
void GetCenter(float data[3]);
void SetRadius(float);
float GetRadius();

DESCRIPTION

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

SUMMARY

void SetNumberOfPoints(int)
Set the number of points to generate.

void SetCenter(float, float, float)
void SetCenter(float *)
Set the center of the point cloud.

void SetRadius(float)
Set the radius of the point cloud.


Table of Contents