45 #ifndef vtkGenericDataSet_h
46 #define vtkGenericDataSet_h
48 #include "vtkCommonDataModelModule.h"
52 VTK_ABI_NAMESPACE_BEGIN
75 virtual vtkIdType GetNumberOfPoints() = 0;
83 virtual vtkIdType GetNumberOfCells(
int dim = -1) = 0;
96 virtual int GetCellDimension() = 0;
111 virtual
void GetCellTypes(
vtkCellTypes* types) { this->GetDistinctCellTypes(types); }
162 virtual int FindCell(
181 virtual void ComputeBounds() = 0;
195 virtual void GetBounds(
double bounds[6]);
202 virtual double* GetCenter();
207 virtual void GetCenter(
double center[3]);
213 virtual double GetLength();
239 return this->Superclass::GetAttributes(type);
267 virtual
vtkIdType GetEstimatedSize() = 0;
284 ~vtkGenericDataSet() override;
296 vtkGenericDataSet(const vtkGenericDataSet&) = delete;
297 void operator=(const vtkGenericDataSet&) = delete;
300 VTK_ABI_NAMESPACE_END
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
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
#define VTK_DEPRECATED_IN_9_6_0(reason)
virtual int GetDataObjectType() VTK_FUTURE_CONST
Return class name of data type.
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).
vtkSmartPointer< vtkDataArray > GetData(const Ioss::GroupingEntity *entity, const std::string &fieldname, Ioss::Transform *transform=nullptr, Cache *cache=nullptr, const std::string &cachekey=std::string())
Returns a VTK array for a given field (fieldname) on the chosen block (or set) entity.
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.
general representation of visualization data
object provides direct access to cells in vtkCellArray and type information