ActiViz .NET  5.8.0
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | Protected Member Functions | Private Member Functions | Static Private Member Functions
Kitware.VTK.vtkDataSet Class Reference

vtkDataSet - abstract class to specify dataset behavior More...

Inheritance diagram for Kitware.VTK.vtkDataSet:
[legend]
Collaboration diagram for Kitware.VTK.vtkDataSet:
[legend]

List of all members.

Public Types

enum  FieldDataType { CELL_DATA_FIELD = 2, DATA_OBJECT_FIELD = 0, POINT_DATA_FIELD = 1 }
 Shallow and Deep copy. More...

Public Member Functions

 vtkDataSet (IntPtr rawCppThis, bool callDisposalMethod, bool strong)
 Automatically generated constructor - called from generated code. DO NOT call directly.
int CheckAttributes ()
 This method checks to see if the cell and point attributes match the geometry. Many filters will crash if the number of tupples in an array is less than the number of points/cells. This method returns 1 if there is a mismatch, and 0 if everything is ok. It prints an error if an array is too short, and a warning if an array is too long.
virtual void ComputeBounds ()
 Compute the data bounding box from data points. THIS METHOD IS NOT THREAD SAFE.
virtual void CopyAttributes (vtkDataSet ds)
 Copy the attributes associated with the specified dataset to this instance of vtkDataSet. THIS METHOD IS NOT THREAD SAFE.
virtual void CopyStructure (vtkDataSet ds)
 Copy the geometric and topological structure of an object. Note that the invoking object and the object pointed to by the parameter ds must be of the same type. THIS METHOD IS NOT THREAD SAFE.
override void DeepCopy (vtkDataObject src)
 Shallow and Deep copy.
virtual vtkCell FindAndGetCell (IntPtr x, vtkCell cell, int cellId, double tol2, ref int subId, IntPtr pcoords, IntPtr weights)
 Locate the cell that contains a point and return the cell. Also returns the subcell id, parametric coordinates and weights for subsequent interpolation. This method combines the derived class methods int FindCell and vtkCell *GetCell. Derived classes may provide a more efficient implementation. See for example vtkStructuredPoints. THIS METHOD IS NOT THREAD SAFE.
virtual int FindCell (IntPtr x, vtkCell cell, int cellId, double tol2, ref int subId, IntPtr pcoords, IntPtr weights)
 Locate cell based on global coordinate x and tolerance squared. If cell and cellId is non-NULL, then search starts from this cell and looks at immediate neighbors. Returns cellId >= 0 if inside, < 0 otherwise. The parametric coordinates are provided in pcoords[3]. The interpolation weights are returned in weights[]. (The number of weights is equal to the number of points in the found cell). Tolerance is used to control how close the point is to be considered "in" the cell. THIS METHOD IS NOT THREAD SAFE.
virtual int FindCell (IntPtr x, vtkCell cell, vtkGenericCell gencell, int cellId, double tol2, ref int subId, IntPtr pcoords, IntPtr weights)
 This is a version of the above method that can be used with multithreaded applications. A vtkGenericCell must be passed in to be used in internal calls that might be made to GetCell() THIS METHOD IS THREAD SAFE IF FIRST CALLED FROM A SINGLE THREAD AND THE DATASET IS NOT MODIFIED.
int FindPoint (double x, double y, double z)
 Locate the closest point to the global coordinate x. Return the point id. If point id < 0; then no point found. (This may arise when point is outside of dataset.) THIS METHOD IS THREAD SAFE IF FIRST CALLED FROM A SINGLE THREAD AND THE DATASET IS NOT MODIFIED.
virtual int FindPoint (IntPtr x)
 Locate the closest point to the global coordinate x. Return the point id. If point id < 0; then no point found. (This may arise when point is outside of dataset.) THIS METHOD IS THREAD SAFE IF FIRST CALLED FROM A SINGLE THREAD AND THE DATASET IS NOT MODIFIED.
virtual void GenerateGhostLevelArray ()
 Normally called by pipeline executives or algoritgms only. This method computes the ghost arrays for a given dataset.
override uint GetActualMemorySize ()
 Return the actual size of the data in kilobytes. This number is valid only after the pipeline has updated. The memory size returned is guaranteed to be greater than or equal to the memory required to represent the data (e.g., extra space in arrays, etc. are not included in the return value). THIS METHOD IS THREAD SAFE.
override vtkFieldData GetAttributesAsFieldData (int type)
 Returns the attributes of the data object as a vtkFieldData. This returns non-null values in all the same cases as GetAttributes, in addition to the case of FIELD, which will return the field data for any vtkDataObject subclass.
double[] GetBounds ()
 Return a pointer to the geometry bounding box in the form (xmin,xmax, ymin,ymax, zmin,zmax). THIS METHOD IS NOT THREAD SAFE.
void GetBounds (IntPtr bounds)
 Return a pointer to the geometry bounding box in the form (xmin,xmax, ymin,ymax, zmin,zmax). THIS METHOD IS THREAD SAFE IF FIRST CALLED FROM A SINGLE THREAD AND THE DATASET IS NOT MODIFIED.
virtual vtkCell GetCell (int cellId)
 Get cell with cellId such that: 0 <= cellId < NumberOfCells. THIS METHOD IS NOT THREAD SAFE.
virtual void GetCell (int cellId, vtkGenericCell cell)
 Get cell with cellId such that: 0 <= cellId < NumberOfCells. This is a thread-safe alternative to the previous GetCell() method. THIS METHOD IS THREAD SAFE IF FIRST CALLED FROM A SINGLE THREAD AND THE DATASET IS NOT MODIFIED.
virtual void GetCellBounds (int cellId, IntPtr bounds)
 Get the bounds of the cell with cellId such that: 0 <= cellId < NumberOfCells. A subclass may be able to determine the bounds of cell without using an expensive GetCell() method. A default implementation is provided that actually uses a GetCell() call. This is to ensure the method is available to all datasets. Subclasses should override this method to provide an efficient implementation. THIS METHOD IS THREAD SAFE IF FIRST CALLED FROM A SINGLE THREAD AND THE DATASET IS NOT MODIFIED.
vtkCellData GetCellData ()
 Return a pointer to this dataset's cell data. THIS METHOD IS THREAD SAFE.
virtual void GetCellNeighbors (int cellId, vtkIdList ptIds, vtkIdList cellIds)
 Topological inquiry to get all cells using list of points exclusive of cell specified (e.g., cellId). Note that the list consists of only cells that use ALL the points provided. THIS METHOD IS THREAD SAFE IF FIRST CALLED FROM A SINGLE THREAD AND THE DATASET IS NOT MODIFIED.
virtual void GetCellPoints (int cellId, vtkIdList ptIds)
 Topological inquiry to get points defining cell. THIS METHOD IS THREAD SAFE IF FIRST CALLED FROM A SINGLE THREAD AND THE DATASET IS NOT MODIFIED.
virtual int GetCellType (int cellId)
 Get type of cell with cellId such that: 0 <= cellId < NumberOfCells. THIS METHOD IS THREAD SAFE IF FIRST CALLED FROM A SINGLE THREAD AND THE DATASET IS NOT MODIFIED.
virtual void GetCellTypes (vtkCellTypes types)
 Get a list of types of cells in a dataset. The list consists of an array of types (not necessarily in any order), with a single entry per type. For example a dataset 5 triangles, 3 lines, and 100 hexahedra would result a list of three entries, corresponding to the types VTK_TRIANGLE, VTK_LINE, and VTK_HEXAHEDRON. THIS METHOD IS THREAD SAFE IF FIRST CALLED FROM A SINGLE THREAD AND THE DATASET IS NOT MODIFIED.
double[] GetCenter ()
 Get the center of the bounding box. THIS METHOD IS NOT THREAD SAFE.
void GetCenter (IntPtr center)
 Get the center of the bounding box. THIS METHOD IS THREAD SAFE IF FIRST CALLED FROM A SINGLE THREAD AND THE DATASET IS NOT MODIFIED.
override int GetDataObjectType ()
 Return the type of data object.
double GetLength ()
 Return the length of the diagonal of the bounding box. THIS METHOD IS THREAD SAFE IF FIRST CALLED FROM A SINGLE THREAD AND THE DATASET IS NOT MODIFIED.
override uint GetMTime ()
 Datasets are composite objects and need to check each part for MTime THIS METHOD IS THREAD SAFE.
virtual int GetMaxCellSize ()
 Convenience method returns largest cell size in dataset. This is generally used to allocate memory for supporting data structures. THIS METHOD IS THREAD SAFE.
virtual int GetNumberOfCells ()
 Determine the number of cells composing the dataset. THIS METHOD IS THREAD SAFE.
override int GetNumberOfElements (int type)
 Get the number of elements for a specific attribute type (POINT, CELL, etc.).
virtual int GetNumberOfPoints ()
 Determine the number of points composing the dataset. THIS METHOD IS THREAD SAFE.
virtual double[] GetPoint (int ptId)
 Get point coordinates with ptId such that: 0 <= ptId < NumberOfPoints. THIS METHOD IS NOT THREAD SAFE.
virtual void GetPoint (int id, IntPtr x)
 Time at which scalar range is computed.
virtual void GetPointCells (int ptId, vtkIdList cellIds)
 Topological inquiry to get cells using point. THIS METHOD IS THREAD SAFE IF FIRST CALLED FROM A SINGLE THREAD AND THE DATASET IS NOT MODIFIED.
vtkPointData GetPointData ()
 Return a pointer to this dataset's point data. THIS METHOD IS THREAD SAFE.
virtual void GetScalarRange (IntPtr range)
 Convenience method to get the range of the scalar data (if there is any scalar data). Returns the (min/max) range of combined point and cell data. If there are no point or cell scalars the method will return (0,1). Note: Update needs to be called to create the scalars. THIS METHOD IS THREAD SAFE IF FIRST CALLED FROM A SINGLE THREAD AND THE DATASET IS NOT MODIFIED.
double[] GetScalarRange ()
 Convenience method to get the range of the scalar data (if there is any scalar data). THIS METHOD IS NOT THREAD SAFE.
override void Initialize ()
 Restore data object to initial state, THIS METHOD IS NOT THREAD SAFE.
override int IsA (string type)
 Undocumented Block.
new vtkDataSet NewInstance ()
 Undocumented Block.
override void ShallowCopy (vtkDataObject src)
 Shallow and Deep copy.
virtual void Squeeze ()
 Reclaim any extra memory used to store data. THIS METHOD IS NOT THREAD SAFE.

Static Public Member Functions

static new vtkDataSet GetData (vtkInformation info)
 Normally called by pipeline executives or algoritgms only. This method computes the ghost arrays for a given dataset.
static new vtkDataSet GetData (vtkInformationVector v, int i)
 Normally called by pipeline executives or algoritgms only. This method computes the ghost arrays for a given dataset.
static new int IsTypeOf (string type)
 Undocumented Block.
static new vtkDataSet SafeDownCast (vtkObjectBase o)
 Undocumented Block.

Public Attributes

new const string MRFullTypeName = "Kitware.VTK.vtkDataSet"
 Automatically generated type registration mechanics.

Static Public Attributes

static new readonly string MRClassNameKey = "10vtkDataSet"
 Automatically generated type registration mechanics.

Protected Member Functions

override void Dispose (bool disposing)
 Automatically generated protected Dispose method - called from public Dispose or the C# destructor. DO NOT call directly.

Private Member Functions

static internal int vtkDataSet_CheckAttributes_01 (HandleRef pThis)
static internal void vtkDataSet_ComputeBounds_02 (HandleRef pThis)
static internal void vtkDataSet_CopyAttributes_03 (HandleRef pThis, HandleRef ds)
static internal void vtkDataSet_CopyStructure_04 (HandleRef pThis, HandleRef ds)
static internal void vtkDataSet_DeepCopy_05 (HandleRef pThis, HandleRef src)
static internal IntPtr vtkDataSet_FindAndGetCell_06 (HandleRef pThis, IntPtr x, HandleRef cell, int cellId, double tol2, ref int subId, IntPtr pcoords, IntPtr weights, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal int vtkDataSet_FindCell_07 (HandleRef pThis, IntPtr x, HandleRef cell, int cellId, double tol2, ref int subId, IntPtr pcoords, IntPtr weights)
static internal int vtkDataSet_FindCell_08 (HandleRef pThis, IntPtr x, HandleRef cell, HandleRef gencell, int cellId, double tol2, ref int subId, IntPtr pcoords, IntPtr weights)
static internal int vtkDataSet_FindPoint_09 (HandleRef pThis, double x, double y, double z)
static internal int vtkDataSet_FindPoint_10 (HandleRef pThis, IntPtr x)
static internal void vtkDataSet_GenerateGhostLevelArray_11 (HandleRef pThis)
static internal uint vtkDataSet_GetActualMemorySize_12 (HandleRef pThis)
static internal IntPtr vtkDataSet_GetAttributesAsFieldData_13 (HandleRef pThis, int type, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal IntPtr vtkDataSet_GetBounds_14 (HandleRef pThis)
static internal void vtkDataSet_GetBounds_15 (HandleRef pThis, IntPtr bounds)
static internal IntPtr vtkDataSet_GetCell_16 (HandleRef pThis, int cellId, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal void vtkDataSet_GetCell_17 (HandleRef pThis, int cellId, HandleRef cell)
static internal void vtkDataSet_GetCellBounds_18 (HandleRef pThis, int cellId, IntPtr bounds)
static internal IntPtr vtkDataSet_GetCellData_19 (HandleRef pThis, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal void vtkDataSet_GetCellNeighbors_20 (HandleRef pThis, int cellId, HandleRef ptIds, HandleRef cellIds)
static internal void vtkDataSet_GetCellPoints_21 (HandleRef pThis, int cellId, HandleRef ptIds)
static internal int vtkDataSet_GetCellType_22 (HandleRef pThis, int cellId)
static internal void vtkDataSet_GetCellTypes_23 (HandleRef pThis, HandleRef types)
static internal IntPtr vtkDataSet_GetCenter_24 (HandleRef pThis)
static internal void vtkDataSet_GetCenter_25 (HandleRef pThis, IntPtr center)
static internal IntPtr vtkDataSet_GetData_26 (HandleRef info, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal IntPtr vtkDataSet_GetData_27 (HandleRef v, int i, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal int vtkDataSet_GetDataObjectType_28 (HandleRef pThis)
static internal double vtkDataSet_GetLength_29 (HandleRef pThis)
static internal uint vtkDataSet_GetMTime_30 (HandleRef pThis)
static internal int vtkDataSet_GetMaxCellSize_31 (HandleRef pThis)
static internal int vtkDataSet_GetNumberOfCells_32 (HandleRef pThis)
static internal int vtkDataSet_GetNumberOfElements_33 (HandleRef pThis, int type)
static internal int vtkDataSet_GetNumberOfPoints_34 (HandleRef pThis)
static internal IntPtr vtkDataSet_GetPoint_35 (HandleRef pThis, int ptId)
static internal void vtkDataSet_GetPoint_36 (HandleRef pThis, int id, IntPtr x)
static internal void vtkDataSet_GetPointCells_37 (HandleRef pThis, int ptId, HandleRef cellIds)
static internal IntPtr vtkDataSet_GetPointData_38 (HandleRef pThis, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal void vtkDataSet_GetScalarRange_39 (HandleRef pThis, IntPtr range)
static internal IntPtr vtkDataSet_GetScalarRange_40 (HandleRef pThis)
static internal void vtkDataSet_Initialize_41 (HandleRef pThis)
static internal int vtkDataSet_IsA_42 (HandleRef pThis, string type)
static internal int vtkDataSet_IsTypeOf_43 (string type)
static internal IntPtr vtkDataSet_NewInstance_44 (HandleRef pThis, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal IntPtr vtkDataSet_SafeDownCast_45 (HandleRef o, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal void vtkDataSet_ShallowCopy_46 (HandleRef pThis, HandleRef src)
static internal void vtkDataSet_Squeeze_47 (HandleRef pThis)

Static Private Member Functions

static vtkDataSet ()
 Automatically generated type registration mechanics.

Detailed Description

vtkDataSet - abstract class to specify dataset behavior

Description vtkDataSet is an abstract class that specifies an interface for dataset objects. vtkDataSet also provides methods to provide informations about the data, such as center, bounding box, and representative length.

In vtk a dataset consists of a structure (geometry and topology) and attribute data. The structure is defined implicitly or explicitly as a collection of cells. The geometry of the structure is contained in point coordinates plus the cell interpolation functions. The topology of the dataset structure is defined by cell types and how the cells share their defining points.

Attribute data in vtk is either point data (data at points) or cell data (data at cells). Typically filters operate on point data, but some may operate on cell data, both cell and point data, either one, or none.


Member Enumeration Documentation

Shallow and Deep copy.

Enumerator:
CELL_DATA_FIELD 

enum member

DATA_OBJECT_FIELD 

enum member

POINT_DATA_FIELD 

enum member


Constructor & Destructor Documentation

static Kitware.VTK.vtkDataSet.vtkDataSet ( ) [static, private]

Automatically generated type registration mechanics.

Kitware.VTK.vtkDataSet.vtkDataSet ( IntPtr  rawCppThis,
bool  callDisposalMethod,
bool  strong 
)

Automatically generated constructor - called from generated code. DO NOT call directly.


Member Function Documentation

This method checks to see if the cell and point attributes match the geometry. Many filters will crash if the number of tupples in an array is less than the number of points/cells. This method returns 1 if there is a mismatch, and 0 if everything is ok. It prints an error if an array is too short, and a warning if an array is too long.

virtual void Kitware.VTK.vtkDataSet.ComputeBounds ( ) [virtual]

Compute the data bounding box from data points. THIS METHOD IS NOT THREAD SAFE.

Reimplemented in Kitware.VTK.vtkPolyData, Kitware.VTK.vtkImageData, Kitware.VTK.vtkRectilinearGrid, and Kitware.VTK.vtkPointSet.

virtual void Kitware.VTK.vtkDataSet.CopyAttributes ( vtkDataSet  ds) [virtual]

Copy the attributes associated with the specified dataset to this instance of vtkDataSet. THIS METHOD IS NOT THREAD SAFE.

virtual void Kitware.VTK.vtkDataSet.CopyStructure ( vtkDataSet  ds) [virtual]

Copy the geometric and topological structure of an object. Note that the invoking object and the object pointed to by the parameter ds must be of the same type. THIS METHOD IS NOT THREAD SAFE.

Reimplemented in Kitware.VTK.vtkPolyData, Kitware.VTK.vtkImageData, Kitware.VTK.vtkHyperOctree, Kitware.VTK.vtkUnstructuredGrid, Kitware.VTK.vtkRectilinearGrid, Kitware.VTK.vtkStructuredGrid, Kitware.VTK.vtkUniformGrid, and Kitware.VTK.vtkPointSet.

override void Kitware.VTK.vtkDataSet.DeepCopy ( vtkDataObject  src) [virtual]
override void Kitware.VTK.vtkDataSet.Dispose ( bool  disposing) [protected]
virtual vtkCell Kitware.VTK.vtkDataSet.FindAndGetCell ( IntPtr  x,
vtkCell  cell,
int  cellId,
double  tol2,
ref int  subId,
IntPtr  pcoords,
IntPtr  weights 
) [virtual]

Locate the cell that contains a point and return the cell. Also returns the subcell id, parametric coordinates and weights for subsequent interpolation. This method combines the derived class methods int FindCell and vtkCell *GetCell. Derived classes may provide a more efficient implementation. See for example vtkStructuredPoints. THIS METHOD IS NOT THREAD SAFE.

Reimplemented in Kitware.VTK.vtkImageData, Kitware.VTK.vtkRectilinearGrid, and Kitware.VTK.vtkUniformGrid.

Here is the call graph for this function:

virtual int Kitware.VTK.vtkDataSet.FindCell ( IntPtr  x,
vtkCell  cell,
int  cellId,
double  tol2,
ref int  subId,
IntPtr  pcoords,
IntPtr  weights 
) [virtual]

Locate cell based on global coordinate x and tolerance squared. If cell and cellId is non-NULL, then search starts from this cell and looks at immediate neighbors. Returns cellId >= 0 if inside, < 0 otherwise. The parametric coordinates are provided in pcoords[3]. The interpolation weights are returned in weights[]. (The number of weights is equal to the number of points in the found cell). Tolerance is used to control how close the point is to be considered "in" the cell. THIS METHOD IS NOT THREAD SAFE.

Reimplemented in Kitware.VTK.vtkImageData, Kitware.VTK.vtkHyperOctree, Kitware.VTK.vtkRectilinearGrid, Kitware.VTK.vtkUniformGrid, Kitware.VTK.vtkLabelHierarchy, and Kitware.VTK.vtkPointSet.

virtual int Kitware.VTK.vtkDataSet.FindCell ( IntPtr  x,
vtkCell  cell,
vtkGenericCell  gencell,
int  cellId,
double  tol2,
ref int  subId,
IntPtr  pcoords,
IntPtr  weights 
) [virtual]

This is a version of the above method that can be used with multithreaded applications. A vtkGenericCell must be passed in to be used in internal calls that might be made to GetCell() THIS METHOD IS THREAD SAFE IF FIRST CALLED FROM A SINGLE THREAD AND THE DATASET IS NOT MODIFIED.

Reimplemented in Kitware.VTK.vtkImageData, Kitware.VTK.vtkHyperOctree, Kitware.VTK.vtkRectilinearGrid, Kitware.VTK.vtkUniformGrid, Kitware.VTK.vtkLabelHierarchy, and Kitware.VTK.vtkPointSet.

int Kitware.VTK.vtkDataSet.FindPoint ( double  x,
double  y,
double  z 
)

Locate the closest point to the global coordinate x. Return the point id. If point id < 0; then no point found. (This may arise when point is outside of dataset.) THIS METHOD IS THREAD SAFE IF FIRST CALLED FROM A SINGLE THREAD AND THE DATASET IS NOT MODIFIED.

Reimplemented in Kitware.VTK.vtkImageData, Kitware.VTK.vtkRectilinearGrid, and Kitware.VTK.vtkPointSet.

virtual int Kitware.VTK.vtkDataSet.FindPoint ( IntPtr  x) [virtual]

Locate the closest point to the global coordinate x. Return the point id. If point id < 0; then no point found. (This may arise when point is outside of dataset.) THIS METHOD IS THREAD SAFE IF FIRST CALLED FROM A SINGLE THREAD AND THE DATASET IS NOT MODIFIED.

Reimplemented in Kitware.VTK.vtkImageData, Kitware.VTK.vtkHyperOctree, Kitware.VTK.vtkRectilinearGrid, and Kitware.VTK.vtkPointSet.

Normally called by pipeline executives or algoritgms only. This method computes the ghost arrays for a given dataset.

override uint Kitware.VTK.vtkDataSet.GetActualMemorySize ( ) [virtual]

Return the actual size of the data in kilobytes. This number is valid only after the pipeline has updated. The memory size returned is guaranteed to be greater than or equal to the memory required to represent the data (e.g., extra space in arrays, etc. are not included in the return value). THIS METHOD IS THREAD SAFE.

Reimplemented from Kitware.VTK.vtkDataObject.

Reimplemented in Kitware.VTK.vtkImageData, Kitware.VTK.vtkPolyData, Kitware.VTK.vtkHyperOctree, Kitware.VTK.vtkRectilinearGrid, Kitware.VTK.vtkUnstructuredGrid, Kitware.VTK.vtkStructuredGrid, and Kitware.VTK.vtkPointSet.

Returns the attributes of the data object as a vtkFieldData. This returns non-null values in all the same cases as GetAttributes, in addition to the case of FIELD, which will return the field data for any vtkDataObject subclass.

Reimplemented from Kitware.VTK.vtkDataObject.

Here is the call graph for this function:

Return a pointer to the geometry bounding box in the form (xmin,xmax, ymin,ymax, zmin,zmax). THIS METHOD IS NOT THREAD SAFE.

void Kitware.VTK.vtkDataSet.GetBounds ( IntPtr  bounds)

Return a pointer to the geometry bounding box in the form (xmin,xmax, ymin,ymax, zmin,zmax). THIS METHOD IS THREAD SAFE IF FIRST CALLED FROM A SINGLE THREAD AND THE DATASET IS NOT MODIFIED.

virtual vtkCell Kitware.VTK.vtkDataSet.GetCell ( int  cellId) [virtual]

Get cell with cellId such that: 0 <= cellId < NumberOfCells. THIS METHOD IS NOT THREAD SAFE.

Reimplemented in Kitware.VTK.vtkImageData, Kitware.VTK.vtkPolyData, Kitware.VTK.vtkHyperOctree, Kitware.VTK.vtkRectilinearGrid, Kitware.VTK.vtkUnstructuredGrid, Kitware.VTK.vtkLabelHierarchy, Kitware.VTK.vtkUniformGrid, and Kitware.VTK.vtkStructuredGrid.

Here is the call graph for this function:

virtual void Kitware.VTK.vtkDataSet.GetCell ( int  cellId,
vtkGenericCell  cell 
) [virtual]

Get cell with cellId such that: 0 <= cellId < NumberOfCells. This is a thread-safe alternative to the previous GetCell() method. THIS METHOD IS THREAD SAFE IF FIRST CALLED FROM A SINGLE THREAD AND THE DATASET IS NOT MODIFIED.

Reimplemented in Kitware.VTK.vtkImageData, Kitware.VTK.vtkPolyData, Kitware.VTK.vtkHyperOctree, Kitware.VTK.vtkRectilinearGrid, Kitware.VTK.vtkUnstructuredGrid, Kitware.VTK.vtkLabelHierarchy, Kitware.VTK.vtkUniformGrid, and Kitware.VTK.vtkStructuredGrid.

virtual void Kitware.VTK.vtkDataSet.GetCellBounds ( int  cellId,
IntPtr  bounds 
) [virtual]

Get the bounds of the cell with cellId such that: 0 <= cellId < NumberOfCells. A subclass may be able to determine the bounds of cell without using an expensive GetCell() method. A default implementation is provided that actually uses a GetCell() call. This is to ensure the method is available to all datasets. Subclasses should override this method to provide an efficient implementation. THIS METHOD IS THREAD SAFE IF FIRST CALLED FROM A SINGLE THREAD AND THE DATASET IS NOT MODIFIED.

Reimplemented in Kitware.VTK.vtkImageData, Kitware.VTK.vtkPolyData, Kitware.VTK.vtkRectilinearGrid, Kitware.VTK.vtkUnstructuredGrid, and Kitware.VTK.vtkStructuredGrid.

Return a pointer to this dataset's cell data. THIS METHOD IS THREAD SAFE.

Here is the call graph for this function:

virtual void Kitware.VTK.vtkDataSet.GetCellNeighbors ( int  cellId,
vtkIdList  ptIds,
vtkIdList  cellIds 
) [virtual]

Topological inquiry to get all cells using list of points exclusive of cell specified (e.g., cellId). Note that the list consists of only cells that use ALL the points provided. THIS METHOD IS THREAD SAFE IF FIRST CALLED FROM A SINGLE THREAD AND THE DATASET IS NOT MODIFIED.

Reimplemented in Kitware.VTK.vtkPolyData, Kitware.VTK.vtkUnstructuredGrid, Kitware.VTK.vtkHyperOctree, Kitware.VTK.vtkRectilinearGrid, and Kitware.VTK.vtkStructuredGrid.

virtual void Kitware.VTK.vtkDataSet.GetCellPoints ( int  cellId,
vtkIdList  ptIds 
) [virtual]

Topological inquiry to get points defining cell. THIS METHOD IS THREAD SAFE IF FIRST CALLED FROM A SINGLE THREAD AND THE DATASET IS NOT MODIFIED.

Reimplemented in Kitware.VTK.vtkImageData, Kitware.VTK.vtkPolyData, Kitware.VTK.vtkUnstructuredGrid, Kitware.VTK.vtkHyperOctree, Kitware.VTK.vtkRectilinearGrid, Kitware.VTK.vtkStructuredGrid, Kitware.VTK.vtkUniformGrid, and Kitware.VTK.vtkLabelHierarchy.

virtual int Kitware.VTK.vtkDataSet.GetCellType ( int  cellId) [virtual]

Get type of cell with cellId such that: 0 <= cellId < NumberOfCells. THIS METHOD IS THREAD SAFE IF FIRST CALLED FROM A SINGLE THREAD AND THE DATASET IS NOT MODIFIED.

Reimplemented in Kitware.VTK.vtkImageData, Kitware.VTK.vtkPolyData, Kitware.VTK.vtkUnstructuredGrid, Kitware.VTK.vtkHyperOctree, Kitware.VTK.vtkRectilinearGrid, Kitware.VTK.vtkStructuredGrid, Kitware.VTK.vtkUniformGrid, and Kitware.VTK.vtkLabelHierarchy.

virtual void Kitware.VTK.vtkDataSet.GetCellTypes ( vtkCellTypes  types) [virtual]

Get a list of types of cells in a dataset. The list consists of an array of types (not necessarily in any order), with a single entry per type. For example a dataset 5 triangles, 3 lines, and 100 hexahedra would result a list of three entries, corresponding to the types VTK_TRIANGLE, VTK_LINE, and VTK_HEXAHEDRON. THIS METHOD IS THREAD SAFE IF FIRST CALLED FROM A SINGLE THREAD AND THE DATASET IS NOT MODIFIED.

Get the center of the bounding box. THIS METHOD IS NOT THREAD SAFE.

void Kitware.VTK.vtkDataSet.GetCenter ( IntPtr  center)

Get the center of the bounding box. THIS METHOD IS THREAD SAFE IF FIRST CALLED FROM A SINGLE THREAD AND THE DATASET IS NOT MODIFIED.

Normally called by pipeline executives or algoritgms only. This method computes the ghost arrays for a given dataset.

Reimplemented from Kitware.VTK.vtkDataObject.

Reimplemented in Kitware.VTK.vtkImageData, Kitware.VTK.vtkUnstructuredGrid, Kitware.VTK.vtkPolyData, Kitware.VTK.vtkHyperOctree, Kitware.VTK.vtkRectilinearGrid, Kitware.VTK.vtkStructuredGrid, Kitware.VTK.vtkUniformGrid, and Kitware.VTK.vtkPointSet.

Here is the call graph for this function:

static new vtkDataSet Kitware.VTK.vtkDataSet.GetData ( vtkInformationVector  v,
int  i 
) [static]

Normally called by pipeline executives or algoritgms only. This method computes the ghost arrays for a given dataset.

Reimplemented from Kitware.VTK.vtkDataObject.

Reimplemented in Kitware.VTK.vtkImageData, Kitware.VTK.vtkUnstructuredGrid, Kitware.VTK.vtkPolyData, Kitware.VTK.vtkHyperOctree, Kitware.VTK.vtkRectilinearGrid, Kitware.VTK.vtkStructuredGrid, Kitware.VTK.vtkUniformGrid, and Kitware.VTK.vtkPointSet.

Here is the call graph for this function:

override int Kitware.VTK.vtkDataSet.GetDataObjectType ( ) [virtual]

Return the length of the diagonal of the bounding box. THIS METHOD IS THREAD SAFE IF FIRST CALLED FROM A SINGLE THREAD AND THE DATASET IS NOT MODIFIED.

virtual int Kitware.VTK.vtkDataSet.GetMaxCellSize ( ) [virtual]

Convenience method returns largest cell size in dataset. This is generally used to allocate memory for supporting data structures. THIS METHOD IS THREAD SAFE.

Reimplemented in Kitware.VTK.vtkImageData, Kitware.VTK.vtkUnstructuredGrid, Kitware.VTK.vtkPolyData, Kitware.VTK.vtkHyperOctree, Kitware.VTK.vtkRectilinearGrid, Kitware.VTK.vtkStructuredGrid, Kitware.VTK.vtkLabelHierarchy, and Kitware.VTK.vtkUniformGrid.

override uint Kitware.VTK.vtkDataSet.GetMTime ( ) [virtual]

Datasets are composite objects and need to check each part for MTime THIS METHOD IS THREAD SAFE.

Reimplemented from Kitware.VTK.vtkDataObject.

Reimplemented in Kitware.VTK.vtkPointSet.

virtual int Kitware.VTK.vtkDataSet.GetNumberOfCells ( ) [virtual]
override int Kitware.VTK.vtkDataSet.GetNumberOfElements ( int  type) [virtual]

Get the number of elements for a specific attribute type (POINT, CELL, etc.).

Reimplemented from Kitware.VTK.vtkDataObject.

virtual int Kitware.VTK.vtkDataSet.GetNumberOfPoints ( ) [virtual]

Determine the number of points composing the dataset. THIS METHOD IS THREAD SAFE.

Reimplemented in Kitware.VTK.vtkImageData, Kitware.VTK.vtkHyperOctree, Kitware.VTK.vtkRectilinearGrid, Kitware.VTK.vtkStructuredGrid, and Kitware.VTK.vtkPointSet.

virtual double [] Kitware.VTK.vtkDataSet.GetPoint ( int  ptId) [virtual]

Get point coordinates with ptId such that: 0 <= ptId < NumberOfPoints. THIS METHOD IS NOT THREAD SAFE.

Reimplemented in Kitware.VTK.vtkImageData, Kitware.VTK.vtkHyperOctree, Kitware.VTK.vtkRectilinearGrid, Kitware.VTK.vtkStructuredGrid, and Kitware.VTK.vtkPointSet.

virtual void Kitware.VTK.vtkDataSet.GetPoint ( int  id,
IntPtr  x 
) [virtual]
virtual void Kitware.VTK.vtkDataSet.GetPointCells ( int  ptId,
vtkIdList  cellIds 
) [virtual]

Topological inquiry to get cells using point. THIS METHOD IS THREAD SAFE IF FIRST CALLED FROM A SINGLE THREAD AND THE DATASET IS NOT MODIFIED.

Reimplemented in Kitware.VTK.vtkImageData, Kitware.VTK.vtkHyperOctree, Kitware.VTK.vtkUnstructuredGrid, Kitware.VTK.vtkPolyData, Kitware.VTK.vtkRectilinearGrid, Kitware.VTK.vtkStructuredGrid, Kitware.VTK.vtkLabelHierarchy, and Kitware.VTK.vtkUniformGrid.

Return a pointer to this dataset's point data. THIS METHOD IS THREAD SAFE.

Here is the call graph for this function:

virtual void Kitware.VTK.vtkDataSet.GetScalarRange ( IntPtr  range) [virtual]

Convenience method to get the range of the scalar data (if there is any scalar data). Returns the (min/max) range of combined point and cell data. If there are no point or cell scalars the method will return (0,1). Note: Update needs to be called to create the scalars. THIS METHOD IS THREAD SAFE IF FIRST CALLED FROM A SINGLE THREAD AND THE DATASET IS NOT MODIFIED.

Reimplemented in Kitware.VTK.vtkStructuredGrid.

Convenience method to get the range of the scalar data (if there is any scalar data). THIS METHOD IS NOT THREAD SAFE.

Reimplemented in Kitware.VTK.vtkStructuredGrid.

override void Kitware.VTK.vtkDataSet.Initialize ( ) [virtual]
override int Kitware.VTK.vtkDataSet.IsA ( string  type) [virtual]
static new int Kitware.VTK.vtkDataSet.IsTypeOf ( string  type) [static]

Undocumented Block.

Reimplemented from Kitware.VTK.vtkDataObject.

Reimplemented in Kitware.VTK.vtkImageData, Kitware.VTK.vtkPolyData, Kitware.VTK.vtkHyperOctree, Kitware.VTK.vtkUnstructuredGrid, Kitware.VTK.vtkRectilinearGrid, Kitware.VTK.vtkStructuredGrid, Kitware.VTK.vtkLabelHierarchy, Kitware.VTK.vtkUniformGrid, Kitware.VTK.vtkPointSet, and Kitware.VTK.vtkStructuredPoints.

Here is the call graph for this function:

override void Kitware.VTK.vtkDataSet.ShallowCopy ( vtkDataObject  src) [virtual]
virtual void Kitware.VTK.vtkDataSet.Squeeze ( ) [virtual]

Reclaim any extra memory used to store data. THIS METHOD IS NOT THREAD SAFE.

Reimplemented in Kitware.VTK.vtkPolyData, Kitware.VTK.vtkUnstructuredGrid, and Kitware.VTK.vtkPointSet.

static internal int Kitware.VTK.vtkDataSet.vtkDataSet_CheckAttributes_01 ( HandleRef  pThis) [private]
static internal void Kitware.VTK.vtkDataSet.vtkDataSet_ComputeBounds_02 ( HandleRef  pThis) [private]
static internal void Kitware.VTK.vtkDataSet.vtkDataSet_CopyAttributes_03 ( HandleRef  pThis,
HandleRef  ds 
) [private]
static internal void Kitware.VTK.vtkDataSet.vtkDataSet_CopyStructure_04 ( HandleRef  pThis,
HandleRef  ds 
) [private]
static internal void Kitware.VTK.vtkDataSet.vtkDataSet_DeepCopy_05 ( HandleRef  pThis,
HandleRef  src 
) [private]
static internal IntPtr Kitware.VTK.vtkDataSet.vtkDataSet_FindAndGetCell_06 ( HandleRef  pThis,
IntPtr  x,
HandleRef  cell,
int  cellId,
double  tol2,
ref int  subId,
IntPtr  pcoords,
IntPtr  weights,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal int Kitware.VTK.vtkDataSet.vtkDataSet_FindCell_07 ( HandleRef  pThis,
IntPtr  x,
HandleRef  cell,
int  cellId,
double  tol2,
ref int  subId,
IntPtr  pcoords,
IntPtr  weights 
) [private]
static internal int Kitware.VTK.vtkDataSet.vtkDataSet_FindCell_08 ( HandleRef  pThis,
IntPtr  x,
HandleRef  cell,
HandleRef  gencell,
int  cellId,
double  tol2,
ref int  subId,
IntPtr  pcoords,
IntPtr  weights 
) [private]
static internal int Kitware.VTK.vtkDataSet.vtkDataSet_FindPoint_09 ( HandleRef  pThis,
double  x,
double  y,
double  z 
) [private]
static internal int Kitware.VTK.vtkDataSet.vtkDataSet_FindPoint_10 ( HandleRef  pThis,
IntPtr  x 
) [private]
static internal void Kitware.VTK.vtkDataSet.vtkDataSet_GenerateGhostLevelArray_11 ( HandleRef  pThis) [private]
static internal uint Kitware.VTK.vtkDataSet.vtkDataSet_GetActualMemorySize_12 ( HandleRef  pThis) [private]
static internal IntPtr Kitware.VTK.vtkDataSet.vtkDataSet_GetAttributesAsFieldData_13 ( HandleRef  pThis,
int  type,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal IntPtr Kitware.VTK.vtkDataSet.vtkDataSet_GetBounds_14 ( HandleRef  pThis) [private]
static internal void Kitware.VTK.vtkDataSet.vtkDataSet_GetBounds_15 ( HandleRef  pThis,
IntPtr  bounds 
) [private]
static internal IntPtr Kitware.VTK.vtkDataSet.vtkDataSet_GetCell_16 ( HandleRef  pThis,
int  cellId,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal void Kitware.VTK.vtkDataSet.vtkDataSet_GetCell_17 ( HandleRef  pThis,
int  cellId,
HandleRef  cell 
) [private]
static internal void Kitware.VTK.vtkDataSet.vtkDataSet_GetCellBounds_18 ( HandleRef  pThis,
int  cellId,
IntPtr  bounds 
) [private]
static internal IntPtr Kitware.VTK.vtkDataSet.vtkDataSet_GetCellData_19 ( HandleRef  pThis,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal void Kitware.VTK.vtkDataSet.vtkDataSet_GetCellNeighbors_20 ( HandleRef  pThis,
int  cellId,
HandleRef  ptIds,
HandleRef  cellIds 
) [private]
static internal void Kitware.VTK.vtkDataSet.vtkDataSet_GetCellPoints_21 ( HandleRef  pThis,
int  cellId,
HandleRef  ptIds 
) [private]
static internal int Kitware.VTK.vtkDataSet.vtkDataSet_GetCellType_22 ( HandleRef  pThis,
int  cellId 
) [private]
static internal void Kitware.VTK.vtkDataSet.vtkDataSet_GetCellTypes_23 ( HandleRef  pThis,
HandleRef  types 
) [private]
static internal IntPtr Kitware.VTK.vtkDataSet.vtkDataSet_GetCenter_24 ( HandleRef  pThis) [private]
static internal void Kitware.VTK.vtkDataSet.vtkDataSet_GetCenter_25 ( HandleRef  pThis,
IntPtr  center 
) [private]
static internal IntPtr Kitware.VTK.vtkDataSet.vtkDataSet_GetData_26 ( HandleRef  info,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal IntPtr Kitware.VTK.vtkDataSet.vtkDataSet_GetData_27 ( HandleRef  v,
int  i,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal int Kitware.VTK.vtkDataSet.vtkDataSet_GetDataObjectType_28 ( HandleRef  pThis) [private]
static internal double Kitware.VTK.vtkDataSet.vtkDataSet_GetLength_29 ( HandleRef  pThis) [private]
static internal int Kitware.VTK.vtkDataSet.vtkDataSet_GetMaxCellSize_31 ( HandleRef  pThis) [private]
static internal uint Kitware.VTK.vtkDataSet.vtkDataSet_GetMTime_30 ( HandleRef  pThis) [private]
static internal int Kitware.VTK.vtkDataSet.vtkDataSet_GetNumberOfCells_32 ( HandleRef  pThis) [private]
static internal int Kitware.VTK.vtkDataSet.vtkDataSet_GetNumberOfElements_33 ( HandleRef  pThis,
int  type 
) [private]
static internal int Kitware.VTK.vtkDataSet.vtkDataSet_GetNumberOfPoints_34 ( HandleRef  pThis) [private]
static internal IntPtr Kitware.VTK.vtkDataSet.vtkDataSet_GetPoint_35 ( HandleRef  pThis,
int  ptId 
) [private]
static internal void Kitware.VTK.vtkDataSet.vtkDataSet_GetPoint_36 ( HandleRef  pThis,
int  id,
IntPtr  x 
) [private]
static internal void Kitware.VTK.vtkDataSet.vtkDataSet_GetPointCells_37 ( HandleRef  pThis,
int  ptId,
HandleRef  cellIds 
) [private]
static internal IntPtr Kitware.VTK.vtkDataSet.vtkDataSet_GetPointData_38 ( HandleRef  pThis,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal void Kitware.VTK.vtkDataSet.vtkDataSet_GetScalarRange_39 ( HandleRef  pThis,
IntPtr  range 
) [private]
static internal IntPtr Kitware.VTK.vtkDataSet.vtkDataSet_GetScalarRange_40 ( HandleRef  pThis) [private]
static internal void Kitware.VTK.vtkDataSet.vtkDataSet_Initialize_41 ( HandleRef  pThis) [private]
static internal int Kitware.VTK.vtkDataSet.vtkDataSet_IsA_42 ( HandleRef  pThis,
string  type 
) [private]
static internal int Kitware.VTK.vtkDataSet.vtkDataSet_IsTypeOf_43 ( string  type) [private]
static internal IntPtr Kitware.VTK.vtkDataSet.vtkDataSet_NewInstance_44 ( HandleRef  pThis,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal IntPtr Kitware.VTK.vtkDataSet.vtkDataSet_SafeDownCast_45 ( HandleRef  o,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal void Kitware.VTK.vtkDataSet.vtkDataSet_ShallowCopy_46 ( HandleRef  pThis,
HandleRef  src 
) [private]
static internal void Kitware.VTK.vtkDataSet.vtkDataSet_Squeeze_47 ( HandleRef  pThis) [private]

Member Data Documentation

new readonly string Kitware.VTK.vtkDataSet.MRClassNameKey = "10vtkDataSet" [static]
new const string Kitware.VTK.vtkDataSet.MRFullTypeName = "Kitware.VTK.vtkDataSet"

The documentation for this class was generated from the following file: