37 #include "vtkCommonDataModelModule.h"
44 VTK_ABI_NAMESPACE_BEGIN
68 virtual void CopyStructure(
vtkDataSet* ds) = 0;
81 virtual vtkIdType GetNumberOfPoints() = 0;
130 virtual vtkCell*
GetCell(
int vtkNotUsed(i),
int vtkNotUsed(j),
int vtkNotUsed(k))
132 vtkErrorMacro(
"ijk indices are only valid with structured data!");
158 virtual void GetCellBounds(
vtkIdType cellId,
double bounds[6]);
189 virtual
void GetCellTypes(
vtkCellTypes* types) { this->GetDistinctCellTypes(types); }
254 return this->FindPoint(xyz);
256 virtual vtkIdType FindPoint(
double x[3]) = 0;
271 double pcoords[3],
double* weights);
281 double tol2,
int& subId,
double pcoords[3],
double* weights) = 0;
292 int& subId,
double pcoords[3],
double* weights);
316 virtual void Squeeze();
322 virtual void ComputeBounds();
350 void GetCenter(
double center[3]);
381 double GetSampledMaxCellLength2(
vtkIdType numSamples = 100);
387 void Initialize() override;
399 virtual
void GetScalarRange(
double range[2]);
410 double* GetScalarRange() VTK_SIZEHINT(2);
417 virtual
int GetMaxCellSize() = 0;
427 virtual
int GetMaxSpatialDimension();
428 virtual
int GetMinSpatialDimension();
439 unsigned long GetActualMemorySize() override;
444 int GetDataObjectType() VTK_FUTURE_CONST
override {
return VTK_DATA_SET; }
456 DATA_OBJECT_FIELD = 0,
457 POINT_DATA_FIELD = 1,
469 int CheckAttributes();
478 virtual void GenerateGhostArray(
int zeroExt[6],
bool cellOnly);
517 bool HasAnyGhostCells();
522 bool HasAnyGhostPoints();
586 virtual void ComputeScalarRange();
596 double ScalarRange[2];
619 VTK_ABI_NAMESPACE_END
virtual vtkUnsignedCharArray * GetGhostArray(int type)
Returns the ghost arrays of the data object of the specified attribute type.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
static vtkDataObject * GetData(vtkInformation *info)
Retrieve an instance of this class from an information object.
virtual void GenerateGhostArray(int zeroExt[6])
Normally called by pipeline executives or algorithms only.
void GetBounds(T a, double bds[6])
virtual vtkFieldData * GetAttributesAsFieldData(int type)
Returns the attributes of the data object as a vtkFieldData.
represent and manipulate point attribute data
vtkTypeUInt32 vtkMTimeType
abstract class to specify dataset behavior
record modification and/or execution time
represent and manipulate cell attribute data
vtkCellData * GetCellData()
Return a pointer to this dataset's cell data.
virtual bool SupportsGhostArray(int type)
Returns if this type of data object support ghost array for specified type.
virtual bool HasAnyBlankCells()
Returns 1 if there are any blanking cells 0 otherwise.
provides thread-safe access to cells
vtkTimeStamp ScalarRangeComputeTime
vtkPointData * GetPointData()
Return a pointer to this dataset's point data.
vtkNew< vtkGenericCell > GenericCell
abstract class to specify cell behavior
#define VTK_DEPRECATED_IN_9_6_0(reason)
supports function callbacks
VTKIOCATALYSTCONDUIT_EXPORT int GetCellType(const std::string &shape)
Get vtk cell type from conduit shape name throw a runtime_error on unsupported type.
a simple class to control print indentation
virtual bool HasAnyBlankPoints()
Returns 1 if there are any blanking points 0 otherwise.
list of point or cell ids
#define VTK_SIZEHINT(...)
dynamic, self-adjusting array of unsigned char
virtual vtkIdType GetNumberOfElements(int type)
Get the number of elements for a specific attribute type (POINT, CELL, etc.).
virtual vtkCell * GetCell(int i, int j, int k)
void GetPoint(int i, int j, int k, double pnt[3])
Efficient cell iterator for vtkDataSet topologies.
virtual double * GetPoint(vtkIdType ptId)=0
Get point coordinates with ptId such that: 0 <= ptId < NumberOfPoints.
vtkCallbackCommand * DataObserver
vtkMTimeType GetMTime() override
Data objects are composite objects and need to check each part for MTime.
general representation of visualization data
vtkIdType FindPoint(double x, double y, double z)
Locate the closest point to the global coordinate x.
object provides direct access to cells in vtkCellArray and type information
virtual void DeepCopy(vtkDataObject *src)
The goal of the method is to copy the complete data from src into this object.
represent and manipulate 3D points
virtual void ShallowCopy(vtkDataObject *src)
The goal of the method is to copy the data up to the array pointers only.
Represents and manipulates a collection of data arrays.