VTK
|
abstract class for specifying dataset behavior More...
#include <vtkPointSet.h>
Public Types | |
typedef vtkDataSet | Superclass |
Public Member Functions | |
virtual int | IsA (const char *type) |
vtkPointSet * | NewInstance () 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 vtkPoints * | GetPoints () |
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 vtkPointSet * | SafeDownCast (vtkObjectBase *o) |
static vtkPointSet * | GetData (vtkInformation *info) |
static vtkPointSet * | GetData (vtkInformationVector *v, int i=0) |
Protected Member Functions | |
virtual vtkObjectBase * | NewInstanceInternal () const |
vtkPointSet () | |
~vtkPointSet () | |
virtual void | ReportReferences (vtkGarbageCollector *) |
Protected Attributes | |
vtkPoints * | Points |
vtkPointLocator * | Locator |
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 41 of file vtkPointSet.h.
typedef vtkDataSet vtkPointSet::Superclass |
Definition at line 44 of file vtkPointSet.h.
|
protected |
|
protected |
|
static |
|
virtual |
Reimplemented in vtkUnstructuredGrid, and vtkPath.
|
static |
|
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.
|
inline |
See vtkDataSet for additional information.
Definition at line 128 of file vtkPointSet.h.
|
inline |
See vtkDataSet for additional information.
Definition at line 56 of file vtkPointSet.h.
|
inline |
See vtkDataSet for additional information.
Definition at line 57 of file vtkPointSet.h.
|
virtual |
See vtkDataSet for additional information.
|
inline |
See vtkDataSet for additional information.
Definition at line 59 of file vtkPointSet.h.
|
virtual |
See vtkDataSet for additional information.
|
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 |
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.
|
virtual |
Overwritten to handle the data/locator loop
|
virtual |
Overwritten to handle the data/locator loop
|
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 116 of file vtkPointSet.h.
|
protected |
Definition at line 117 of file vtkPointSet.h.