 |
VTK
9.0.1
|
Go to the documentation of this file.
23 #include "vtkAcceleratorsVTKmModule.h"
129 double pcoords[3],
double* weights)
override;
137 double tol2,
int& subId,
double pcoords[3],
double* weights)
override;
192 std::shared_ptr<DataMembers> Internals;
195 #endif // vtkmDataSet_h
represent and manipulate 3D points
std::map< std::string, DataArray > DataSet
key: variable name, value: DataArray
void SetVtkmDataSet(const vtkm::cont::DataSet &ds)
int GetDataObjectType() override
Return the type of data object.
void GetCell(vtkIdType cellId, vtkGenericCell *cell) override
Get cell with cellId such that: 0 <= cellId < NumberOfCells.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkIdType GetNumberOfCells() override
Determine the number of cells 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.
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 DeepCopy(vtkDataObject *src) override
void ShallowCopy(vtkDataObject *src) override
Shallow and Deep copy.
static vtkmDataSet * New()
unsigned long GetActualMemorySize() override
Return the actual size of the data in kibibytes (1024 bytes).
double * GetPoint(vtkIdType ptId) override
Get point coordinates with ptId such that: 0 <= ptId < NumberOfPoints.
vtkm::cont::DataSet GetVtkmDataSet() const
void Initialize() override
Restore data object to initial state.
void Squeeze() override
Reclaim any extra memory used to store data.
vtkIdType GetNumberOfPoints() override
Determine the number of points composing the dataset.
#define VTK_SIZEHINT(...)
vtkIdType FindPoint(double x[3]) override
Locate the closest point to the global coordinate x.
abstract class to specify cell behavior
void ComputeBounds() override
Compute the data bounding box from data points.
void GetCellBounds(vtkIdType cellId, double bounds[6]) override
Get the bounds of the cell with cellId such that: 0 <= cellId < NumberOfCells.
a simple class to control print indentation
void GetCellPoints(vtkIdType cellId, vtkIdList *ptIds) override
Topological inquiry to get points defining cell.
list of point or cell ids
int GetCellType(vtkIdType cellId) override
Get type of cell with cellId such that: 0 <= cellId < NumberOfCells.
abstract class to specify dataset behavior
void GetPoint(vtkIdType id, double x[3]) override
Copy point coordinates into user provided array x[3] for specified point id.
void CopyStructure(vtkDataSet *ds) override
Copy the geometric and topological structure of an object.
void GetPointCells(vtkIdType ptId, vtkIdList *cellIds) override
Topological inquiry to get cells using point.
provides thread-safe access to cells
vtkCell * GetCell(vtkIdType cellId) override
Get cell with cellId such that: 0 <= cellId < NumberOfCells.
general representation of visualization data
virtual vtkCell * GetCell(vtkIdType cellId)=0
Get cell with cellId such that: 0 <= cellId < NumberOfCells.
int GetMaxCellSize() override
Convenience method returns largest cell size in dataset.