Go to the documentation of this file.
49 #include "vtkCommonDataModelModule.h"
74 virtual void CopyStructure(
vtkDataSet *ds) = 0;
87 virtual vtkIdType GetNumberOfPoints() = 0;
140 virtual void GetCellBounds(
vtkIdType cellId,
double bounds[6]);
147 virtual int GetCellType(
vtkIdType cellId) = 0;
195 xyz[0] = x; xyz[1] = y; xyz[2] = z;
196 return this->FindPoint (xyz);
198 virtual vtkIdType FindPoint(
double x[3]) = 0;
213 double tol2,
int& subId,
double pcoords[3],
214 double *weights) = 0;
225 double tol2,
int& subId,
double pcoords[3],
226 double *weights) = 0;
237 double tol2,
int& subId,
double pcoords[3],
262 virtual void Squeeze();
268 virtual void ComputeBounds();
283 void GetBounds(
double bounds[6]);
296 void GetCenter(
double center[3]);
321 virtual
void GetScalarRange(
double range[2]);
332 double *GetScalarRange();
339 virtual
int GetMaxCellSize() = 0;
349 unsigned long GetActualMemorySize() VTK_OVERRIDE;
379 int CheckAttributes();
389 this->GenerateGhostArray(zeroExt,
false);
391 virtual void GenerateGhostArray(
int zeroExt[6],
bool cellOnly);
419 bool HasAnyGhostCells();
424 bool HasAnyGhostPoints();
452 void UpdatePointGhostArrayCache();
467 void UpdateCellGhostArrayCache();
483 virtual
void ComputeScalarRange();
499 double ScalarRange[2];
511 bool PointGhostArrayCached;
512 bool CellGhostArrayCached;
522 static
void OnDataModified(
523 vtkObject*
source,
unsigned long eid,
void* clientdata,
void *calldata);
525 friend class vtkImageAlgorithmToDataSetFriendship;
529 void operator=(const
vtkDataSet&) VTK_DELETE_FUNCTION;
535 x[0] = pt[0]; x[1] = pt[1]; x[2] = pt[2];
virtual void GenerateGhostArray(int zeroExt[6])
Normally called by pipeline executives or algoritms only.
virtual void Initialize()
Restore data object to initial state,.
object provides direct access to cells in vtkCellArray and type information
represent and manipulate point attribute data
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
abstract base class for most VTK objects
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.).
vtkTypeUInt64 vtkMTimeType
boost::graph_traits< vtkGraph * >::vertex_descriptor source(boost::graph_traits< vtkGraph * >::edge_descriptor e, vtkGraph *)
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
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.
static vtkDataObject * GetData(vtkInformation *info)
Retrieve an instance of this class from an information object.