VTK
|
abstract class for specifying dataset behavior More...
#include <vtkPointSet.h>
Public Types | |
typedef vtkDataSet | Superclass |
![]() | |
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 vtkPoints * | GetPoints () |
void | ShallowCopy (vtkDataObject *src) |
void | DeepCopy (vtkDataObject *src) |
![]() | |
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 () |
vtkPointData * | GetPointData () |
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 vtkFieldData * | GetAttributesAsFieldData (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 vtkPointSet * | SafeDownCast (vtkObject *o) |
static vtkPointSet * | GetData (vtkInformation *info) |
static vtkPointSet * | GetData (vtkInformationVector *v, int i=0) |
![]() | |
static int | IsTypeOf (const char *type) |
static vtkDataSet * | SafeDownCast (vtkObject *o) |
static vtkDataSet * | GetData (vtkInformation *info) |
static vtkDataSet * | GetData (vtkInformationVector *v, int i=0) |
Protected Member Functions | |
vtkPointSet () | |
~vtkPointSet () | |
virtual void | ReportReferences (vtkGarbageCollector *) |
![]() | |
vtkDataSet () | |
~vtkDataSet () | |
virtual void | ComputeScalarRange () |
Protected Attributes | |
vtkPoints * | Points |
vtkPointLocator * | Locator |
![]() | |
vtkCellData * | CellData |
vtkPointData * | PointData |
vtkTimeStamp | ComputeTime |
double | Bounds [6] |
double | Center [3] |
double | ScalarRange [2] |
vtkTimeStamp | ScalarRangeComputeTime |
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.
Definition at line 40 of file vtkPointSet.h.
typedef vtkDataSet vtkPointSet::Superclass |
Definition at line 43 of file vtkPointSet.h.
|
protected |
|
protected |
|
virtual |
Reimplemented from vtkDataSet.
Reimplemented in vtkPolyData, and vtkStructuredGrid.
|
static |
|
virtual |
Reimplemented from vtkDataSet.
Reimplemented in vtkPolyData, and vtkStructuredGrid.
|
static |
void vtkPointSet::PrintSelf | ( | ostream & | os, |
vtkIndent | indent | ||
) |
void vtkPointSet::Initialize | ( | ) |
Reset to an empty state and free any memory.
|
virtual |
Copy the geometric structure of an input point set object.
Implements vtkDataSet.
Reimplemented in vtkPolyData, and vtkStructuredGrid.
|
inlinevirtual |
See vtkDataSet for additional information.
Implements vtkDataSet.
Reimplemented in vtkStructuredGrid.
Definition at line 121 of file vtkPointSet.h.
|
inlinevirtual |
See vtkDataSet for additional information.
Implements vtkDataSet.
Reimplemented in vtkStructuredGrid.
Definition at line 55 of file vtkPointSet.h.
|
inlinevirtual |
See vtkDataSet for additional information.
Reimplemented from vtkDataSet.
Reimplemented in vtkStructuredGrid.
Definition at line 56 of file vtkPointSet.h.
|
virtual |
See vtkDataSet for additional information.
Implements vtkDataSet.
|
inline |
See vtkDataSet for additional information.
Definition at line 58 of file vtkPointSet.h.
|
virtual |
See vtkDataSet for additional information.
Implements vtkDataSet.
|
virtual |
See vtkDataSet for additional information.
Implements vtkDataSet.
unsigned long vtkPointSet::GetMTime | ( | ) |
Get MTime which also considers its vtkPoints MTime.
|
virtual |
Compute the (X, Y, Z) bounds of the data.
Reimplemented from vtkDataSet.
Reimplemented in vtkPolyData.
|
virtual |
|
virtual |
Specify point array to define point coordinates.
|
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 |
Retrieve an instance of this class from an information object.
|
static |
Retrieve an instance of this class from an information object.
|
protectedvirtual |
|
protected |
Definition at line 109 of file vtkPointSet.h.
|
protected |
Definition at line 110 of file vtkPointSet.h.