vtkPointSource Class Reference
#include <vtkPointSource.h>
Inheritance diagram for vtkPointSource:
[legend]Collaboration diagram for vtkPointSource:
[legend]List of all members.
Detailed Description
create a random cloud of points
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.
- Created by:
-
- CVS contributions (if > 5%):
- Schroeder, Will (51%)
- Gobbi, David (24%)
- Martin, Ken (12%)
- CVS logs (CVSweb):
.h (/Graphics/vtkPointSource
.h)
.cxx (/Graphics/vtkPointSource
.cxx)
- Examples:
- vtkPointSource (Examples)
- Tests:
- vtkPointSource (Tests)
Definition at line 51 of file vtkPointSource.h.
Member Typedef Documentation
Constructor & Destructor Documentation
vtkPointSource::vtkPointSource |
( |
vtkIdType |
numPts = 10 |
) |
[protected] |
|
Member Function Documentation
|
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkAlgorithm. |
virtual const char* vtkPointSource::GetClassName |
( |
|
) |
[virtual] |
|
int vtkPointSource::IsTypeOf |
( |
const char * |
type |
) |
[static] |
|
|
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 vtkPolyDataSource. |
virtual int vtkPointSource::IsA |
( |
const char * |
type |
) |
[virtual] |
|
|
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 vtkPolyDataSource. |
void vtkPointSource::PrintSelf |
( |
ostream & |
os, |
|
|
vtkIndent |
indent |
|
) |
[virtual] |
|
|
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 vtkPolyDataSource. |
virtual void vtkPointSource::SetNumberOfPoints |
( |
vtkIdType |
|
) |
[virtual] |
|
|
Set the number of points to generate. |
virtual vtkIdType vtkPointSource::GetNumberOfPoints |
( |
|
) |
[virtual] |
|
|
Set the number of points to generate. |
virtual void vtkPointSource::SetCenter |
( |
double |
, |
|
|
double |
, |
|
|
double |
|
|
) |
[virtual] |
|
|
Set the center of the point cloud. |
virtual void vtkPointSource::SetCenter |
( |
double |
[3] |
) |
[virtual] |
|
|
Set the center of the point cloud. |
virtual double* vtkPointSource::GetCenter |
( |
|
) |
[virtual] |
|
|
Set the center of the point cloud. |
virtual void vtkPointSource::GetCenter |
( |
double |
data[3] |
) |
[virtual] |
|
|
Set the center of the point cloud. |
virtual void vtkPointSource::SetRadius |
( |
double |
|
) |
[virtual] |
|
|
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. |
virtual double vtkPointSource::GetRadius |
( |
|
) |
[virtual] |
|
|
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. |
virtual void vtkPointSource::SetDistribution |
( |
int |
|
) |
[virtual] |
|
|
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. |
void vtkPointSource::SetDistributionToUniform |
( |
|
) |
[inline] |
|
|
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 83 of file vtkPointSource.h.
References VTK_POINT_UNIFORM. |
void vtkPointSource::SetDistributionToShell |
( |
|
) |
[inline] |
|
|
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 85 of file vtkPointSource.h.
References VTK_POINT_SHELL. |
virtual int vtkPointSource::GetDistribution |
( |
|
) |
[virtual] |
|
|
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. |
void vtkPointSource::Execute |
( |
|
) |
[protected, virtual] |
|
|
This method is the old style execute method
Reimplemented from vtkSource. |
void vtkPointSource::ExecuteInformation |
( |
|
) |
[protected, virtual] |
|
Member Data Documentation
The documentation for this class was generated from the following file: