Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

vtkPointSource Class Reference

create a random cloud of points. More...

#include <vtkPointSource.h>

Inheritance diagram for vtkPointSource:

Inheritance graph
[legend]
Collaboration diagram for vtkPointSource:

Collaboration graph
[legend]
List of all members.

Public Methods

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 (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 (vtkIdType numPts=10)
 ~vtkPointSource ()
void Execute ()
void ExecuteInformation ()

Protected Attributes

vtkIdType NumberOfPoints
float Center [3]
float Radius
int Distribution

Detailed Description

create a random cloud of points.

Date:
2001/10/11 13:37:11
Revision:
1.39

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.

Examples:
vtkPointSource (Examples)
Tests:
vtkPointSource (Tests)

Definition at line 65 of file vtkPointSource.h.


Constructor & Destructor Documentation

vtkPointSource::vtkPointSource vtkIdType    numPts = 10 [protected]
 

vtkPointSource::~vtkPointSource   [inline, protected]
 

Definition at line 105 of file vtkPointSource.h.


Member Function Documentation

vtkPointSource* vtkPointSource::New   [static]
 

Instantiate object with no start, end, or progress methods.

Reimplemented from vtkPolyDataSource.

virtual const char* vtkPointSource::GetClassName   [virtual]
 

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.

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 vtkTypeMacro 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 vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkPolyDataSource.

vtkPointSource* vtkPointSource::SafeDownCast vtkObject   o [static]
 

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.

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 vtkSource.

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 float   ,
float   ,
float   
[virtual]
 

Set the center of the point cloud.

virtual void vtkPointSource::SetCenter float   [3] [virtual]
 

Set the center of the point cloud.

virtual float* vtkPointSource::GetCenter   [virtual]
 

Set the center of the point cloud.

virtual void vtkPointSource::GetCenter float    data[3] [virtual]
 

Set the center of the point cloud.

virtual void vtkPointSource::SetRadius float    [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 float 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 and empty sphere.

void vtkPointSource::SetDistributionToUniform   [inline]
 

Specify the distribution to use. The default is a uniform distribution. The Shell distribution produces and empty sphere.

Definition at line 96 of file vtkPointSource.h.

void vtkPointSource::SetDistributionToShell   [inline]
 

Specify the distribution to use. The default is a uniform distribution. The Shell distribution produces and empty sphere.

Definition at line 98 of file vtkPointSource.h.

virtual int vtkPointSource::GetDistribution   [virtual]
 

Specify the distribution to use. The default is a uniform distribution. The Shell distribution produces and empty sphere.

void vtkPointSource::Execute   [protected, virtual]
 

This method is the old style execute method

Reimplemented from vtkSource.

void vtkPointSource::ExecuteInformation   [protected, virtual]
 

Reimplemented from vtkSource.


Member Data Documentation

vtkIdType vtkPointSource::NumberOfPoints [protected]
 

Definition at line 110 of file vtkPointSource.h.

float vtkPointSource::Center[3] [protected]
 

Definition at line 111 of file vtkPointSource.h.

float vtkPointSource::Radius [protected]
 

Definition at line 112 of file vtkPointSource.h.

int vtkPointSource::Distribution [protected]
 

Definition at line 113 of file vtkPointSource.h.


The documentation for this class was generated from the following file:
Generated on Thu Mar 28 14:39:25 2002 for VTK by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001