#include <vtkPointSource.h>
Inheritance diagram for vtkPointSource:
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. It is also possible to generate random points only on the surface of the sphere.
Definition at line 39 of file vtkPointSource.h.
Public Types | |
typedef vtkPolyDataAlgorithm | Superclass |
Public Member Functions | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual void | SetNumberOfPoints (vtkIdType) |
virtual vtkIdType | GetNumberOfPoints () |
virtual void | SetCenter (double, double, double) |
virtual void | SetCenter (double[3]) |
virtual double * | GetCenter () |
virtual void | GetCenter (double data[3]) |
virtual void | SetRadius (double) |
virtual double | GetRadius () |
virtual void | SetDistribution (int) |
void | SetDistributionToUniform () |
void | SetDistributionToShell () |
virtual int | GetDistribution () |
Static Public Member Functions | |
static vtkPointSource * | New () |
static int | IsTypeOf (const char *type) |
static vtkPointSource * | SafeDownCast (vtkObject *o) |
Protected Member Functions | |
vtkPointSource (vtkIdType numPts=10) | |
~vtkPointSource () | |
int | RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *) |
Protected Attributes | |
vtkIdType | NumberOfPoints |
double | Center [3] |
double | Radius |
int | Distribution |
|
Reimplemented from vtkPolyDataAlgorithm. Definition at line 43 of file vtkPointSource.h. |
|
|
|
Definition at line 80 of file vtkPointSource.h. |
|
Create an object with Debug turned off, modified time initialized to zero, and reference counting on. Reimplemented from vtkPolyDataAlgorithm. |
|
Reimplemented from vtkPolyDataAlgorithm. |
|
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 vtkTypeRevisionMacro found in vtkSetGet.h. Reimplemented from vtkPolyDataAlgorithm. |
|
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 vtkTypeRevisionMacro found in vtkSetGet.h. Reimplemented from vtkPolyDataAlgorithm. |
|
Reimplemented from vtkPolyDataAlgorithm. |
|
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 vtkPolyDataAlgorithm. |
|
Set the number of points to generate. |
|
|
|
Set the center of the point cloud. |
|
Set the center of the point cloud. |
|
Set the center of the point cloud. |
|
Set the center of the point cloud. |
|
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. |
|
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. |
|
Specify the distribution to use. The default is a uniform distribution. The shell distribution produces random points on the surface of the sphere, none in the interior. |
|
Specify the distribution to use. The default is a uniform distribution. The shell distribution produces random points on the surface of the sphere, none in the interior. Definition at line 71 of file vtkPointSource.h. References VTK_POINT_UNIFORM. |
|
Specify the distribution to use. The default is a uniform distribution. The shell distribution produces random points on the surface of the sphere, none in the interior. Definition at line 73 of file vtkPointSource.h. References VTK_POINT_SHELL. |
|
Specify the distribution to use. The default is a uniform distribution. The shell distribution produces random points on the surface of the sphere, none in the interior. |
|
This is called by the superclass. This is the method you should override. Reimplemented from vtkPolyDataAlgorithm. |
|
Definition at line 84 of file vtkPointSource.h. |
|
Definition at line 85 of file vtkPointSource.h. |
|
Definition at line 86 of file vtkPointSource.h. |
|
Definition at line 87 of file vtkPointSource.h. |