37 #include "vtkCommonDataModelModule.h"
41 VTK_ABI_NAMESPACE_BEGIN
64 virtual void CopyStructure(
vtkDataSet* ds) = 0;
77 virtual vtkIdType GetNumberOfPoints() = 0;
118 virtual vtkCell*
GetCell(
int vtkNotUsed(i),
int vtkNotUsed(j),
int vtkNotUsed(k))
120 vtkErrorMacro(
"ijk indices are only valid with structured data!");
146 virtual void GetCellBounds(
vtkIdType cellId,
double bounds[6]);
239 return this->FindPoint(xyz);
241 virtual vtkIdType FindPoint(
double x[3]) = 0;
256 double pcoords[3],
double* weights) = 0;
266 double tol2,
int& subId,
double pcoords[3],
double* weights) = 0;
277 int& subId,
double pcoords[3],
double* weights);
301 virtual void Squeeze();
307 virtual void ComputeBounds();
335 void GetCenter(
double center[3]);
355 void Initialize() override;
367 virtual
void GetScalarRange(
double range[2]);
378 double* GetScalarRange() VTK_SIZEHINT(2);
385 virtual
int GetMaxCellSize() = 0;
395 unsigned long GetActualMemorySize() override;
412 DATA_OBJECT_FIELD = 0,
413 POINT_DATA_FIELD = 1,
425 int CheckAttributes();
434 virtual void GenerateGhostArray(
int zeroExt[6],
bool cellOnly);
462 bool HasAnyGhostCells();
467 bool HasAnyGhostPoints();
491 void UpdatePointGhostArrayCache() {}
508 void UpdateCellGhostArrayCache() {}
530 virtual void ComputeScalarRange();
540 double ScalarRange[2];
555 bool PointGhostArrayCached;
557 bool CellGhostArrayCached;
566 static
void OnDataModified(
567 vtkObject*
source,
unsigned long eid,
void* clientdata,
void* calldata);
581 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.
abstract base class for most VTK objects
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 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.
abstract class to specify cell behavior
#define VTK_DEPRECATED_IN_9_3_0(reason)
supports function callbacks
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
virtual vtkCell * GetCell(int vtkNotUsed(i), int vtkNotUsed(j), int vtkNotUsed(k))
#define VTK_SIZEHINT(...)
boost::graph_traits< vtkGraph * >::vertex_descriptor source(boost::graph_traits< vtkGraph * >::edge_descriptor e, vtkGraph *)
int GetCellType(const Ioss::ElementTopology *topology)
Returns VTK celltype for a Ioss topology element.
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.).
void GetPoint(int i, int j, int k, double pnt[3])
Efficient cell iterator for vtkDataSet topologies.
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.
virtual void ShallowCopy(vtkDataObject *src)
The goal of the method is to copy the data up to the array pointers only.
represent and manipulate fields of data