Go to the documentation of this file.
49 #include "vtkCommonDataModelModule.h"
195 xyz[0] = x; xyz[1] = y; xyz[2] = z;
196 return this->FindPoint (xyz);
213 double tol2,
int& subId,
double pcoords[3],
214 double *weights) = 0;
225 double tol2,
int& subId,
double pcoords[3],
226 double *weights) = 0;
237 double tol2,
int& subId,
double pcoords[3],
321 virtual
void GetScalarRange(
double range[2]);
332 double *GetScalarRange();
339 virtual
int GetMaxCellSize() = 0;
349 unsigned long GetActualMemorySize() VTK_OVERRIDE;
389 this->GenerateGhostArray(zeroExt,
false);
483 virtual
void ComputeScalarRange();
499 double ScalarRange[2];
511 bool PointGhostArrayCached;
512 bool CellGhostArrayCached;
522 static
void OnDataModified(
523 vtkObject*
source,
unsigned long eid,
void* clientdata,
void *calldata);
525 friend class vtkImageAlgorithmToDataSetFriendship;
529 void operator=(const
vtkDataSet&) VTK_DELETE_FUNCTION;
535 x[0] = pt[0]; x[1] = pt[1]; x[2] = pt[2];
virtual void GenerateGhostArray(int zeroExt[6])
Normally called by pipeline executives or algoritms only.
void UpdateCellGhostArrayCache()
Updates the pointer to the cell ghost array.
virtual vtkIdType GetNumberOfPoints()=0
Determine the number of points composing the dataset.
static vtkDataSet * GetData(vtkInformationVector *v, int i=0)
object provides direct access to cells in vtkCellArray and type information
void ShallowCopy(vtkDataObject *src) override
Shallow and Deep copy.
vtkFieldData * GetAttributesAsFieldData(int type) override
Returns the attributes of the data object as a vtkFieldData.
double GetLength()
Return the length of the diagonal of the bounding box.
represent and manipulate point attribute data
vtkUnsignedCharArray * GetCellGhostArray()
Get the array that defines the ghost type of each cell.
virtual void CopyAttributes(vtkDataSet *ds)
Copy the attributes associated with the specified dataset to this instance of vtkDataSet.
record modification and/or execution time
dynamic, self-adjusting array of unsigned char
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
abstract base class for most VTK objects
static vtkDataSet * GetData(vtkInformation *info)
Retrieve an instance of this class from an information object.
virtual vtkIdType FindCell(double x[3], vtkCell *cell, vtkGenericCell *gencell, vtkIdType cellId, double tol2, int &subId, double pcoords[3], double *weights)=0
This is a version of the above method that can be used with multithreaded applications.
virtual vtkIdType FindCell(double x[3], vtkCell *cell, vtkIdType cellId, double tol2, int &subId, double pcoords[3], double *weights)=0
Locate cell based on global coordinate x and tolerance squared.
void GetPoint(const int i, const int j, const int k, double pnt[3])
represent and manipulate fields of data
vtkTypeUInt64 vtkMTimeType
boost::graph_traits< vtkGraph * >::vertex_descriptor source(boost::graph_traits< vtkGraph * >::edge_descriptor e, vtkGraph *)
virtual void ComputeBounds()
Compute the data bounding box from data points.
bool HasAnyGhostCells()
Returns 1 if there are any ghost cells 0 otherwise.
vtkIdType FindPoint(double x, double y, double z)
Locate the closest point to the global coordinate x.
virtual void GetCellNeighbors(vtkIdType cellId, vtkIdList *ptIds, vtkIdList *cellIds)
Topological inquiry to get all cells using list of points exclusive of cell specified (e....
vtkUnsignedCharArray * AllocatePointGhostArray()
Allocate ghost array for points.
vtkMTimeType GetMTime() override
Datasets are composite objects and need to check each part for MTime THIS METHOD IS THREAD SAFE.
abstract class to specify cell behavior
vtkPointData * GetPointData()
Return a pointer to this dataset's point data.
represent and manipulate cell attribute data
virtual void GetPointCells(vtkIdType ptId, vtkIdList *cellIds)=0
Topological inquiry to get cells using point.
virtual void Squeeze()
Reclaim any extra memory used to store data.
a simple class to control print indentation
void Initialize() override
Restore data object to initial state.
list of point or cell ids
virtual bool HasAnyBlankCells()
Returns 1 if there are any blanking cells 0 otherwise.
void UpdatePointGhostArrayCache()
Updates the pointer to the point ghost array.
virtual bool HasAnyBlankPoints()
Returns 1 if there are any blanking points 0 otherwise.
void GetBounds(double bounds[6])
Return a pointer to the geometry bounding box in the form (xmin,xmax, ymin,ymax, zmin,...
int CheckAttributes()
This method checks to see if the cell and point attributes match the geometry.
abstract class to specify dataset behavior
virtual void GetCellPoints(vtkIdType cellId, vtkIdList *ptIds)=0
Topological inquiry to get points defining cell.
virtual double * GetPoint(vtkIdType ptId)=0
Get point coordinates with ptId such that: 0 <= ptId < NumberOfPoints.
double * GetCenter()
Get the center of the bounding box.
vtkUnsignedCharArray * AllocateCellGhostArray()
Allocate ghost array for cells.
virtual vtkCellIterator * NewCellIterator()
Return an iterator that traverses the cells in this data set.
virtual void GenerateGhostArray(int zeroExt[6], bool cellOnly)
virtual void GetCellTypes(vtkCellTypes *types)
Get a list of types of cells in a dataset.
virtual vtkIdType FindPoint(double x[3])=0
virtual void CopyStructure(vtkDataSet *ds)=0
Copy the geometric and topological structure of an object.
supports function callbacks
provides thread-safe access to cells
bool HasAnyGhostPoints()
Returns 1 if there are any ghost points 0 otherwise.
double * GetBounds()
Return a pointer to the geometry bounding box in the form (xmin,xmax, ymin,ymax, zmin,...
vtkIdType GetNumberOfElements(int type) override
Get the number of elements for a specific attribute type (POINT, CELL, etc.).
vtkUnsignedCharArray * GetPointGhostArray()
Gets the array that defines the ghost type of each point.
virtual vtkIdType GetNumberOfCells()=0
Determine the number of cells composing the dataset.
void GetCenter(double center[3])
Get the center of the bounding box.
Efficient cell iterator for vtkDataSet topologies.
virtual void GetCell(vtkIdType cellId, vtkGenericCell *cell)=0
Get cell with cellId such that: 0 <= cellId < NumberOfCells.
general representation of visualization data
virtual int GetCellType(vtkIdType cellId)=0
Get type of cell with cellId such that: 0 <= cellId < NumberOfCells.
virtual void GetCellBounds(vtkIdType cellId, double bounds[6])
Get the bounds of the cell with cellId such that: 0 <= cellId < NumberOfCells.
virtual vtkCell * FindAndGetCell(double x[3], vtkCell *cell, vtkIdType cellId, double tol2, int &subId, double pcoords[3], double *weights)
Locate the cell that contains a point and return the cell.
void DeepCopy(vtkDataObject *src) override
virtual vtkCell * GetCell(vtkIdType cellId)=0
Get cell with cellId such that: 0 <= cellId < NumberOfCells.