Main Page | Directories | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

vtkPointSet Class Reference

#include <vtkPointSet.h>

Inheritance diagram for vtkPointSet:

Inheritance graph
[legend]
Collaboration diagram for vtkPointSet:

Collaboration graph
[legend]
List of all members.

Detailed Description

abstract class for specifying dataset behavior

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
Created by:
  • Bertel, Francois
CVS contributions (if > 5%):
  • Bertel, Francois (98%)
CVS logs (CVSweb):
  • .h (/Filtering/vtkPointSet.h)
  • .cxx (/Filtering/vtkPointSet.cxx)

Definition at line 47 of file vtkPointSet.h.

Public Types

typedef vtkDataSet Superclass

Public Member Functions

virtual const char * GetClassName ()
virtual int IsA (const char *type)
void PrintSelf (ostream &os, vtkIndent indent)
void Initialize ()
void CopyStructure (vtkDataSet *pd)
unsigned long GetMTime ()
void ComputeBounds ()
void Squeeze ()
unsigned long GetActualMemorySize ()
vtkIdType GetNumberOfPoints ()
double * GetPoint (vtkIdType ptId)
void GetPoint (vtkIdType ptId, double x[3])
vtkIdType FindPoint (double x[3])
vtkIdType FindPoint (double x, double y, double z)
vtkIdType FindCell (double x[3], vtkCell *cell, vtkIdType cellId, double tol2, int &subId, double pcoords[3], double *weights)
vtkIdType FindCell (double x[3], vtkCell *cell, vtkGenericCell *gencell, vtkIdType cellId, double tol2, int &subId, double pcoords[3], double *weights)
virtual void SetPoints (vtkPoints *)
virtual vtkPointsGetPoints ()
void ShallowCopy (vtkDataObject *src)
void DeepCopy (vtkDataObject *src)

Static Public Member Functions

int IsTypeOf (const char *type)
vtkPointSetSafeDownCast (vtkObject *o)

Protected Member Functions

 vtkPointSet ()
 ~vtkPointSet ()
virtual void ReportReferences (vtkGarbageCollector *)
virtual void RemoveReferences ()

Protected Attributes

vtkPointsPoints
vtkPointLocatorLocator


Member Typedef Documentation

typedef vtkDataSet vtkPointSet::Superclass
 

Reimplemented from vtkDataSet.

Reimplemented in vtkPolyData, vtkStructuredGrid, and vtkUnstructuredGrid.

Definition at line 50 of file vtkPointSet.h.


Constructor & Destructor Documentation

vtkPointSet::vtkPointSet  )  [protected]
 

vtkPointSet::~vtkPointSet  )  [protected]
 


Member Function Documentation

virtual const char* vtkPointSet::GetClassName  )  [virtual]
 

Reimplemented from vtkDataSet.

Reimplemented in vtkPolyData, vtkStructuredGrid, and vtkUnstructuredGrid.

int vtkPointSet::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 vtkDataSet.

Reimplemented in vtkPolyData, vtkStructuredGrid, and vtkUnstructuredGrid.

virtual int vtkPointSet::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 vtkDataSet.

Reimplemented in vtkPolyData, vtkStructuredGrid, and vtkUnstructuredGrid.

vtkPointSet* vtkPointSet::SafeDownCast vtkObject o  )  [static]
 

Reimplemented from vtkDataSet.

Reimplemented in vtkPolyData, vtkStructuredGrid, and vtkUnstructuredGrid.

void vtkPointSet::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 vtkDataSet.

Reimplemented in vtkPolyData, vtkStructuredGrid, and vtkUnstructuredGrid.

void vtkPointSet::Initialize  )  [virtual]
 

Reset to an empty state and free any memory.

Reimplemented from vtkDataSet.

Reimplemented in vtkPolyData, vtkStructuredGrid, and vtkUnstructuredGrid.

void vtkPointSet::CopyStructure vtkDataSet pd  )  [virtual]
 

Copy the geometric structure of an input point set object.

Implements vtkDataSet.

Reimplemented in vtkPolyData, vtkStructuredGrid, and vtkUnstructuredGrid.

vtkIdType vtkPointSet::GetNumberOfPoints  )  [inline, virtual]
 

See vtkDataSet for additional information.

Implements vtkDataSet.

Reimplemented in vtkStructuredGrid.

Definition at line 115 of file vtkPointSet.h.

References vtkPoints::GetNumberOfPoints(), Points, and vtkIdType.

Referenced by vtkStructuredGrid::GetNumberOfPoints().

double* vtkPointSet::GetPoint vtkIdType  ptId  )  [inline, virtual]
 

See vtkDataSet for additional information.

Implements vtkDataSet.

Reimplemented in vtkStructuredGrid.

Definition at line 62 of file vtkPointSet.h.

References vtkIdType.

Referenced by vtkStructuredGrid::GetPoint().

void vtkPointSet::GetPoint vtkIdType  ptId,
double  x[3]
[inline, virtual]
 

See vtkDataSet for additional information.

Reimplemented from vtkDataSet.

Reimplemented in vtkStructuredGrid.

Definition at line 63 of file vtkPointSet.h.

References vtkIdType.

vtkIdType vtkPointSet::FindPoint double  x[3]  )  [virtual]
 

See vtkDataSet for additional information.

Implements vtkDataSet.

vtkIdType vtkPointSet::FindPoint double  x,
double  y,
double  z
[inline]
 

See vtkDataSet for additional information.

Reimplemented from vtkDataSet.

Definition at line 65 of file vtkPointSet.h.

References vtkDataSet::FindPoint(), and vtkIdType.

vtkIdType vtkPointSet::FindCell double  x[3],
vtkCell cell,
vtkIdType  cellId,
double  tol2,
int &  subId,
double  pcoords[3],
double *  weights
[virtual]
 

See vtkDataSet for additional information.

Implements vtkDataSet.

vtkIdType vtkPointSet::FindCell double  x[3],
vtkCell cell,
vtkGenericCell gencell,
vtkIdType  cellId,
double  tol2,
int &  subId,
double  pcoords[3],
double *  weights
[virtual]
 

See vtkDataSet for additional information.

Implements vtkDataSet.

unsigned long vtkPointSet::GetMTime  )  [virtual]
 

Get MTime which also considers its vtkPoints MTime.

Reimplemented from vtkDataSet.

void vtkPointSet::ComputeBounds  )  [virtual]
 

Compute the (X, Y, Z) bounds of the data.

Reimplemented from vtkDataSet.

Reimplemented in vtkPolyData.

void vtkPointSet::Squeeze  )  [virtual]
 

Reclaim any unused memory.

Reimplemented from vtkDataSet.

Reimplemented in vtkPolyData, and vtkUnstructuredGrid.

virtual void vtkPointSet::SetPoints vtkPoints  )  [virtual]
 

Specify point array to define point coordinates.

virtual vtkPoints* vtkPointSet::GetPoints  )  [virtual]
 

Specify point array to define point coordinates.

unsigned long vtkPointSet::GetActualMemorySize  )  [virtual]
 

Return the actual size of the data in kilobytes. This number is valid only after the pipeline has updated. The memory size returned is guaranteed to be greater than or equal to the memory required to represent the data (e.g., extra space in arrays, etc. are not included in the return value). THIS METHOD IS THREAD SAFE.

Reimplemented from vtkDataSet.

Reimplemented in vtkPolyData, vtkStructuredGrid, and vtkUnstructuredGrid.

void vtkPointSet::ShallowCopy vtkDataObject src  )  [virtual]
 

Shallow and Deep copy.

Reimplemented from vtkDataSet.

Reimplemented in vtkPolyData, vtkStructuredGrid, and vtkUnstructuredGrid.

void vtkPointSet::DeepCopy vtkDataObject src  )  [virtual]
 

Shallow and Deep copy.

Reimplemented from vtkDataSet.

Reimplemented in vtkPolyData, vtkStructuredGrid, and vtkUnstructuredGrid.

virtual void vtkPointSet::ReportReferences vtkGarbageCollector  )  [protected, virtual]
 

Reimplemented from vtkDataObject.

virtual void vtkPointSet::RemoveReferences  )  [protected, virtual]
 

Reimplemented from vtkDataObject.


Member Data Documentation

vtkPoints* vtkPointSet::Points [protected]
 

Definition at line 105 of file vtkPointSet.h.

Referenced by GetNumberOfPoints().

vtkPointLocator* vtkPointSet::Locator [protected]
 

Definition at line 106 of file vtkPointSet.h.


The documentation for this class was generated from the following file: