#include <vtkPointSource.h>
Inheritance diagram for vtkPointSource:
Public Methods | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual void | SetNumberOfPoints (int) |
virtual int | GetNumberOfPoints () |
virtual void | SetCenter (float, float, float) |
virtual void | SetCenter (float[3]) |
virtual float * | GetCenter () |
virtual void | GetCenter (float data[3]) |
virtual void | SetRadius (float) |
virtual float | GetRadius () |
virtual void | SetDistribution (int) |
void | SetDistributionToUniform () |
void | SetDistributionToShell () |
virtual int | GetDistribution () |
Static Public Methods | |
vtkPointSource * | New () |
int | IsTypeOf (const char *type) |
vtkPointSource * | SafeDownCast (vtkObject *o) |
Protected Methods | |
vtkPointSource (int numPts=10) | |
~vtkPointSource () | |
vtkPointSource (const vtkPointSource &) | |
void | operator= (const vtkPointSource &) |
void | Execute () |
void | ExecuteInformation () |
Protected Attributes | |
int | NumberOfPoints |
float | Center [3] |
float | Radius |
int | Distribution |
vtkPointSource is a source object that creates a user-specified number of points within a specified radius about a specified center point. By default location of the points is random within the sphere.
|
Return the class name as a string. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h. Reimplemented from vtkPolyDataSource. |
|
Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h. Reimplemented from vtkPolyDataSource. |
|
Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h. Reimplemented from vtkPolyDataSource. |
|
Instantiate object with no start, end, or progress methods. Reimplemented from vtkPolyDataSource. |
|
Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes. Reimplemented from vtkSource. |
|
Will cast the supplied object to vtkObject* is this is a safe operation (i.e., a safe downcast); otherwise NULL is returned. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h. Reimplemented from vtkPolyDataSource. |
|
Set the center of the point cloud. |
|
Specify the distribution to use. The default is a uniform distribution. The Shell distribution produces and empty sphere. |
|
Set the number of points to generate. |
|
Set the radius of the point cloud. If you are generating a Gaussian distribution, then this is the standard deviation for each of x, y, and z. |