Go to the documentation of this file.
49 #include "vtkCommonDataModelModule.h"
74 virtual void CopyStructure(
vtkDataSet *ds) = 0;
87 virtual vtkIdType GetNumberOfPoints() = 0;
119 virtual vtkCell *
GetCell(
int vtkNotUsed(i),
int vtkNotUsed(j),
int vtkNotUsed(k))
121 vtkErrorMacro(
"ijk indices are only valid with structured data!");
145 virtual void GetCellBounds(
vtkIdType cellId,
double bounds[6]);
152 virtual int GetCellType(
vtkIdType cellId) = 0;
200 xyz[0] = x; xyz[1] = y; xyz[2] = z;
201 return this->FindPoint (xyz);
203 virtual vtkIdType FindPoint(
double x[3]) = 0;
218 double tol2,
int& subId,
double pcoords[3],
219 double *weights) = 0;
230 double tol2,
int& subId,
double pcoords[3],
231 double *weights) = 0;
242 double tol2,
int& subId,
double pcoords[3],
267 virtual void Squeeze();
273 virtual void ComputeBounds();
288 void GetBounds(
double bounds[6]);
301 void GetCenter(
double center[3]);
314 void Initialize() override;
326 virtual
void GetScalarRange(
double range[2]);
344 virtual
int GetMaxCellSize() = 0;
354 unsigned long GetActualMemorySize() override;
384 int CheckAttributes();
394 this->GenerateGhostArray(zeroExt,
false);
396 virtual void GenerateGhostArray(
int zeroExt[6],
bool cellOnly);
424 bool HasAnyGhostCells();
429 bool HasAnyGhostPoints();
457 void UpdatePointGhostArrayCache();
472 void UpdateCellGhostArrayCache();
488 virtual void ComputeScalarRange();
504 double ScalarRange[2];
527 static void OnDataModified(
528 vtkObject*
source,
unsigned long eid,
void* clientdata,
void *calldata);
530 friend class vtkImageAlgorithmToDataSetFriendship;
540 x[0] = pt[0]; x[1] = pt[1]; x[2] = pt[2];
virtual void GenerateGhostArray(int zeroExt[6])
Normally called by pipeline executives or algorithms only.
bool PointGhostArrayCached
vtkUnsignedCharArray * PointGhostArray
These arrays pointers are caches used to avoid a string comparison (when getting ghost arrays using G...
object provides direct access to cells in vtkCellArray and type information
vtkCallbackCommand * DataObserver
represent and manipulate point attribute data
vtkTimeStamp ScalarRangeComputeTime
virtual vtkFieldData * GetAttributesAsFieldData(int type)
Returns the attributes of the data object as a vtkFieldData.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
record modification and/or execution time
dynamic, self-adjusting array of unsigned char
bool CellGhostArrayCached
abstract base class for most VTK objects
virtual vtkCell * GetCell(int vtkNotUsed(i), int vtkNotUsed(j), int vtkNotUsed(k))
virtual void DeepCopy(vtkDataObject *src)
void GetPoint(const int i, const int j, const int k, double pnt[3])
vtkMTimeType GetMTime() override
Data objects are composite objects and need to check each part for MTime.
represent and manipulate fields of data
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 *)
vtkCellData * GetCellData()
Return a pointer to this dataset's cell data.
#define VTK_SIZEHINT(...)
vtkIdType FindPoint(double x, double y, double z)
Locate the closest point to the global coordinate x.
abstract class to specify cell behavior
vtkPointData * GetPointData()
Return a pointer to this dataset's point data.
represent and manipulate cell attribute data
a simple class to control print indentation
list of point or cell ids
virtual bool HasAnyBlankCells()
Returns 1 if there are any blanking cells 0 otherwise.
virtual bool HasAnyBlankPoints()
Returns 1 if there are any blanking points 0 otherwise.
abstract class to specify dataset behavior
virtual double * GetPoint(vtkIdType ptId)=0
Get point coordinates with ptId such that: 0 <= ptId < NumberOfPoints.
supports function callbacks
provides thread-safe access to cells
Efficient cell iterator for vtkDataSet topologies.
general representation of visualization data
virtual void ShallowCopy(vtkDataObject *src)
Shallow and Deep copy.
vtkUnsignedCharArray * CellGhostArray
static vtkDataObject * GetData(vtkInformation *info)
Retrieve an instance of this class from an information object.
vtkTypeUInt32 vtkMTimeType