NAME
vtkPointSet - abstract class for specifying dataset behavior
SYNOPSIS
#include "/opt/vtk-c++/common/vtkPointSet.h"
class VTK_EXPORT vtkPointSet : public vtkDataSet
vtkPointSet();
~vtkPointSet();
vtkPointSet(const vtkPointSet& ps);
const char *GetClassName() {return "vtkPointSet";};
void PrintSelf(ostream& os, vtkIndent indent);
void Initialize();
void CopyStructure(vtkDataSet *pd);
int GetNumberOfPoints();
float *GetPoint(int ptId) {return this->Points->GetPoint(ptId);};
void GetPoint(int ptId, float x[3]) {this->Points->GetPoint(ptId,x);};
int FindPoint(float x[3]);
int FindCell(float x[3], vtkCell *cell, int cellId, float tol2, int& subId,
float pcoords[3], float *weights);
unsigned long int GetMTime();
void ComputeBounds();
void Squeeze();
vtkPoints *GetPoints();
DESCRIPTION
vtkPointSet is an abstract class that specifies the interface for datasets that explicitly use "point" arrays to represent geometry. For example, vtkPolyData and vtkUnstructuredGrid require point arrays to specify point position,
while vtkStructuredPoints generates point positions
implicitly.
SEE ALSO
vtkPolyData vtkStructuredGrid vtkUnstructuredGrid
SUMMARY
vtkPoints *GetPoints();
Specify point array to define point coordinates.
void CopyStructure(vtkDataSet *ds)
Copy the geometric structure of an input point set object.