46 #include "vtkCommonDataModelModule.h"
54 VTK_ABI_NAMESPACE_BEGIN
90 vtkSetMacro(Editable,
bool);
91 vtkGetMacro(Editable,
bool);
92 vtkBooleanMacro(Editable,
bool);
114 double pcoords[3],
double* weights)
override;
116 double tol2,
int& subId,
double pcoords[3],
double* weights)
override;
127 using Superclass::GetCell;
178 void BuildPointLocator();
186 void BuildCellLocator();
295 VTK_ABI_NAMESPACE_END
vtkIdType GetCellSize(vtkIdType) override
This method always returns 1, as all cells are point in a pure vtkPointSet.
vtkIdType GetNumberOfPoints() override
See vtkDataSet for additional information.
static vtkDataObject * New()
virtual vtkIdType FindCell(double x[3], vtkCell *cell, vtkIdType cellId, double tol2, int &subId, double pcoords[3], double *weights)=0
Locate cell based on global coordinate x and tolerance squared.
vtkTypeUInt32 vtkMTimeType
virtual vtkIdType GetNumberOfPoints()=0
Determine the number of points composing the dataset.
abstract class to specify dataset behavior
int GetDataObjectType() override
Standard vtkDataSet API methods.
void Reset()
Reset to an empty state but retain previously allocated memory.
an abstract base class for locators which find cells
void GetCellPoints(vtkIdType, vtkIdList *idList) override
Topological inquiry to get points defining cell.
virtual void ComputeBounds()
Compute the data bounding box from data points.
concrete class for storing a set of points
vtkIdType GetNumberOfCells() override
This method always returns 0, as there are no cells in a vtkPointSet.
an empty cell used as a place-holder during processing
vtkAbstractPointLocator * PointLocator
virtual void Squeeze()
Reclaim any extra memory used to store data.
int GetCellType(vtkIdType) override
This method always returns VTK_EMPTY_CELL, as there is no cell in a vtkPointSet.
vtkIdType FindPoint(double x, double y, double z)
See vtkDataSet for additional information.
static vtkDataSet * GetData(vtkInformation *info)
Retrieve an instance of this class from an information object.
double * GetPoint(vtkIdType ptId) override
See vtkDataSet for additional information.
Detect and break reference loops.
provides thread-safe access to cells
void GetCell(vtkIdType, vtkGenericCell *cell) override
This method sets cell to be an empty cell.
bool UsesGarbageCollector() const override
Overwritten to handle the data/locator loop.
abstract class to specify cell behavior
unsigned long GetActualMemorySize() override
Return the actual size of the data in kibibytes (1024 bytes).
a simple class to control print indentation
virtual void ReportReferences(vtkGarbageCollector *)
abstract class to quickly locate points in 3-space
list of point or cell ids
virtual void GetCellPoints(vtkIdType cellId, vtkIdList *ptIds)=0
Topological inquiry to get points defining cell.
vtkMTimeType GetMTime() override
Datasets are composite objects and need to check each part for MTime THIS METHOD IS THREAD SAFE...
virtual vtkCellIterator * NewCellIterator()
Return an iterator that traverses the cells in this data set.
void DeepCopy(vtkDataObject *src) override
Shallow and Deep copy.
#define VTK_SIZEHINT(...)
vtkIdType GetNumberOfPoints() const
Return number of points in array.
void GetPoint(vtkIdType ptId, double x[3]) override
See vtkDataSet for additional information.
int GetMaxCellSize() override
This method always returns 0, as there are no cells in a vtkPointSet.
void Initialize() override
Restore data object to initial state.
void BuildLocator()
Build the internal point locator .
void GetPointCells(vtkIdType, vtkIdList *idList) override
Topological inquiry to get cells using point.
virtual void CopyStructure(vtkDataSet *ds)=0
Copy the geometric and topological structure of an object.
void ShallowCopy(vtkDataObject *src) override
Shallow and Deep copy.
Efficient cell iterator for vtkDataSet topologies.
general representation of visualization data
vtkIdType FindPoint(double x, double y, double z)
Locate the closest point to the global coordinate x.
virtual vtkCell * GetCell(vtkIdType cellId)=0
Get cell with cellId such that: 0 <= cellId < NumberOfCells.
represent and manipulate 3D points
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void SetCellTypeToEmptyCell()
vtkAbstractCellLocator * CellLocator