Go to the documentation of this file.
57 #ifndef vtkGenericDataSet_h
58 #define vtkGenericDataSet_h
60 #include "vtkCommonDataModelModule.h"
138 int exteriorOnly=0) = 0;
165 double pcoords[3]) = 0;
184 virtual
void ComputeBounds()=0;
192 virtual
double *GetBounds();
198 virtual
void GetBounds(
double bounds[6]);
205 virtual
double *GetCenter();
210 virtual
void GetCenter(
double center[3]);
216 virtual
double GetLength();
241 {
return this->Superclass::GetAttributes(
type); }
263 int GetDataObjectType() VTK_OVERRIDE;
iterator used to traverse points
virtual vtkIdType GetNumberOfPoints()=0
Return the number of points composing the dataset.
virtual void FindPoint(double x[3], vtkGenericPointIterator *p)=0
Locate the closest point ‘p’ to position ‘x’ (global coordinates).
object provides direct access to cells in vtkCellArray and type information
represent and manipulate attribute data in a dataset
record modification and/or execution time
virtual vtkGenericCellIterator * NewBoundaryIterator(int dim=-1, int exteriorOnly=0)=0
Return an iterator to traverse cell boundaries of dimension ‘dim’ (or all dimensions if -1) of the da...
vtkMTimeType GetMTime() override
Datasets are composite objects and need to check each part for their modified time.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
iterator used to traverse cells
unsigned long GetActualMemorySize() override
Actual size of the data in kibibytes (1024 bytes); only valid after the pipeline has updated.
defines dataset interface
virtual int FindCell(double x[3], vtkGenericCellIterator *&cell, double tol2, int &subId, double pcoords[3])=0
Locate the closest cell to position ‘x’ (global coordinates) with respect to a tolerance squared ‘tol...
vtkTypeUInt64 vtkMTimeType
helper class to perform cell tessellation
virtual vtkGenericPointIterator * NewPointIterator()=0
Return an iterator to traverse the points composing the dataset; they can be points that define a cel...
a simple class to control print indentation
virtual int GetCellDimension()=0
Return -1 if the dataset is explicitly defined by cells of varying dimensions or if there are no cell...
virtual void GetCellTypes(vtkCellTypes *types)
Get a list of types of cells in a dataset.
virtual void SetTessellator(vtkGenericCellTessellator *tessellator)
Set/Get a cell tessellator if cells must be tessellated during processing.
a collection of attributes
virtual vtkIdType GetNumberOfCells(int dim=-1)=0
Return the number of cells that explicitly define the dataset.
general representation of visualization data
virtual vtkGenericCellIterator * NewCellIterator(int dim=-1)=0
Return an iterator to traverse cells of dimension ‘dim’ (or all dimensions if -1) that explicitly def...