Go to the documentation of this file.
35 #include "vtkCommonDataModelModule.h"
64 {this->Points->GetPoint(ptId,x);};
69 double tol2,
int& subId,
double pcoords[3],
70 double *weights)
override;
73 double tol2,
int& subId,
double pcoords[3],
74 double *weights)
override;
84 {
return this->Points->GetPoint(ptId);};
represent and manipulate 3D points
virtual vtkIdType GetNumberOfPoints()=0
Determine the number of points composing the dataset.
vtkIdType FindCell(double x[3], vtkCell *cell, vtkIdType cellId, double tol2, int &subId, double pcoords[3], double *weights) override
Locate cell based on global coordinate x and tolerance squared.
vtkPointLocator * Locator
quickly locate points in 3-space
virtual void SetPoints(vtkPoints *)
Specify point array to define point coordinates.
void Squeeze() override
Reclaim any unused memory.
vtkIdType FindPoint(double x, double y, double z)
void Register(vtkObjectBase *o) override
Overwritten to handle the data/locator loop.
double * GetPoint(vtkIdType ptId) override
See vtkDataSet for additional information.
static vtkPointSet * GetData(vtkInformation *info)
Retrieve an instance of this class from an information object.
vtkIdType GetNumberOfPoints()
Return number of points in array.
vtkIdType FindCell(double x[3], vtkCell *cell, vtkGenericCell *gencell, vtkIdType cellId, double tol2, int &subId, double pcoords[3], double *weights) override
This is a version of the above method that can be used with multithreaded applications.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
#define VTK_SIZEHINT(...)
vtkIdType FindPoint(double x, double y, double z)
Locate the closest point to the global coordinate x.
void DeepCopy(vtkDataObject *src) override
abstract base class for most VTK objects
abstract class to specify cell behavior
a simple class to control print indentation
void Initialize() override
Reset to an empty state and free any memory.
vtkMTimeType GetMTime() override
Get MTime which also considers its vtkPoints MTime.
void GetPoint(vtkIdType ptId, double x[3]) override
Copy point coordinates into user provided array x[3] for specified point id.
Detect and break reference loops.
void UnRegister(vtkObjectBase *o) override
Decrease the reference count (release by another object).
abstract class to specify dataset behavior
vtkCellIterator * NewCellIterator() override
Return an iterator that traverses the cells in this data set.
abstract class for specifying dataset behavior
void ShallowCopy(vtkDataObject *src) override
Shallow and Deep copy.
provides thread-safe access to cells
Efficient cell iterator for vtkDataSet topologies.
general representation of visualization data
unsigned long GetActualMemorySize() override
Return the actual size of the data in kibibytes (1024 bytes).
void CopyStructure(vtkDataSet *pd) override
Copy the geometric structure of an input point set object.
void ReportReferences(vtkGarbageCollector *) override
static vtkPointSet * GetData(vtkInformationVector *v, int i=0)
void ComputeBounds() override
Compute the (X, Y, Z) bounds of the data.
vtkTypeUInt32 vtkMTimeType
vtkIdType FindPoint(double x[3]) override
vtkIdType GetNumberOfPoints() override
See vtkDataSet for additional information.