57 #ifndef vtkGenericDataSet_h
58 #define vtkGenericDataSet_h
60 #include "vtkCommonDataModelModule.h"
85 virtual vtkIdType GetNumberOfPoints() = 0;
93 virtual vtkIdType GetNumberOfCells(
int dim = -1) = 0;
106 virtual int GetCellDimension() = 0;
168 virtual int FindCell(
187 virtual void ComputeBounds() = 0;
201 virtual void GetBounds(
double bounds[6]);
208 virtual double* GetCenter();
213 virtual void GetCenter(
double center[3]);
219 virtual double GetLength();
245 return this->Superclass::GetAttributes(type);
273 virtual vtkIdType GetEstimatedSize() = 0;
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.
void GetBounds(T a, double bds[6])
helper class to perform cell tessellation
a collection of attributes
vtkTypeUInt32 vtkMTimeType
record modification and/or execution time
iterator used to traverse points
iterator used to traverse cells
a simple class to control print indentation
vtkDataSetAttributes * GetAttributes(int type) override
Returns the attributes of the data object of the specified attribute type.
represent and manipulate attribute data in a dataset
virtual unsigned long GetActualMemorySize()
Return the actual size of the data in kibibytes (1024 bytes).
virtual vtkIdType GetNumberOfElements(int type)
Get the number of elements for a specific attribute type (POINT, CELL, etc.).
defines dataset interface
vtkMTimeType GetMTime() override
Data objects are composite objects and need to check each part for MTime.
virtual int GetDataObjectType()
Return class name of data type.
general representation of visualization data
object provides direct access to cells in vtkCellArray and type information
vtkGenericCellTessellator * Tessellator
vtkGenericAttributeCollection * Attributes