43 #include "vtkCommonDataModelModule.h"
68 virtual void CopyStructure(
vtkDataSet *ds) = 0;
81 virtual vtkIdType GetNumberOfPoints() = 0;
113 virtual vtkCell *
GetCell(
int vtkNotUsed(i),
int vtkNotUsed(j),
int vtkNotUsed(k))
115 vtkErrorMacro(
"ijk indices are only valid with structured data!");
139 virtual void GetCellBounds(
vtkIdType cellId,
double bounds[6]);
146 virtual int GetCellType(
vtkIdType cellId) = 0;
194 xyz[0] = x; xyz[1] = y; xyz[2] = z;
195 return this->FindPoint (xyz);
197 virtual vtkIdType FindPoint(
double x[3]) = 0;
212 double tol2,
int& subId,
double pcoords[3],
213 double *weights) = 0;
224 double tol2,
int& subId,
double pcoords[3],
225 double *weights) = 0;
236 double tol2,
int& subId,
double pcoords[3],
261 virtual void Squeeze();
267 virtual void ComputeBounds();
282 void GetBounds(
double bounds[6]);
295 void GetCenter(
double center[3]);
320 virtual
void GetScalarRange(
double range[2]);
331 double *GetScalarRange();
338 virtual
int GetMaxCellSize() = 0;
348 unsigned long GetActualMemorySize() VTK_OVERRIDE;
378 int CheckAttributes();
388 this->GenerateGhostArray(zeroExt,
false);
390 virtual void GenerateGhostArray(
int zeroExt[6],
bool cellOnly);
418 bool HasAnyGhostCells();
423 bool HasAnyGhostPoints();
451 void UpdatePointGhostArrayCache();
466 void UpdateCellGhostArrayCache();
482 virtual
void ComputeScalarRange();
498 double ScalarRange[2];
510 bool PointGhostArrayCached;
511 bool CellGhostArrayCached;
521 static
void OnDataModified(
522 vtkObject*
source,
unsigned long eid,
void* clientdata,
void *calldata);
524 friend class vtkImageAlgorithmToDataSetFriendship;
528 void operator=(const
vtkDataSet&) VTK_DELETE_FUNCTION;
534 x[0] = pt[0]; x[1] = pt[1]; x[2] = pt[2];
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.
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
virtual void Initialize()
Restore data object to initial state,.
virtual bool HasAnyBlankCells()
Returns 1 if there are any blanking cells 0 otherwise.
provides thread-safe access to cells
void GetPoint(const int i, const int j, const int k, double pnt[3])
vtkPointData * GetPointData()
Return a pointer to this dataset's point data.
abstract class to specify cell behavior
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))
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.).
boost::graph_traits< vtkGraph * >::vertex_descriptor source(boost::graph_traits< vtkGraph * >::edge_descriptor e, vtkGraph *)
Efficient cell iterator for vtkDataSet topologies.
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)
Shallow and Deep copy.
virtual void ShallowCopy(vtkDataObject *src)
Shallow and Deep copy.
represent and manipulate fields of data