56 #ifndef __vtkGenericDataSet_h
57 #define __vtkGenericDataSet_h
63 class vtkGenericAttributeCollection;
64 class vtkGenericCellTessellator;
78 virtual vtkIdType GetNumberOfPoints() = 0;
83 virtual vtkIdType GetNumberOfCells(
int dim=-1) = 0;
89 virtual int GetCellDimension() = 0;
118 int exteriorOnly=0) = 0;
137 virtual int FindCell(
double x[3],
141 double pcoords[3]) = 0;
147 virtual void FindPoint(
double x[3],
153 virtual unsigned long int GetMTime();
156 virtual void ComputeBounds()=0;
161 virtual double *GetBounds();
165 virtual void GetBounds(
double bounds[6]);
169 virtual double *GetCenter();
172 virtual void GetCenter(
double center[3]);
176 virtual double GetLength();
180 vtkGetObjectMacro(Attributes, vtkGenericAttributeCollection);
193 {
return this->Superclass::GetAttributes(type); }
199 virtual void SetTessellator(vtkGenericCellTessellator *tessellator);
200 vtkGetObjectMacro(Tessellator,vtkGenericCellTessellator);
212 virtual vtkIdType GetEstimatedSize() = 0;
static vtkDataObject * GetData(vtkInformation *info)
record modification and/or execution time
unsigned long int GetMTime()
iterator used to traverse points
iterator used to traverse cells
a simple class to control print indentation
represent and manipulate attribute data in a dataset
void PrintSelf(ostream &os, vtkIndent indent)
virtual unsigned long GetActualMemorySize()
virtual vtkDataSetAttributes * GetAttributes(int type)
defines dataset interface
virtual int GetDataObjectType()
general representation of visualization data
object provides direct access to cells in vtkCellArray and type information
vtkGenericCellTessellator * Tessellator
vtkGenericAttributeCollection * Attributes