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];
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 algoritms 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
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.
vtkTypeUInt64 vtkMTimeType
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
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