45 #ifndef __vtkDataSet_h
46 #define __vtkDataSet_h
69 virtual void CopyStructure(
vtkDataSet *ds) = 0;
77 virtual vtkIdType GetNumberOfPoints() = 0;
85 virtual double *GetPoint(
vtkIdType ptId) = 0;
90 virtual void GetPoint(
vtkIdType id,
double x[3]);
113 virtual void GetCellBounds(
vtkIdType cellId,
double bounds[6]);
118 virtual int GetCellType(
vtkIdType cellId) = 0;
156 xyz[0] =
x; xyz[1] =
y; xyz[2] =
z;
157 return this->FindPoint (xyz);
172 double tol2,
int& subId,
double pcoords[3],
184 double tol2,
int& subId,
double pcoords[3],
196 double tol2,
int& subId,
double pcoords[3],
214 virtual void Squeeze();
218 virtual void ComputeBounds();
227 void GetBounds(
double bounds[6]);
234 void GetCenter(
double center[3]);
252 virtual void GetScalarRange(
double range[2]);
261 double *GetScalarRange();
266 virtual int GetMaxCellSize() = 0;
302 int CheckAttributes();
307 virtual void GenerateGhostLevelArray(
int update_piece,
308 int update_num_pieces,
309 int update_ghost_level,
339 virtual void ComputeScalarRange();
348 double ScalarRange[2];
356 friend class vtkImageAlgorithmToDataSetFriendship;
366 x[0] = pt[0]; x[1] = pt[1]; x[2] = pt[2];
static vtkDataObject * GetData(vtkInformation *info)
GLuint GLuint GLsizei GLenum type
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()
Generates a structured extent from unstructured.
vtkCellData * GetCellData()
virtual void Initialize()
GLint GLint GLint GLint GLint GLint y
#define vtkTypeMacro(thisClass, superclass)
provides thread-safe access to cells
vtkTimeStamp ScalarRangeComputeTime
vtkPointData * GetPointData()
GLint GLint GLint GLint GLint x
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)
GLsizei GLenum GLenum * types
virtual unsigned long GetActualMemorySize()
virtual vtkIdType GetNumberOfElements(int type)
Efficient cell iterator for vtkDataSet topologies.
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)
#define VTKCOMMONDATAMODEL_EXPORT
virtual void ShallowCopy(vtkDataObject *src)
represent and manipulate fields of data