VTK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
vtkPointSet Class Reference

abstract class for specifying dataset behavior More...

#include <vtkPointSet.h>

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

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 ()
 
double * GetPoint (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
 
vtkPointLocator * Locator
 

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

typedef vtkDataSet vtkPointSet::Superclass

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 *  type)
static
virtual int vtkPointSet::IsA ( const char *  type)
virtual

Reimplemented in vtkUnstructuredGrid, and vtkPath.

static vtkPointSet* vtkPointSet::SafeDownCast ( vtkObjectBase o)
static
virtual vtkObjectBase* vtkPointSet::NewInstanceInternal ( ) const
protectedvirtual

Reimplemented in vtkUnstructuredGrid, and vtkPath.

vtkPointSet* vtkPointSet::NewInstance ( ) const
void vtkPointSet::PrintSelf ( ostream &  os,
vtkIndent  indent 
)
void vtkPointSet::Initialize ( )

Reset to an empty state and free any memory.

void vtkPointSet::CopyStructure ( vtkDataSet *  pd)

Copy the geometric structure of an input point set object.

vtkIdType vtkPointSet::GetNumberOfPoints ( )
inline

See vtkDataSet for additional information.

Definition at line 128 of file vtkPointSet.h.

double* vtkPointSet::GetPoint ( vtkIdType  ptId)
inline

See vtkDataSet for additional information.

Definition at line 56 of file vtkPointSet.h.

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

See vtkDataSet for additional information.

Definition at line 57 of file vtkPointSet.h.

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

See vtkDataSet for additional information.

vtkIdType vtkPointSet::FindPoint ( double  x,
double  y,
double  z 
)
inline

See vtkDataSet for additional information.

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.

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.

unsigned long vtkPointSet::GetMTime ( )

Get MTime which also considers its vtkPoints MTime.

void vtkPointSet::ComputeBounds ( )

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

void vtkPointSet::Squeeze ( )

Reclaim any unused memory.

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 ( )

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.

void vtkPointSet::ShallowCopy ( vtkDataObject src)

Shallow and Deep copy.

void vtkPointSet::DeepCopy ( vtkDataObject src)

Shallow and Deep copy.

virtual void vtkPointSet::Register ( vtkObjectBase o)
virtual

Overwritten to handle the data/locator loop

virtual void vtkPointSet::UnRegister ( vtkObjectBase o)
virtual

Overwritten to handle the data/locator loop

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

Retrieve an instance of this class from an information object.

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

Retrieve an instance of this class from an information object.

virtual void vtkPointSet::ReportReferences ( vtkGarbageCollector )
protectedvirtual

Member Data Documentation

vtkPoints* vtkPointSet::Points
protected

Definition at line 116 of file vtkPointSet.h.

vtkPointLocator* vtkPointSet::Locator
protected

Definition at line 117 of file vtkPointSet.h.


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