45 #ifndef __vtkDataSet_h
46 #define __vtkDataSet_h
56 class vtkSourceToDataSetFriendship;
67 virtual void CopyStructure(
vtkDataSet *ds) = 0;
75 virtual vtkIdType GetNumberOfPoints() = 0;
83 virtual double *GetPoint(
vtkIdType ptId) = 0;
88 virtual void GetPoint(
vtkIdType id,
double x[3]);
108 virtual void GetCellBounds(
vtkIdType cellId,
double bounds[6]);
113 virtual int GetCellType(
vtkIdType cellId) = 0;
151 xyz[0] = x; xyz[1] = y; xyz[2] = z;
152 return this->FindPoint (xyz);
154 virtual vtkIdType FindPoint(
double x[3]) = 0;
167 double tol2,
int& subId,
double pcoords[3],
168 double *weights) = 0;
179 double tol2,
int& subId,
double pcoords[3],
180 double *weights) = 0;
191 double tol2,
int& subId,
double pcoords[3],
209 virtual void Squeeze();
213 virtual void ComputeBounds();
222 void GetBounds(
double bounds[6]);
229 void GetCenter(
double center[3]);
245 virtual void GetScalarRange(
double range[2]);
249 double *GetScalarRange();
254 virtual int GetMaxCellSize() = 0;
290 int CheckAttributes();
294 virtual void GenerateGhostLevelArray();
321 virtual void ComputeScalarRange();
330 double ScalarRange[2];
338 friend class vtkSourceToDataSetFriendship;
339 friend class vtkImageAlgorithmToDataSetFriendship;
349 x[0] = pt[0]; x[1] = pt[1]; x[2] = pt[2];
static vtkDataObject * GetData(vtkInformation *info)
virtual vtkFieldData * GetAttributesAsFieldData(int type)
represent and manipulate point attribute data
abstract class to specify dataset behavior
record modification and/or execution time
represent and manipulate cell attribute data
unsigned long int GetMTime()
vtkCellData * GetCellData()
virtual void Initialize()
provides thread-safe access to cells
vtkTimeStamp ScalarRangeComputeTime
vtkPointData * GetPointData()
abstract class to specify cell behavior
a simple class to control print indentation
list of point or cell ids
void PrintSelf(ostream &os, vtkIndent indent)
virtual unsigned long GetActualMemorySize()
virtual vtkIdType GetNumberOfElements(int type)
virtual double * GetPoint(vtkIdType ptId)=0
general representation of visualization data
vtkIdType FindPoint(double x, double y, double z)
object provides direct access to cells in vtkCellArray and type information
virtual void DeepCopy(vtkDataObject *src)
virtual void ShallowCopy(vtkDataObject *src)
represent and manipulate fields of data