 |
VTK
9.1.0
|
Go to the documentation of this file.
94 #include "vtkCommonDataModelModule.h"
132 vtkSetMacro(Editable,
bool);
133 vtkGetMacro(Editable,
bool);
134 vtkBooleanMacro(Editable,
bool);
156 double pcoords[3],
double* weights)
override;
158 double tol2,
int& subId,
double pcoords[3],
double* weights)
override;
169 using Superclass::GetCell;
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
See vtkDataSet for additional information.
void BuildCellLocator()
Build the cell locator.
an empty cell used as a place-holder during processing
vtkIdType GetNumberOfCells() override
This method always returns 0, as there are no cells in a vtkPointSet.
virtual void SetPoints(vtkPoints *)
Specify point array to define point coordinates.
void Squeeze() override
Reclaim any unused memory.
vtkAbstractPointLocator * PointLocator
vtkIdType FindPoint(double x, double y, double z)
See vtkDataSet for additional information.
void Register(vtkObjectBase *o) override
Overwritten to handle the data/locator loop.
void GetCellPoints(vtkIdType, vtkIdList *idList) override
This method resets parameter idList, as there is no cell in a vtkPointSet.
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.
void GetCell(vtkIdType, vtkGenericCell *cell) override
This method sets cell to be an empty cell.
int GetCellType(vtkIdType) override
This method always returns VTK_EMPTY_CELL, as there is no cell in a vtkPointSet.
vtkIdType FindCell(double x[3], vtkCell *cell, vtkGenericCell *gencell, vtkIdType cellId, double tol2, int &subId, double pcoords[3], double *weights) override
See vtkDataSet for additional information.
void PrintSelf(ostream &os, vtkIndent indent) override
Standard methdos for type information and printing.
#define VTK_SIZEHINT(...)
vtkIdType FindPoint(double x, double y, double z)
Locate the closest point to the global coordinate x.
virtual void SetPointLocator(vtkAbstractPointLocator *)
Set / get an instance of vtkAbstractPointLocator which is used to support the FindPoint() and FindCel...
void DeepCopy(vtkDataObject *src) override
Shallow and Deep copy.
abstract base class for most VTK objects
abstract class to specify cell behavior
a simple class to control print indentation
static vtkPointSet * New()
Standard instantiation method.
list of point or cell ids
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
See vtkDataSet for additional information.
an abstract base class for locators which find cells
Detect and break reference loops.
void UnRegister(vtkObjectBase *o) override
Overwritten to handle the data/locator loop.
void BuildLocator()
Build the internal point locator .
abstract class to specify dataset behavior
vtkCellIterator * NewCellIterator() override
Return an iterator that traverses the cells in this data set.
int GetMaxCellSize() override
This method always returns 0, as there are no cells in a vtkPointSet.
static vtkPointSet * ExtendedNew()
concrete class for storing a set of points
void SetCellTypeToEmptyCell()
void BuildPointLocator()
Build the internal point locator .
void ShallowCopy(vtkDataObject *src) override
Shallow and Deep copy.
abstract class to quickly locate points in 3-space
vtkCell * GetCell(vtkIdType) override
This method always return a vtkEmptyCell, as there is no cell in a vtkPointSet.
provides thread-safe access to cells
void GetPointCells(vtkIdType, vtkIdList *idList) override
This method resets parameter idList, as there is no cell in a vtkPointSet.
Efficient cell iterator for vtkDataSet topologies.
virtual void SetCellLocator(vtkAbstractCellLocator *)
Set / get an instance of vtkAbstractCellLocator which may be used when a vtkCellLocatorStrategy is us...
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.
vtkAbstractCellLocator * CellLocator
void ReportReferences(vtkGarbageCollector *) override
static vtkPointSet * GetData(vtkInformationVector *v, int i=0)
Retrieve an instance of this class from an information object.
vtkIdType GetNumberOfPoints() const
Return number of points in array.
void ComputeBounds() override
Compute the (X, Y, Z) bounds of the data.
void Reset()
Reset to an empty state but retain previously allocated memory.
vtkTypeUInt32 vtkMTimeType
vtkIdType FindPoint(double x[3]) override
See vtkDataSet for additional information.
vtkIdType GetNumberOfPoints() override
See vtkDataSet for additional information.