VTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
vtkPointSet Class Reference

abstract class for specifying dataset behavior More...

#include <vtkPointSet.h>

Inheritance diagram for vtkPointSet:
Inheritance graph
[legend]
Collaboration diagram for vtkPointSet:
Collaboration graph
[legend]

List of all members.

Public Types

typedef vtkDataSet Superclass

Public Member Functions

virtual int IsA (const char *type)
vtkPointSetNewInstance () const
void PrintSelf (ostream &os, vtkIndent indent)
void Initialize ()
void CopyStructure (vtkDataSet *pd)
unsigned long GetMTime ()
void ComputeBounds ()
void Squeeze ()
unsigned long GetActualMemorySize ()
vtkIdType GetNumberOfPoints ()
doubleGetPoint (vtkIdType ptId)
void GetPoint (vtkIdType ptId, double x[3])
virtual vtkIdType FindPoint (double x[3])
vtkIdType FindPoint (double x, double y, double z)
virtual vtkIdType FindCell (double x[3], vtkCell *cell, vtkIdType cellId, double tol2, int &subId, double pcoords[3], double *weights)
virtual 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)
virtual void Register (vtkObjectBase *o)
virtual void UnRegister (vtkObjectBase *o)

Static Public Member Functions

static int IsTypeOf (const char *type)
static vtkPointSetSafeDownCast (vtkObjectBase *o)
static vtkPointSetGetData (vtkInformation *info)
static vtkPointSetGetData (vtkInformationVector *v, int i=0)

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 vtkPointSet ()
 ~vtkPointSet ()
virtual void ReportReferences (vtkGarbageCollector *)

Protected Attributes

vtkPointsPoints
vtkPointLocatorLocator

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
Tests:
vtkPointSet (Tests)

Definition at line 41 of file vtkPointSet.h.


Member Typedef Documentation

Reimplemented from vtkDataSet.

Reimplemented in vtkPolyData, vtkUnstructuredGrid, vtkLabelHierarchy, vtkStructuredGrid, and vtkPath.

Definition at line 44 of file vtkPointSet.h.


Constructor & Destructor Documentation

vtkPointSet::vtkPointSet ( ) [protected]
vtkPointSet::~vtkPointSet ( ) [protected]

Member Function Documentation

static int vtkPointSet::IsTypeOf ( const char *  name) [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 vtkDataSet.

Reimplemented in vtkPolyData, vtkUnstructuredGrid, vtkLabelHierarchy, vtkStructuredGrid, and vtkPath.

virtual int vtkPointSet::IsA ( const char *  name) [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 vtkDataSet.

Reimplemented in vtkPolyData, vtkUnstructuredGrid, vtkLabelHierarchy, vtkStructuredGrid, and vtkPath.

virtual vtkObjectBase* vtkPointSet::NewInstanceInternal ( ) const [protected, virtual]
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, vtkUnstructuredGrid, vtkLabelHierarchy, vtkStructuredGrid, and vtkPath.

void vtkPointSet::Initialize ( ) [virtual]

Reset to an empty state and free any memory.

Reimplemented from vtkDataSet.

Reimplemented in vtkPolyData, vtkUnstructuredGrid, and vtkStructuredGrid.

void vtkPointSet::CopyStructure ( vtkDataSet pd) [virtual]

Copy the geometric structure of an input point set object.

Implements vtkDataSet.

Reimplemented in vtkUnstructuredGrid, vtkPolyData, and vtkStructuredGrid.

See vtkDataSet for additional information.

Implements vtkDataSet.

Reimplemented in vtkStructuredGrid.

Definition at line 128 of file vtkPointSet.h.

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

See vtkDataSet for additional information.

Implements vtkDataSet.

Reimplemented in vtkStructuredGrid.

Definition at line 56 of file vtkPointSet.h.

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

See vtkDataSet for additional information.

Reimplemented from vtkDataSet.

Reimplemented in vtkStructuredGrid.

Definition at line 57 of file vtkPointSet.h.

virtual 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 59 of file vtkPointSet.h.

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

virtual 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 vtkUnstructuredGrid, and vtkPolyData.

virtual void vtkPointSet::SetPoints ( vtkPoints ) [virtual]

Specify point array to define point coordinates.

Reimplemented in vtkLabelHierarchy.

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, vtkUnstructuredGrid, and vtkStructuredGrid.

void vtkPointSet::ShallowCopy ( vtkDataObject src) [virtual]

Shallow and Deep copy.

Reimplemented from vtkDataSet.

Reimplemented in vtkPolyData, vtkUnstructuredGrid, and vtkStructuredGrid.

void vtkPointSet::DeepCopy ( vtkDataObject src) [virtual]

Shallow and Deep copy.

Reimplemented from vtkDataSet.

Reimplemented in vtkPolyData, vtkUnstructuredGrid, and vtkStructuredGrid.

virtual void vtkPointSet::Register ( vtkObjectBase o) [virtual]

Overwritten to handle the data/locator loop

Reimplemented from vtkObjectBase.

virtual void vtkPointSet::UnRegister ( vtkObjectBase o) [virtual]

Overwritten to handle the data/locator loop

Reimplemented from vtkObjectBase.

static vtkPointSet* vtkPointSet::GetData ( vtkInformation info) [static]

Retrieve an instance of this class from an information object.

Reimplemented from vtkDataSet.

Reimplemented in vtkPolyData, vtkUnstructuredGrid, vtkStructuredGrid, and vtkPath.

static vtkPointSet* vtkPointSet::GetData ( vtkInformationVector v,
int  i = 0 
) [static]

Retrieve an instance of this class from an information object.

Reimplemented from vtkDataSet.

Reimplemented in vtkPolyData, vtkUnstructuredGrid, vtkStructuredGrid, and vtkPath.

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

Reimplemented from vtkObjectBase.


Member Data Documentation

Definition at line 116 of file vtkPointSet.h.

Definition at line 117 of file vtkPointSet.h.


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