VTK
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 Types inherited from vtkDataSet
enum  FieldDataType { DATA_OBJECT_FIELD =0, POINT_DATA_FIELD =1, CELL_DATA_FIELD =2 }
 
typedef vtkDataObject 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])
 
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)
 
- Public Member Functions inherited from vtkDataSet
void PrintSelf (ostream &os, vtkIndent indent)
 
virtual void CopyAttributes (vtkDataSet *ds)
 
virtual vtkIdType GetNumberOfCells ()=0
 
virtual vtkCell * GetCell (vtkIdType cellId)=0
 
virtual void GetCell (vtkIdType cellId, vtkGenericCell *cell)=0
 
virtual void GetCellBounds (vtkIdType cellId, double bounds[6])
 
virtual int GetCellType (vtkIdType cellId)=0
 
virtual void GetCellTypes (vtkCellTypes *types)
 
virtual void GetCellPoints (vtkIdType cellId, vtkIdList *ptIds)=0
 
virtual void GetPointCells (vtkIdType ptId, vtkIdList *cellIds)=0
 
unsigned long int GetMTime ()
 
vtkCellData * GetCellData ()
 
vtkPointDataGetPointData ()
 
double * GetBounds ()
 
void GetBounds (double bounds[6])
 
double * GetCenter ()
 
void GetCenter (double center[3])
 
double GetLength ()
 
void Initialize ()
 
virtual void GetScalarRange (double range[2])
 
double * GetScalarRange ()
 
virtual int GetMaxCellSize ()=0
 
unsigned long GetActualMemorySize ()
 
int CheckAttributes ()
 
virtual void GenerateGhostLevelArray ()
 
virtual vtkFieldDataGetAttributesAsFieldData (int type)
 
virtual vtkIdType GetNumberOfElements (int type)
 
virtual void GetCellNeighbors (vtkIdType cellId, vtkIdList *ptIds, vtkIdList *cellIds)
 
vtkIdType FindPoint (double x, double y, double z)
 
virtual vtkCell * FindAndGetCell (double x[3], vtkCell *cell, vtkIdType cellId, double tol2, int &subId, double pcoords[3], double *weights)
 
int GetDataObjectType ()
 
void ShallowCopy (vtkDataObject *src)
 
void DeepCopy (vtkDataObject *src)
 

Static Public Member Functions

static int IsTypeOf (const char *type)
 
static vtkPointSetSafeDownCast (vtkObject *o)
 
static vtkPointSetGetData (vtkInformation *info)
 
static vtkPointSetGetData (vtkInformationVector *v, int i=0)
 
- Static Public Member Functions inherited from vtkDataSet
static int IsTypeOf (const char *type)
 
static vtkDataSetSafeDownCast (vtkObject *o)
 
static vtkDataSetGetData (vtkInformation *info)
 
static vtkDataSetGetData (vtkInformationVector *v, int i=0)
 

Protected Member Functions

 vtkPointSet ()
 
 ~vtkPointSet ()
 
virtual void ReportReferences (vtkGarbageCollector *)
 
- Protected Member Functions inherited from vtkDataSet
 vtkDataSet ()
 
 ~vtkDataSet ()
 
virtual void ComputeScalarRange ()
 

Protected Attributes

vtkPointsPoints
 
vtkPointLocator * Locator
 
- Protected Attributes inherited from vtkDataSet
vtkCellData * CellData
 
vtkPointDataPointData
 
vtkTimeStamp ComputeTime
 
double Bounds [6]
 
double Center [3]
 
double ScalarRange [2]
 
vtkTimeStamp ScalarRangeComputeTime
 

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

Member Typedef Documentation

Definition at line 43 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, and vtkStructuredGrid.

static int vtkPointSet::IsTypeOf ( const char *  type)
static
virtual int vtkPointSet::IsA ( const char *  type)
virtual

Reimplemented from vtkDataSet.

Reimplemented in vtkPolyData, and vtkStructuredGrid.

static vtkPointSet* vtkPointSet::SafeDownCast ( vtkObject o)
static
void vtkPointSet::PrintSelf ( ostream &  os,
vtkIndent  indent 
)
void vtkPointSet::Initialize ( )

Reset to an empty state and free any memory.

void vtkPointSet::CopyStructure ( vtkDataSet pd)
virtual

Copy the geometric structure of an input point set object.

Implements vtkDataSet.

Reimplemented in vtkPolyData, and vtkStructuredGrid.

vtkIdType vtkPointSet::GetNumberOfPoints ( )
inlinevirtual

See vtkDataSet for additional information.

Implements vtkDataSet.

Reimplemented in vtkStructuredGrid.

Definition at line 121 of file vtkPointSet.h.

double* vtkPointSet::GetPoint ( vtkIdType  ptId)
inlinevirtual

See vtkDataSet for additional information.

Implements vtkDataSet.

Reimplemented in vtkStructuredGrid.

Definition at line 55 of file vtkPointSet.h.

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

See vtkDataSet for additional information.

Reimplemented from vtkDataSet.

Reimplemented in vtkStructuredGrid.

Definition at line 56 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.

Definition at line 58 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 ( )

Get MTime which also considers its vtkPoints MTime.

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.

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.

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

vtkPointLocator* vtkPointSet::Locator
protected

Definition at line 110 of file vtkPointSet.h.


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