46 #include "vtkCommonDataModelModule.h"
54 VTK_ABI_NAMESPACE_BEGIN
90 vtkSetMacro(Editable,
bool);
91 vtkGetMacro(Editable,
bool);
92 vtkBooleanMacro(Editable,
bool);
112 using Superclass::FindCell;
114 double tol2,
int& subId,
double pcoords[3],
double* weights)
override;
125 using Superclass::GetCell;
176 void BuildPointLocator();
178 void BuildLocator() { this->BuildPointLocator(); }
185 void BuildCellLocator();
197 vtkGetObjectMacro(PointLocator, vtkAbstractPointLocator);
208 vtkGetObjectMacro(CellLocator, vtkAbstractCellLocator);
219 void ComputeBounds() override;
224 void Squeeze() override;
231 vtkPoints* GetPoints()
override {
return this->Points; }
297 VTK_ABI_NAMESPACE_END
int GetDataObjectType() VTK_FUTURE_CONST override
Standard vtkDataSet API methods.
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()
vtkTypeUInt32 vtkMTimeType
virtual vtkIdType GetNumberOfPoints()=0
Determine the number of points composing the dataset.
abstract class to specify dataset behavior
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.
concrete class for storing a set of points
vtkIdType GetNumberOfCells() override
This method always returns 0, as there are no cells in a vtkPointSet.
vtkAbstractPointLocator * PointLocator
int GetCellType(vtkIdType) override
This method always returns VTK_EMPTY_CELL, as there is no cell in a vtkPointSet.
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.
virtual vtkCellIterator * NewCellIterator()
Return an iterator that traverses the cells in this data set.
void DeepCopy(vtkDataObject *src) override
Shallow and Deep copy.
virtual vtkIdType FindCell(double x[3], vtkCell *cell, vtkIdType cellId, double tol2, int &subId, double pcoords[3], double *weights)
Locate cell based on global coordinate x and tolerance squared.
#define VTK_SIZEHINT(...)
#define VTK_MARSHALEXCLUDE(reason)
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 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.
#define VTK_MARSHAL_EXCLUDE_REASON_NOT_SUPPORTED
general representation of visualization data
vtkIdType FindPoint(double x, double y, double z)
Locate the closest point to the global coordinate x.
#define VTK_DEPRECATED_IN_9_7_0(reason)
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