ActiViz .NET  5.8.0
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | Protected Member Functions | Static Private Member Functions | List of all members
Kitware.VTK.vtkPolyData Class Reference

vtkPolyData - concrete dataset represents vertices, lines, polygons, and triangle strips More...

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

Public Types

enum  ERR_INCORRECT_FIELD_WrapperEnum {
  ERR_INCORRECT_FIELD = -3, ERR_NON_MANIFOLD_STAR = -2, ERR_NO_SUCH_FIELD = -4, MAXIMUM = 2,
  MINIMUM = 0, REGULAR_POINT = -1, SADDLE = 1
}
 This method will remove any cell that has a ghost level array value greater or equal to level. It does not remove unused points (yet). More...

Public Member Functions

 vtkPolyData (IntPtr rawCppThis, bool callDisposalMethod, bool strong)
 Automatically generated constructor - called from generated code. DO NOT call directly.
 vtkPolyData ()
 Undocumented Block
void AddCellReference (int cellId)
 For legacy compatibility. Do not use.
void AddReferenceToCell (int ptId, int cellId)
 Add a reference to a cell in a particular point's link list. (You may also consider using AddCellReference() to add the references from all the cell's points to the cell.) This operator does not realloc memory; use the operator ResizeCellList() to do this if necessary.
void Allocate (int numCells, int extSize)
 Method allocates initial storage for vertex, line, polygon, and triangle strip arrays. Use this method before the method PolyData::InsertNextCell(). (Or, provide vertex, line, polygon, and triangle strip cell arrays.)
void Allocate (vtkPolyData inPolyData, int numCells, int extSize)
 Similar to the method above, this method allocates initial storage for vertex, line, polygon, and triangle strip arrays. It does this more intelligently, examining the supplied inPolyData to determine whether to allocate the verts, lines, polys, and strips arrays. (These arrays are allocated only if there is data in the corresponding arrays in the inPolyData.) Caution: if the inPolyData has no verts, and after allocating with this method an PolyData::InsertNextCell() is invoked where a vertex is inserted, bad things will happen.
void BuildCells ()
 Create data structure that allows random access of cells.
void BuildLinks (int initialSize)
 Create upward links from points to cells that use each point. Enables topologically complex queries. Normally the links array is allocated based on the number of points in the vtkPolyData. The optional initialSize parameter can be used to allocate a larger size initially.
override void ComputeBounds ()
 Compute the (X, Y, Z) bounds of the data.
void CopyCells (vtkPolyData pd, vtkIdList idList, vtkPointLocator locator)
 Copy cells listed in idList from pd, including points, point data, and cell data. This method assumes that point and cell data have been allocated. If you pass in a point locator, then the points won't be duplicated in the output.
override void CopyStructure (vtkDataSet ds)
 Copy the geometric and topological structure of an input poly data object.
override void DeepCopy (vtkDataObject src)
 Shallow and Deep copy.
void DeleteCell (int cellId)
 For legacy compatibility. Do not use.
void DeleteCells ()
 Release data structure that allows random access of the cells. This must be done before a 2nd call to BuildLinks(). DeleteCells implicitly deletes the links as well since they are no longer valid.
void DeleteLinks ()
 Release the upward links from point to cells that use each point.
void DeletePoint (int ptId)
 For legacy compatibility. Do not use.
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 vtkCell GetCell (int cellId)
 Standard vtkDataSet interface.
override void GetCell (int cellId, vtkGenericCell cell)
 Standard vtkDataSet interface.
override void GetCellBounds (int cellId, IntPtr bounds)
 Standard vtkDataSet interface.
void GetCellEdgeNeighbors (int cellId, int p1, int p2, vtkIdList cellIds)
 Get the neighbors at an edge. More efficient than the general GetCellNeighbors(). Assumes links have been built (with BuildLinks()), and looks specifically for edge neighbors.
override void GetCellNeighbors (int cellId, vtkIdList ptIds, vtkIdList cellIds)
 Standard vtkDataSet interface.
override void GetCellPoints (int cellId, vtkIdList ptIds)
 Copy a cells point ids into list provided. (Less efficient.)
override int GetCellType (int cellId)
 Standard vtkDataSet interface.
override int GetDataObjectType ()
 Return what type of dataset this is.
virtual int GetGhostLevel ()
 Get the ghost level.
vtkCellArray GetLines ()
 Get the cell array defining lines. If there are no lines, an empty array will be returned (convenience to simplify traversal).
override int GetMaxCellSize ()
 Return the maximum cell size in this poly data.
override int GetNumberOfCells ()
 Standard vtkDataSet interface.
int GetNumberOfLines ()
 Return the number of primitives of a particular type held..
virtual int GetNumberOfPieces ()
 Get the piece and the number of pieces. Similar to extent in 3D.
int GetNumberOfPolys ()
 Return the number of primitives of a particular type held..
int GetNumberOfStrips ()
 Return the number of primitives of a particular type held..
int GetNumberOfVerts ()
 Return the number of primitives of a particular type held..
virtual int GetPiece ()
 Get the piece and the number of pieces. Similar to extent in 3D.
override void GetPointCells (int ptId, vtkIdList cellIds)
 Efficient method to obtain cells using a particular point. Make sure that routine BuildLinks() has been called.
vtkCellArray GetPolys ()
 Get the cell array defining polygons. If there are no polygons, an empty array will be returned (convenience to simplify traversal).
int GetScalarFieldCriticalIndex (int pointId, vtkDataArray scalarField)
 This method will remove any cell that has a ghost level array value greater or equal to level. It does not remove unused points (yet).
int GetScalarFieldCriticalIndex (int pointId, int fieldId)
 This method will remove any cell that has a ghost level array value greater or equal to level. It does not remove unused points (yet).
int GetScalarFieldCriticalIndex (int pointId, string fieldName)
 This method will remove any cell that has a ghost level array value greater or equal to level. It does not remove unused points (yet).
vtkCellArray GetStrips ()
 Get the cell array defining triangle strips. If there are no triangle strips, an empty array will be returned (convenience to simplify traversal).
override void GetUpdateExtent (IntPtr extent)
 We need this here to avoid hiding superclass method
void GetUpdateExtent (ref int piece, ref int numPieces, ref int ghostLevel)
 For streaming. User/next filter specifies which piece they want updated. The source of this poly data has to return exactly this piece.
override int[] GetUpdateExtent ()
 We need this here to avoid hiding superclass method
override void GetUpdateExtent (ref int x0, ref int x1, ref int y0, ref int y1, ref int z0, ref int z1)
 We need this here to avoid hiding superclass method
vtkCellArray GetVerts ()
 Get the cell array defining vertices. If there are no vertices, an empty array will be returned (convenience to simplify traversal).
override void Initialize ()
 Restore object to initial state. Release memory back to system.
int InsertNextCell (int type, int npts, IntPtr pts)
 Insert a cell of type VTK_VERTEX, VTK_POLY_VERTEX, VTK_LINE, VTK_POLY_LINE, VTK_TRIANGLE, VTK_QUAD, VTK_POLYGON, or VTK_TRIANGLE_STRIP. Make sure that the PolyData::Allocate() function has been called first or that vertex, line, polygon, and triangle strip arrays have been supplied. Note: will also insert VTK_PIXEL, but converts it to VTK_QUAD.
int InsertNextCell (int type, vtkIdList pts)
 Insert a cell of type VTK_VERTEX, VTK_POLY_VERTEX, VTK_LINE, VTK_POLY_LINE, VTK_TRIANGLE, VTK_QUAD, VTK_POLYGON, or VTK_TRIANGLE_STRIP. Make sure that the PolyData::Allocate() function has been called first or that vertex, line, polygon, and triangle strip arrays have been supplied. Note: will also insert VTK_PIXEL, but converts it to VTK_QUAD.
int InsertNextLinkedCell (int type, int npts, IntPtr pts)
 Add a new cell to the cell data structure (after cell pointers have been built). This method adds the cell and then updates the links from the points to the cells. (Memory is allocated as necessary.)
int InsertNextLinkedPoint (int numLinks)
 Add a point to the cell data structure (after cell pointers have been built). This method adds the point and then allocates memory for the links to the cells. (To use this method, make sure points are available and BuildLinks() has been invoked.) Of the two methods below, one inserts a point coordinate and the other just makes room for cell links.
int InsertNextLinkedPoint (IntPtr x, int numLinks)
 Add a point to the cell data structure (after cell pointers have been built). This method adds the point and then allocates memory for the links to the cells. (To use this method, make sure points are available and BuildLinks() has been invoked.) Of the two methods below, one inserts a point coordinate and the other just makes room for cell links.
override int IsA (string type)
 Undocumented Block
int IsEdge (int p1, int p2)
 Determine whether two points form an edge. If they do, return non-zero. By definition PolyVertex and PolyLine have no edges since 1-dimensional edges are only found on cells 2D and higher. Edges are defined as 1-D boundary entities to cells. Make sure BuildLinks() has been called first.
int IsPointUsedByCell (int ptId, int cellId)
 For legacy compatibility. Do not use.
int IsTriangle (int v1, int v2, int v3)
 For legacy compatibility. Do not use.
new vtkPolyData NewInstance ()
 Undocumented Block
void RemoveCellReference (int cellId)
 For legacy compatibility. Do not use.
void RemoveDeletedCells ()
 The cells marked by calls to DeleteCell are stored in the Cell Array VTK_EMPTY_CELL, but they still exist in the polys array. Calling RemoveDeletedCells will travers the poly array and remove/compact the cell array as well as any cell data thus truly removing the cells from the polydata object. WARNING. This only handles the polys at the moment
void RemoveGhostCells (int level)
 This method will remove any cell that has a ghost level array value greater or equal to level. It does not remove unused points (yet).
void RemoveReferenceToCell (int ptId, int cellId)
 Remove a reference to a cell in a particular point's link list. You may also consider using RemoveCellReference() to remove the references from all the cell's points to the cell. This operator does not reallocate memory; use the operator ResizeCellList() to do this if necessary.
void ReplaceCell (int cellId, int npts, IntPtr pts)
 Replace the points defining cell "cellId" with a new set of points. This operator is (typically) used when links from points to cells have not been built (i.e., BuildLinks() has not been executed). Use the operator ReplaceLinkedCell() to replace a cell when cell structure has been built.
void ReplaceCellPoint (int cellId, int oldPtId, int newPtId)
 For legacy compatibility. Do not use.
void ReplaceLinkedCell (int cellId, int npts, IntPtr pts)
 Replace one cell with another in cell structure. This operator updates the connectivity list and the point's link list. It does not delete references to the old cell in the point's link list. Use the operator RemoveCellReference() to delete all references from points to (old) cell. You may also want to consider using the operator ResizeCellList() if the link list is changing size.
void Reset ()
 Begin inserting data all over again. Memory is not freed but otherwise objects are returned to their initial state.
void ResizeCellList (int ptId, int size)
 For legacy compatibility. Do not use.
void ReverseCell (int cellId)
 Reverse the order of point ids defining the cell.
void SetLines (vtkCellArray l)
 Set the cell array defining lines.
void SetPolys (vtkCellArray p)
 Set the cell array defining polygons.
void SetStrips (vtkCellArray s)
 Set the cell array defining triangle strips.
void SetVerts (vtkCellArray v)
 Set the cell array defining vertices.
override void ShallowCopy (vtkDataObject src)
 Shallow and Deep copy.
override void Squeeze ()
 Recover extra allocated memory when creating data whose initial size is unknown. Examples include using the InsertNextCell() method, or when using the CellArray::EstimateSize() method to create vertices, lines, polygons, or triangle strips.
- Public Member Functions inherited from Kitware.VTK.vtkPointSet
 vtkPointSet (IntPtr rawCppThis, bool callDisposalMethod, bool strong)
 Automatically generated constructor - called from generated code. DO NOT call directly.
override int FindCell (IntPtr x, vtkCell cell, int cellId, double tol2, ref int subId, IntPtr pcoords, IntPtr weights)
 See vtkDataSet for additional information.
override int FindCell (IntPtr x, vtkCell cell, vtkGenericCell gencell, int cellId, double tol2, ref int subId, IntPtr pcoords, IntPtr weights)
 See vtkDataSet for additional information.
override int FindPoint (IntPtr x)
 See vtkDataSet for additional information.
new int FindPoint (double x, double y, double z)
 See vtkDataSet for additional information.
override uint GetMTime ()
 Get MTime which also considers its vtkPoints MTime.
override int GetNumberOfPoints ()
 Shallow and Deep copy.
override double[] GetPoint (int ptId)
 See vtkDataSet for additional information.
override void GetPoint (int ptId, IntPtr x)
 See vtkDataSet for additional information.
virtual vtkPoints GetPoints ()
 Specify point array to define point coordinates.
virtual void SetPoints (vtkPoints arg0)
 Specify point array to define point coordinates.
- Public Member Functions inherited from Kitware.VTK.vtkDataSet
 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 CopyAttributes (vtkDataSet ds)
 Copy the attributes associated with the specified dataset to this instance of vtkDataSet. THIS METHOD IS NOT THREAD SAFE.
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 void GenerateGhostLevelArray ()
 Normally called by pipeline executives or algoritgms only. This method computes the ghost arrays for a given dataset.
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
vtkCellData GetCellData ()
 Return a pointer to this dataset's cell data. THIS METHOD IS THREAD SAFE
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
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 int GetNumberOfElements (int type)
 Get the number of elements for a specific attribute type (POINT, CELL, etc.).
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.
- Public Member Functions inherited from Kitware.VTK.vtkDataObject
 vtkDataObject (IntPtr rawCppThis, bool callDisposalMethod, bool strong)
 Automatically generated constructor - called from generated code. DO NOT call directly.
 vtkDataObject ()
 Undocumented Block
override void Register (vtkObjectBase o)
 Handle the source/data loop.
void CopyInformation (vtkDataObject data)
 Copy the generic information (WholeExtent ...)
virtual void CopyInformationFromPipeline (vtkInformation request)
 Copy information about this data object from the PipelineInformation to its own Information for the given request.
virtual void CopyInformationToPipeline (vtkInformation request, vtkInformation input, vtkInformation output, int forceCopy)
 Copy information about this data object to the output information from its own Information for the given request. If the second argument is not NULL then it is the pipeline information object for the input to this data object's producer. If forceCopy is true, information is copied even if it exists in the output.
void CopyInformationToPipeline (vtkInformation request, vtkInformation input)
 Calls CopyInformationToPipeline(request, input, this->PipelineInformation, 0). Subclasses should not override this method (not virtual)
virtual void CopyTypeSpecificInformation (vtkDataObject data)
 By default, there is no type specific information
virtual void Crop ()
 This method crops the data object (if necesary) so that the extent matches the update extent.
void DataHasBeenGenerated ()
 This method is called by the source when it executes to generate data. It is sort of the opposite of ReleaseData. It sets the DataReleased flag to 0, and sets a new UpdateTime.
virtual int GetAttributeTypeForArray (vtkAbstractArray arr)
 Retrieves the attribute type that an array came from. This is useful for obtaining which attribute type a input array to an algorithm came from (retrieved from GetInputAbstractArrayToProcesss).
virtual vtkDataSetAttributes GetAttributes (int type)
 Returns the attributes of the data object of the specified attribute type. The type may be: <ul> <li>POINT - Defined in vtkDataSet subclasses. <li>CELL - Defined in vtkDataSet subclasses. <li>VERTEX - Defined in vtkGraph subclasses. <li>EDGE - Defined in vtkGraph subclasses. <li>ROW - Defined in vtkTable. </ul> The other attribute type, FIELD, will return NULL since field data is stored as a vtkFieldData instance, not a vtkDataSetAttributes instance. To retrieve field data, use GetAttributesAsFieldData.
virtual int GetDataReleased ()
 Get the flag indicating the data has been released.
virtual uint GetEstimatedMemorySize ()
 Get the estimated size of this data object itself. Should be called after UpdateInformation() and PropagateUpdateExtent() have both been called. Should be overridden in a subclass - otherwise the default is to assume that this data object requires no memory. The size is returned in kilobytes.
vtkExtentTranslator GetExtentTranslator ()
 An object that will translate pieces into structured extents.
virtual int GetExtentType ()
 The ExtentType will be left as VTK_PIECES_EXTENT for data objects such as vtkPolyData and vtkUnstructuredGrid. The ExtentType will be changed to VTK_3D_EXTENT for data objects with 3D structure such as vtkImageData (and its subclass vtkStructuredPoints), vtkRectilinearGrid, and vtkStructuredGrid. The default is the have an extent in pieces, with only one piece (no streaming possible).
virtual vtkFieldData GetFieldData ()
 Assign or retrieve a general field data to this data object.
virtual vtkInformation GetInformation ()
 Set/Get the information object associated with this data object.
virtual int GetMaximumNumberOfPieces ()
 Set/Get the maximum number of pieces that can be requested. The maximum number of pieces is meta data for unstructured data sets. It gets set by the source during the update information call. A value of -1 indicates that there is no maximum.
virtual vtkInformation GetPipelineInformation ()
 Get/Set the pipeline information object that owns this data object.
uint GetPipelineMTime ()
 Get the cumulative modified time of everything upstream. Does not include the MTime of this object.
virtual vtkAlgorithmOutput GetProducerPort ()
 Get the port currently producing this object.
int GetReleaseDataFlag ()
 Turn on/off flag to control whether this object's data is released after being used by a filter.
virtual int GetRequestExactExtent ()
 This request flag indicates whether the requester can handle more data than requested. Right now it is used in vtkImageData. Image filters can return more data than requested. The the consumer cannot handle this (i.e. DataSetToDataSetFitler) the image will crop itself. This functionality used to be in ImageToStructuredPoints.
virtual vtkSource GetSource ()
 Set/Get the source object creating this data object.
virtual int GetUpdateGhostLevel ()
 Set / Get the update ghost level and the update number of ghost levels. Similar to update extent in 3D.
virtual int GetUpdateNumberOfPieces ()
 Set / Get the update piece and the update number of pieces. Similar to update extent in 3D.
virtual int GetUpdatePiece ()
 Set / Get the update piece and the update number of pieces. Similar to update extent in 3D.
uint GetUpdateTime ()
 Used by Threaded ports to determine if they should initiate an asynchronous update (still in development).
virtual double[] GetWholeBoundingBox ()
 Set/Get the whole bounding box of this data object. The whole whole bounding box is meta data for data sets It gets set by the source during the update information call.
virtual void GetWholeBoundingBox (ref double x0, ref double x1, ref double y0, ref double y1, ref double z0, ref double z1)
 Set/Get the whole bounding box of this data object. The whole whole bounding box is meta data for data sets It gets set by the source during the update information call.
virtual void GetWholeBoundingBox (IntPtr extent)
 Set/Get the whole bounding box of this data object. The whole whole bounding box is meta data for data sets It gets set by the source during the update information call.
virtual int[] GetWholeExtent ()
 Set/Get the whole extent of this data object. The whole extent is meta data for structured data sets. It gets set by the source during the update information call.
virtual void GetWholeExtent (ref int x0, ref int x1, ref int y0, ref int y1, ref int z0, ref int z1)
 Set/Get the whole extent of this data object. The whole extent is meta data for structured data sets. It gets set by the source during the update information call.
virtual void GetWholeExtent (IntPtr extent)
 Set/Get the whole extent of this data object. The whole extent is meta data for structured data sets. It gets set by the source during the update information call.
void GlobalReleaseDataFlagOff ()
 Turn on/off flag to control whether every object releases its data after being used by a filter.
void GlobalReleaseDataFlagOn ()
 Turn on/off flag to control whether every object releases its data after being used by a filter.
virtual void PrepareForNewData ()
 make the output data ready for new data to be inserted. For most objects we just call Initialize. But for vtkImageData we leave the old data in case the memory can be reused.
virtual void PropagateUpdateExtent ()
 WARNING: INTERNAL METHOD - NOT FOR GENERAL USE. THIS METHOD IS PART OF THE PIPELINE UPDATE FUNCTIONALITY. The update extent for this object is propagated up the pipeline. This propagation may early terminate based on the PipelineMTime.
void ReleaseData ()
 Release data back to system to conserve memory resource. Used during visualization network execution. Releasing this data does not make down-stream data invalid, so it does not modify the MTime of this data object.
virtual void ReleaseDataFlagOff ()
 Turn on/off flag to control whether this object's data is released after being used by a filter.
virtual void ReleaseDataFlagOn ()
 Turn on/off flag to control whether this object's data is released after being used by a filter.
virtual void RequestExactExtentOff ()
 This request flag indicates whether the requester can handle more data than requested. Right now it is used in vtkImageData. Image filters can return more data than requested. The the consumer cannot handle this (i.e. DataSetToDataSetFitler) the image will crop itself. This functionality used to be in ImageToStructuredPoints.
virtual void RequestExactExtentOn ()
 This request flag indicates whether the requester can handle more data than requested. Right now it is used in vtkImageData. Image filters can return more data than requested. The the consumer cannot handle this (i.e. DataSetToDataSetFitler) the image will crop itself. This functionality used to be in ImageToStructuredPoints.
void SetExtentTranslator (vtkExtentTranslator translator)
 An object that will translate pieces into structured extents.
virtual void SetFieldData (vtkFieldData arg0)
 Assign or retrieve a general field data to this data object.
virtual void SetInformation (vtkInformation arg0)
 Set/Get the information object associated with this data object.
virtual void SetMaximumNumberOfPieces (int arg0)
 Set/Get the maximum number of pieces that can be requested. The maximum number of pieces is meta data for unstructured data sets. It gets set by the source during the update information call. A value of -1 indicates that there is no maximum.
virtual void SetPipelineInformation (vtkInformation arg0)
 Get/Set the pipeline information object that owns this data object.
void SetReleaseDataFlag (int arg0)
 Turn on/off flag to control whether this object's data is released after being used by a filter.
virtual void SetRequestExactExtent (int flag)
 This request flag indicates whether the requester can handle more data than requested. Right now it is used in vtkImageData. Image filters can return more data than requested. The the consumer cannot handle this (i.e. DataSetToDataSetFitler) the image will crop itself. This functionality used to be in ImageToStructuredPoints.
void SetSource (vtkSource s)
 Set/Get the source object creating this data object.
virtual void SetUpdateExtent (int piece, int numPieces, int ghostLevel)
 A generic way of specifying an update extent. Subclasses must decide what a piece is. When the NumberOfPieces is zero, then no data is requested, and the source will not execute.
void SetUpdateExtent (int piece, int numPieces)
 A generic way of specifying an update extent. Subclasses must decide what a piece is. When the NumberOfPieces is zero, then no data is requested, and the source will not execute.
virtual void SetUpdateExtent (int x0, int x1, int y0, int y1, int z0, int z1)
 Set the update extent for data objects that use 3D extents. Using this method on data objects that set extents as pieces (such as vtkPolyData or vtkUnstructuredGrid) has no real effect. Don't use the set macro to set the update extent since we don't want this object to be modified just due to a change in update extent. When the volume of the extent is zero (0, -1,..), then no data is requested, and the source will not execute.
virtual void SetUpdateExtent (IntPtr extent)
 Set the update extent for data objects that use 3D extents. Using this method on data objects that set extents as pieces (such as vtkPolyData or vtkUnstructuredGrid) has no real effect. Don't use the set macro to set the update extent since we don't want this object to be modified just due to a change in update extent. When the volume of the extent is zero (0, -1,..), then no data is requested, and the source will not execute.
void SetUpdateExtentToWholeExtent ()
 If the whole input extent is required to generate the requested output extent, this method can be called to set the input update extent to the whole input extent. This method assumes that the whole extent is known (that UpdateInformation has been called)
void SetUpdateGhostLevel (int level)
 Set / Get the update ghost level and the update number of ghost levels. Similar to update extent in 3D.
void SetUpdateNumberOfPieces (int num)
 Set / Get the update piece and the update number of pieces. Similar to update extent in 3D.
void SetUpdatePiece (int piece)
 Set / Get the update piece and the update number of pieces. Similar to update extent in 3D.
virtual void SetWholeBoundingBox (double x0, double x1, double y0, double y1, double z0, double z1)
 Set/Get the whole bounding box of this data object. The whole whole bounding box is meta data for data sets It gets set by the source during the update information call.
virtual void SetWholeBoundingBox (IntPtr bb)
 Set/Get the whole bounding box of this data object. The whole whole bounding box is meta data for data sets It gets set by the source during the update information call.
virtual void SetWholeExtent (int x0, int x1, int y0, int y1, int z0, int z1)
 Set/Get the whole extent of this data object. The whole extent is meta data for structured data sets. It gets set by the source during the update information call.
virtual void SetWholeExtent (IntPtr extent)
 Set/Get the whole extent of this data object. The whole extent is meta data for structured data sets. It gets set by the source during the update information call.
int ShouldIReleaseData ()
 Return flag indicating whether data should be released after use by a filter.
virtual void TriggerAsynchronousUpdate ()
 WARNING: INTERNAL METHOD - NOT FOR GENERAL USE. THIS METHOD IS PART OF THE PIPELINE UPDATE FUNCTIONALITY. Propagate back up the pipeline for ports and trigger the update on the other side of the port to allow for asynchronous parallel processing in the pipeline. This propagation may early terminate based on the PipelineMTime.
virtual void Update ()
 Provides opportunity for the data object to insure internal consistency before access. Also causes owning source/filter (if any) to update itself. The Update() method is composed of UpdateInformation(), PropagateUpdateExtent(), TriggerAsynchronousUpdate(), and UpdateData().
virtual void UpdateData ()
 WARNING: INTERNAL METHOD - NOT FOR GENERAL USE. THIS METHOD IS PART OF THE PIPELINE UPDATE FUNCTIONALITY. Propagate the update back up the pipeline, and perform the actual work of updating on the way down. When the propagate arrives at a port, block and wait for the asynchronous update to finish on the other side. This propagation may early terminate based on the PipelineMTime.
virtual void UpdateInformation ()
 WARNING: INTERNAL METHOD - NOT FOR GENERAL USE. THIS METHOD IS PART OF THE PIPELINE UPDATE FUNCTIONALITY. Update all the "easy to update" information about the object such as the extent which will be used to control the update. This propagates all the way up then back down the pipeline. As a by-product the PipelineMTime is updated.
- Public Member Functions inherited from Kitware.VTK.vtkObject
 vtkObject (IntPtr rawCppThis, bool callDisposalMethod, bool strong)
 Automatically generated constructor - called from generated code. DO NOT call directly.
 vtkObject ()
 Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
uint AddObserver (uint arg0, vtkCommand arg1, float priority)
 This is a global flag that controls whether any debug, warning or error messages are displayed.
uint AddObserver (string arg0, vtkCommand arg1, float priority)
 This is a global flag that controls whether any debug, warning or error messages are displayed.
virtual void DebugOff ()
 Turn debugging output off.
virtual void DebugOn ()
 Turn debugging output on.
vtkCommand GetCommand (uint tag)
 This is a global flag that controls whether any debug, warning or error messages are displayed.
byte GetDebug ()
 Get the value of the debug flag.
int HasObserver (uint arg0, vtkCommand arg1)
 This is a global flag that controls whether any debug, warning or error messages are displayed.
int HasObserver (string arg0, vtkCommand arg1)
 This is a global flag that controls whether any debug, warning or error messages are displayed.
int HasObserver (uint arg0)
 This is a global flag that controls whether any debug, warning or error messages are displayed.
int HasObserver (string arg0)
 This is a global flag that controls whether any debug, warning or error messages are displayed.
int InvokeEvent (uint arg0, IntPtr callData)
 This is a global flag that controls whether any debug, warning or error messages are displayed.
int InvokeEvent (string arg0, IntPtr callData)
 This is a global flag that controls whether any debug, warning or error messages are displayed.
int InvokeEvent (uint arg0)
 This is a global flag that controls whether any debug, warning or error messages are displayed.
int InvokeEvent (string arg0)
 This is a global flag that controls whether any debug, warning or error messages are displayed.
virtual void Modified ()
 Update the modification time for this object. Many filters rely on the modification time to determine if they need to recompute their data. The modification time is a unique monotonically increasing unsigned long integer.
void RemoveAllObservers ()
 This is a global flag that controls whether any debug, warning or error messages are displayed.
void RemoveObserver (vtkCommand arg0)
 This is a global flag that controls whether any debug, warning or error messages are displayed.
void RemoveObserver (uint tag)
 This is a global flag that controls whether any debug, warning or error messages are displayed.
void RemoveObservers (uint arg0, vtkCommand arg1)
 This is a global flag that controls whether any debug, warning or error messages are displayed.
void RemoveObservers (string arg0, vtkCommand arg1)
 This is a global flag that controls whether any debug, warning or error messages are displayed.
void RemoveObservers (uint arg0)
 This is a global flag that controls whether any debug, warning or error messages are displayed.
void RemoveObservers (string arg0)
 This is a global flag that controls whether any debug, warning or error messages are displayed.
void SetDebug (byte debugFlag)
 Set the value of the debug flag. A non-zero value turns debugging on.
override string ToString ()
 Returns the result of calling vtkObject::Print as a C# string.
delegate void vtkObjectEventHandler (vtkObject sender, vtkObjectEventArgs e)
 Generic signature for all vtkObject events.
void RemoveAllHandlersForAllEvents ()
 Call RemoveAllHandlers on each non-null vtkObjectEventRelay. TODO: This method needs to get called by the generated Dispose. Make that happen...
- Public Member Functions inherited from Kitware.VTK.vtkObjectBase
 vtkObjectBase (IntPtr rawCppThis, bool callDisposalMethod, bool strong)
 Automatically generated constructor - called from generated code. DO NOT call directly.
 vtkObjectBase ()
 Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
virtual void FastDelete ()
 Delete a reference to this object. This version will not invoke garbage collection and can potentially leak the object if it is part of a reference loop. Use this method only when it is known that the object has another reference and would not be collected if a full garbage collection check were done.
string GetClassName ()
 Return the class name as a string. This method is defined in all subclasses of vtkObjectBase with the vtkTypeMacro found in vtkSetGet.h.
int GetReferenceCount ()
 Return the current reference count of this object.
void SetReferenceCount (int arg0)
 Sets the reference count. (This is very dangerous, use with care.)

Static Public Member Functions

static new vtkPolyData New ()
 Undocumented Block
static new vtkPolyData GetData (vtkInformation info)
 This method will remove any cell that has a ghost level array value greater or equal to level. It does not remove unused points (yet).
static new vtkPolyData GetData (vtkInformationVector v, int i)
 This method will remove any cell that has a ghost level array value greater or equal to level. It does not remove unused points (yet).
static new int IsTypeOf (string type)
 Undocumented Block
static new vtkPolyData SafeDownCast (vtkObjectBase o)
 Undocumented Block

Public Attributes

new const string MRFullTypeName = "Kitware.VTK.vtkPolyData"
 Automatically generated type registration mechanics.
- Public Attributes inherited from Kitware.VTK.vtkPointSet
new const string MRFullTypeName = "Kitware.VTK.vtkPointSet"
 Automatically generated type registration mechanics.
- Public Attributes inherited from Kitware.VTK.vtkDataSet
new const string MRFullTypeName = "Kitware.VTK.vtkDataSet"
 Automatically generated type registration mechanics.
- Public Attributes inherited from Kitware.VTK.vtkDataObject
new const string MRFullTypeName = "Kitware.VTK.vtkDataObject"
 Automatically generated type registration mechanics.
- Public Attributes inherited from Kitware.VTK.vtkObject
new const string MRFullTypeName = "Kitware.VTK.vtkObject"
 Automatically generated type registration mechanics.
- Public Attributes inherited from Kitware.VTK.vtkObjectBase
new const string MRFullTypeName = "Kitware.VTK.vtkObjectBase"
 Automatically generated type registration mechanics.
- Public Attributes inherited from Kitware.VTK.WrappedObject
const string vtkChartsEL_dll = "libKitware.VTK.vtkCharts.Unmanaged.so"
 Export layer functions for 'vtkCharts' are exported from the DLL named by the value of this variable.
const string vtkCommonEL_dll = "libKitware.VTK.vtkCommon.Unmanaged.so"
 Export layer functions for 'vtkCommon' are exported from the DLL named by the value of this variable.
const string vtkFilteringEL_dll = "libKitware.VTK.vtkFiltering.Unmanaged.so"
 Export layer functions for 'vtkFiltering' are exported from the DLL named by the value of this variable.
const string vtkGenericFilteringEL_dll = "libKitware.VTK.vtkGenericFiltering.Unmanaged.so"
 Export layer functions for 'vtkGenericFiltering' are exported from the DLL named by the value of this variable.
const string vtkGeovisEL_dll = "libKitware.VTK.vtkGeovis.Unmanaged.so"
 Export layer functions for 'vtkGeovis' are exported from the DLL named by the value of this variable.
const string vtkGraphicsEL_dll = "libKitware.VTK.vtkGraphics.Unmanaged.so"
 Export layer functions for 'vtkGraphics' are exported from the DLL named by the value of this variable.
const string vtkHybridEL_dll = "libKitware.VTK.vtkHybrid.Unmanaged.so"
 Export layer functions for 'vtkHybrid' are exported from the DLL named by the value of this variable.
const string vtkIOEL_dll = "libKitware.VTK.vtkIO.Unmanaged.so"
 Export layer functions for 'vtkIO' are exported from the DLL named by the value of this variable.
const string vtkImagingEL_dll = "libKitware.VTK.vtkImaging.Unmanaged.so"
 Export layer functions for 'vtkImaging' are exported from the DLL named by the value of this variable.
const string vtkInfovisEL_dll = "libKitware.VTK.vtkInfovis.Unmanaged.so"
 Export layer functions for 'vtkInfovis' are exported from the DLL named by the value of this variable.
const string vtkParallelEL_dll = "libKitware.VTK.vtkParallel.Unmanaged.so"
 Export layer functions for 'vtkParallel' are exported from the DLL named by the value of this variable.
const string vtkRenderingEL_dll = "libKitware.VTK.vtkRendering.Unmanaged.so"
 Export layer functions for 'vtkRendering' are exported from the DLL named by the value of this variable.
const string vtkViewsEL_dll = "libKitware.VTK.vtkViews.Unmanaged.so"
 Export layer functions for 'vtkViews' are exported from the DLL named by the value of this variable.
const string vtkVolumeRenderingEL_dll = "libKitware.VTK.vtkVolumeRendering.Unmanaged.so"
 Export layer functions for 'vtkVolumeRendering' are exported from the DLL named by the value of this variable.
const string vtkWidgetsEL_dll = "libKitware.VTK.vtkWidgets.Unmanaged.so"
 Export layer functions for 'vtkWidgets' are exported from the DLL named by the value of this variable.

Static Public Attributes

static new readonly string MRClassNameKey = "11vtkPolyData"
 Automatically generated type registration mechanics.
- Static Public Attributes inherited from Kitware.VTK.vtkPointSet
static new readonly string MRClassNameKey = "11vtkPointSet"
 Automatically generated type registration mechanics.
- Static Public Attributes inherited from Kitware.VTK.vtkDataSet
static new readonly string MRClassNameKey = "10vtkDataSet"
 Automatically generated type registration mechanics.
- Static Public Attributes inherited from Kitware.VTK.vtkDataObject
static new readonly string MRClassNameKey = "13vtkDataObject"
 Automatically generated type registration mechanics.
- Static Public Attributes inherited from Kitware.VTK.vtkObject
static new readonly string MRClassNameKey = "9vtkObject"
 Automatically generated type registration mechanics.
- Static Public Attributes inherited from Kitware.VTK.vtkObjectBase
static new readonly string MRClassNameKey = "13vtkObjectBase"
 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.

Static Private Member Functions

static vtkPolyData ()
 Automatically generated type registration mechanics.

Additional Inherited Members

- Properties inherited from Kitware.VTK.vtkObject
Kitware.VTK.vtkObject.vtkObjectEventHandler AbortCheckEvt
 The AbortCheckEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.AbortCheckEvent as the eventId parameter.
Kitware.VTK.vtkObject.vtkObjectEventHandler AnimationCueTickEvt
 The AnimationCueTickEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.AnimationCueTickEvent as the eventId parameter.
Kitware.VTK.vtkObject.vtkObjectEventHandler AnyEvt
 The AnyEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.AnyEvent as the eventId parameter.
Kitware.VTK.vtkObject.vtkObjectEventHandler CharEvt
 The CharEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.CharEvent as the eventId parameter.
Kitware.VTK.vtkObject.vtkObjectEventHandler ConfigureEvt
 The ConfigureEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.ConfigureEvent as the eventId parameter.
Kitware.VTK.vtkObject.vtkObjectEventHandler ConnectionClosedEvt
 The ConnectionClosedEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.ConnectionClosedEvent as the eventId parameter.
Kitware.VTK.vtkObject.vtkObjectEventHandler ConnectionCreatedEvt
 The ConnectionCreatedEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.ConnectionCreatedEvent as the eventId parameter.
Kitware.VTK.vtkObject.vtkObjectEventHandler CreateTimerEvt
 The CreateTimerEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.CreateTimerEvent as the eventId parameter.
Kitware.VTK.vtkObject.vtkObjectEventHandler CursorChangedEvt
 The CursorChangedEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.CursorChangedEvent as the eventId parameter.
Kitware.VTK.vtkObject.vtkObjectEventHandler DeleteEvt
 The DeleteEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.DeleteEvent as the eventId parameter.
Kitware.VTK.vtkObject.vtkObjectEventHandler DestroyTimerEvt
 The DestroyTimerEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.DestroyTimerEvent as the eventId parameter.
Kitware.VTK.vtkObject.vtkObjectEventHandler DisableEvt
 The DisableEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.DisableEvent as the eventId parameter.
Kitware.VTK.vtkObject.vtkObjectEventHandler DomainModifiedEvt
 The DomainModifiedEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.DomainModifiedEvent as the eventId parameter.
Kitware.VTK.vtkObject.vtkObjectEventHandler EnableEvt
 The EnableEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.EnableEvent as the eventId parameter.
Kitware.VTK.vtkObject.vtkObjectEventHandler EndAnimationCueEvt
 The EndAnimationCueEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.EndAnimationCueEvent as the eventId parameter.
Kitware.VTK.vtkObject.vtkObjectEventHandler EndEvt
 The EndEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.EndEvent as the eventId parameter.
Kitware.VTK.vtkObject.vtkObjectEventHandler EndInteractionEvt
 The EndInteractionEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.EndInteractionEvent as the eventId parameter.
Kitware.VTK.vtkObject.vtkObjectEventHandler EndPickEvt
 The EndPickEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.EndPickEvent as the eventId parameter.
Kitware.VTK.vtkObject.vtkObjectEventHandler EndWindowLevelEvt
 The EndWindowLevelEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.EndWindowLevelEvent as the eventId parameter.
Kitware.VTK.vtkObject.vtkObjectEventHandler EnterEvt
 The EnterEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.EnterEvent as the eventId parameter.
Kitware.VTK.vtkObject.vtkObjectEventHandler ErrorEvt
 The ErrorEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.ErrorEvent as the eventId parameter.
Kitware.VTK.vtkObject.vtkObjectEventHandler ExecuteInformationEvt
 The ExecuteInformationEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.ExecuteInformationEvent as the eventId parameter.
Kitware.VTK.vtkObject.vtkObjectEventHandler ExitEvt
 The ExitEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.ExitEvent as the eventId parameter.
Kitware.VTK.vtkObject.vtkObjectEventHandler ExposeEvt
 The ExposeEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.ExposeEvent as the eventId parameter.
Kitware.VTK.vtkObject.vtkObjectEventHandler InteractionEvt
 The InteractionEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.InteractionEvent as the eventId parameter.
Kitware.VTK.vtkObject.vtkObjectEventHandler KeyPressEvt
 The KeyPressEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.KeyPressEvent as the eventId parameter.
Kitware.VTK.vtkObject.vtkObjectEventHandler KeyReleaseEvt
 The KeyReleaseEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.KeyReleaseEvent as the eventId parameter.
Kitware.VTK.vtkObject.vtkObjectEventHandler LeaveEvt
 The LeaveEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.LeaveEvent as the eventId parameter.
Kitware.VTK.vtkObject.vtkObjectEventHandler LeftButtonPressEvt
 The LeftButtonPressEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.LeftButtonPressEvent as the eventId parameter.
Kitware.VTK.vtkObject.vtkObjectEventHandler LeftButtonReleaseEvt
 The LeftButtonReleaseEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.LeftButtonReleaseEvent as the eventId parameter.
Kitware.VTK.vtkObject.vtkObjectEventHandler MiddleButtonPressEvt
 The MiddleButtonPressEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.MiddleButtonPressEvent as the eventId parameter.
Kitware.VTK.vtkObject.vtkObjectEventHandler MiddleButtonReleaseEvt
 The MiddleButtonReleaseEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.MiddleButtonReleaseEvent as the eventId parameter.
Kitware.VTK.vtkObject.vtkObjectEventHandler ModifiedEvt
 The ModifiedEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.ModifiedEvent as the eventId parameter.
Kitware.VTK.vtkObject.vtkObjectEventHandler MouseMoveEvt
 The MouseMoveEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.MouseMoveEvent as the eventId parameter.
Kitware.VTK.vtkObject.vtkObjectEventHandler MouseWheelBackwardEvt
 The MouseWheelBackwardEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.MouseWheelBackwardEvent as the eventId parameter.
Kitware.VTK.vtkObject.vtkObjectEventHandler MouseWheelForwardEvt
 The MouseWheelForwardEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.MouseWheelForwardEvent as the eventId parameter.
Kitware.VTK.vtkObject.vtkObjectEventHandler PickEvt
 The PickEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.PickEvent as the eventId parameter.
Kitware.VTK.vtkObject.vtkObjectEventHandler PlacePointEvt
 The PlacePointEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.PlacePointEvent as the eventId parameter.
Kitware.VTK.vtkObject.vtkObjectEventHandler PlaceWidgetEvt
 The PlaceWidgetEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.PlaceWidgetEvent as the eventId parameter.
Kitware.VTK.vtkObject.vtkObjectEventHandler ProgressEvt
 The ProgressEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.ProgressEvent as the eventId parameter.
Kitware.VTK.vtkObject.vtkObjectEventHandler PropertyModifiedEvt
 The PropertyModifiedEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.PropertyModifiedEvent as the eventId parameter.
Kitware.VTK.vtkObject.vtkObjectEventHandler RegisterEvt
 The RegisterEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.RegisterEvent as the eventId parameter.
Kitware.VTK.vtkObject.vtkObjectEventHandler RenderEvt
 The RenderEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.RenderEvent as the eventId parameter.
Kitware.VTK.vtkObject.vtkObjectEventHandler RenderWindowMessageEvt
 The RenderWindowMessageEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.RenderWindowMessageEvent as the eventId parameter.
Kitware.VTK.vtkObject.vtkObjectEventHandler ResetCameraClippingRangeEvt
 The ResetCameraClippingRangeEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.ResetCameraClippingRangeEvent as the eventId parameter.
Kitware.VTK.vtkObject.vtkObjectEventHandler ResetCameraEvt
 The ResetCameraEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.ResetCameraEvent as the eventId parameter.
Kitware.VTK.vtkObject.vtkObjectEventHandler ResetWindowLevelEvt
 The ResetWindowLevelEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.ResetWindowLevelEvent as the eventId parameter.
Kitware.VTK.vtkObject.vtkObjectEventHandler RightButtonPressEvt
 The RightButtonPressEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.RightButtonPressEvent as the eventId parameter.
Kitware.VTK.vtkObject.vtkObjectEventHandler RightButtonReleaseEvt
 The RightButtonReleaseEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.RightButtonReleaseEvent as the eventId parameter.
Kitware.VTK.vtkObject.vtkObjectEventHandler SelectionChangedEvt
 The SelectionChangedEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.SelectionChangedEvent as the eventId parameter.
Kitware.VTK.vtkObject.vtkObjectEventHandler SetOutputEvt
 The SetOutputEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.SetOutputEvent as the eventId parameter.
Kitware.VTK.vtkObject.vtkObjectEventHandler StartAnimationCueEvt
 The StartAnimationCueEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.StartAnimationCueEvent as the eventId parameter.
Kitware.VTK.vtkObject.vtkObjectEventHandler StartEvt
 The StartEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.StartEvent as the eventId parameter.
Kitware.VTK.vtkObject.vtkObjectEventHandler StartInteractionEvt
 The StartInteractionEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.StartInteractionEvent as the eventId parameter.
Kitware.VTK.vtkObject.vtkObjectEventHandler StartPickEvt
 The StartPickEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.StartPickEvent as the eventId parameter.
Kitware.VTK.vtkObject.vtkObjectEventHandler StartWindowLevelEvt
 The StartWindowLevelEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.StartWindowLevelEvent as the eventId parameter.
Kitware.VTK.vtkObject.vtkObjectEventHandler TimerEvt
 The TimerEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.TimerEvent as the eventId parameter.
Kitware.VTK.vtkObject.vtkObjectEventHandler UnRegisterEvt
 The UnRegisterEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.UnRegisterEvent as the eventId parameter.
Kitware.VTK.vtkObject.vtkObjectEventHandler UpdateEvt
 The UpdateEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.UpdateEvent as the eventId parameter.
Kitware.VTK.vtkObject.vtkObjectEventHandler UpdateInformationEvt
 The UpdateInformationEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.UpdateInformationEvent as the eventId parameter.
Kitware.VTK.vtkObject.vtkObjectEventHandler UpdatePropertyEvt
 The UpdatePropertyEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.UpdatePropertyEvent as the eventId parameter.
Kitware.VTK.vtkObject.vtkObjectEventHandler VolumeMapperComputeGradientsEndEvt
 The VolumeMapperComputeGradientsEndEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.VolumeMapperComputeGradientsEndEvent as the eventId parameter.
Kitware.VTK.vtkObject.vtkObjectEventHandler VolumeMapperComputeGradientsProgressEvt
 The VolumeMapperComputeGradientsProgressEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.VolumeMapperComputeGradientsProgressEvent as the eventId parameter.
Kitware.VTK.vtkObject.vtkObjectEventHandler VolumeMapperComputeGradientsStartEvt
 The VolumeMapperComputeGradientsStartEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.VolumeMapperComputeGradientsStartEvent as the eventId parameter.
Kitware.VTK.vtkObject.vtkObjectEventHandler VolumeMapperRenderEndEvt
 The VolumeMapperRenderEndEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.VolumeMapperRenderEndEvent as the eventId parameter.
Kitware.VTK.vtkObject.vtkObjectEventHandler VolumeMapperRenderProgressEvt
 The VolumeMapperRenderProgressEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.VolumeMapperRenderProgressEvent as the eventId parameter.
Kitware.VTK.vtkObject.vtkObjectEventHandler VolumeMapperRenderStartEvt
 The VolumeMapperRenderStartEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.VolumeMapperRenderStartEvent as the eventId parameter.
Kitware.VTK.vtkObject.vtkObjectEventHandler WarningEvt
 The WarningEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.WarningEvent as the eventId parameter.
Kitware.VTK.vtkObject.vtkObjectEventHandler WidgetActivateEvt
 The WidgetActivateEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.WidgetActivateEvent as the eventId parameter.
Kitware.VTK.vtkObject.vtkObjectEventHandler WidgetModifiedEvt
 The WidgetModifiedEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.WidgetModifiedEvent as the eventId parameter.
Kitware.VTK.vtkObject.vtkObjectEventHandler WidgetValueChangedEvt
 The WidgetValueChangedEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.WidgetValueChangedEvent as the eventId parameter.
Kitware.VTK.vtkObject.vtkObjectEventHandler WindowLevelEvt
 The WindowLevelEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.WindowLevelEvent as the eventId parameter.
Kitware.VTK.vtkObject.vtkObjectEventHandler WrongTagEvt
 The WrongTagEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.WrongTagEvent as the eventId parameter.

Detailed Description

vtkPolyData - concrete dataset represents vertices, lines, polygons, and triangle strips

Description vtkPolyData is a data object that is a concrete implementation of vtkDataSet. vtkPolyData represents a geometric structure consisting of vertices, lines, polygons, and/or triangle strips. Point and cell attribute values (e.g., scalars, vectors, etc.) also are represented.

The actual cell types (vtkCellType.h) supported by vtkPolyData are: vtkVertex, vtkPolyVertex, vtkLine, vtkPolyLine, vtkTriangle, vtkQuad, vtkPolygon, and vtkTriangleStrip.

One important feature of vtkPolyData objects is that special traversal and data manipulation methods are available to process data. These methods are generally more efficient than vtkDataSet methods and should be used whenever possible. For example, traversing the cells in a dataset we would use GetCell(). To traverse cells with vtkPolyData we would retrieve the cell array object representing polygons (for example using GetPolys()) and then use vtkCellArray's InitTraversal() and GetNextCell() methods.

Caveats Because vtkPolyData is implemented with four separate instances of vtkCellArray to represent 0D vertices, 1D lines, 2D polygons, and 2D triangle strips, it is possible to create vtkPolyData instances that consist of a mixture of cell types. Because of the design of the class, there are certain limitations on how mixed cell types are inserted into the vtkPolyData, and in turn the order in which they are processed and rendered. To preserve the consistency of cell ids, and to insure that cells with cell data are rendered properly, users must insert mixed cells in the order of vertices (vtkVertex and vtkPolyVertex), lines (vtkLine and vtkPolyLine), polygons (vtkTriangle, vtkQuad, vtkPolygon), and triangle strips (vtkTriangleStrip).

Some filters when processing vtkPolyData with mixed cell types may process the cells in differing ways. Some will convert one type into another (e.g., vtkTriangleStrip into vtkTriangles) or expect a certain type (vtkDecimatePro expects triangles or triangle strips; vtkTubeFilter expects lines). Read the documentation for each filter carefully to understand how each part of vtkPolyData is processed.

Member Enumeration Documentation

This method will remove any cell that has a ghost level array value greater or equal to level. It does not remove unused points (yet).

Enumerator:
ERR_INCORRECT_FIELD 

enum member

ERR_NON_MANIFOLD_STAR 

enum member

ERR_NO_SUCH_FIELD 

enum member

MAXIMUM 

enum member

MINIMUM 

enum member

REGULAR_POINT 

enum member

SADDLE 

enum member

Constructor & Destructor Documentation

static Kitware.VTK.vtkPolyData.vtkPolyData ( )
staticprivate

Automatically generated type registration mechanics.

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

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

Kitware.VTK.vtkPolyData.vtkPolyData ( )

Undocumented Block

Member Function Documentation

void Kitware.VTK.vtkPolyData.AddCellReference ( int  cellId)

For legacy compatibility. Do not use.

void Kitware.VTK.vtkPolyData.AddReferenceToCell ( int  ptId,
int  cellId 
)

Add a reference to a cell in a particular point's link list. (You may also consider using AddCellReference() to add the references from all the cell's points to the cell.) This operator does not realloc memory; use the operator ResizeCellList() to do this if necessary.

void Kitware.VTK.vtkPolyData.Allocate ( int  numCells,
int  extSize 
)

Method allocates initial storage for vertex, line, polygon, and triangle strip arrays. Use this method before the method PolyData::InsertNextCell(). (Or, provide vertex, line, polygon, and triangle strip cell arrays.)

void Kitware.VTK.vtkPolyData.Allocate ( vtkPolyData  inPolyData,
int  numCells,
int  extSize 
)

Similar to the method above, this method allocates initial storage for vertex, line, polygon, and triangle strip arrays. It does this more intelligently, examining the supplied inPolyData to determine whether to allocate the verts, lines, polys, and strips arrays. (These arrays are allocated only if there is data in the corresponding arrays in the inPolyData.) Caution: if the inPolyData has no verts, and after allocating with this method an PolyData::InsertNextCell() is invoked where a vertex is inserted, bad things will happen.

void Kitware.VTK.vtkPolyData.BuildCells ( )

Create data structure that allows random access of cells.

void Kitware.VTK.vtkPolyData.BuildLinks ( int  initialSize)

Create upward links from points to cells that use each point. Enables topologically complex queries. Normally the links array is allocated based on the number of points in the vtkPolyData. The optional initialSize parameter can be used to allocate a larger size initially.

override void Kitware.VTK.vtkPolyData.ComputeBounds ( )
virtual

Compute the (X, Y, Z) bounds of the data.

Reimplemented from Kitware.VTK.vtkPointSet.

void Kitware.VTK.vtkPolyData.CopyCells ( vtkPolyData  pd,
vtkIdList  idList,
vtkPointLocator  locator 
)

Copy cells listed in idList from pd, including points, point data, and cell data. This method assumes that point and cell data have been allocated. If you pass in a point locator, then the points won't be duplicated in the output.

override void Kitware.VTK.vtkPolyData.CopyStructure ( vtkDataSet  ds)
virtual

Copy the geometric and topological structure of an input poly data object.

Reimplemented from Kitware.VTK.vtkPointSet.

override void Kitware.VTK.vtkPolyData.DeepCopy ( vtkDataObject  src)
virtual

Shallow and Deep copy.

Reimplemented from Kitware.VTK.vtkPointSet.

void Kitware.VTK.vtkPolyData.DeleteCell ( int  cellId)

For legacy compatibility. Do not use.

void Kitware.VTK.vtkPolyData.DeleteCells ( )

Release data structure that allows random access of the cells. This must be done before a 2nd call to BuildLinks(). DeleteCells implicitly deletes the links as well since they are no longer valid.

void Kitware.VTK.vtkPolyData.DeleteLinks ( )

Release the upward links from point to cells that use each point.

void Kitware.VTK.vtkPolyData.DeletePoint ( int  ptId)

For legacy compatibility. Do not use.

override void Kitware.VTK.vtkPolyData.Dispose ( bool  disposing)
protected

Automatically generated protected Dispose method - called from public Dispose or the C# destructor. DO NOT call directly.

Reimplemented from Kitware.VTK.vtkPointSet.

override uint Kitware.VTK.vtkPolyData.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.vtkPointSet.

override vtkCell Kitware.VTK.vtkPolyData.GetCell ( int  cellId)
virtual

Standard vtkDataSet interface.

Reimplemented from Kitware.VTK.vtkDataSet.

Here is the call graph for this function:

override void Kitware.VTK.vtkPolyData.GetCell ( int  cellId,
vtkGenericCell  cell 
)
virtual

Standard vtkDataSet interface.

Reimplemented from Kitware.VTK.vtkDataSet.

override void Kitware.VTK.vtkPolyData.GetCellBounds ( int  cellId,
IntPtr  bounds 
)
virtual

Standard vtkDataSet interface.

Reimplemented from Kitware.VTK.vtkDataSet.

void Kitware.VTK.vtkPolyData.GetCellEdgeNeighbors ( int  cellId,
int  p1,
int  p2,
vtkIdList  cellIds 
)

Get the neighbors at an edge. More efficient than the general GetCellNeighbors(). Assumes links have been built (with BuildLinks()), and looks specifically for edge neighbors.

override void Kitware.VTK.vtkPolyData.GetCellNeighbors ( int  cellId,
vtkIdList  ptIds,
vtkIdList  cellIds 
)
virtual

Standard vtkDataSet interface.

Reimplemented from Kitware.VTK.vtkDataSet.

override void Kitware.VTK.vtkPolyData.GetCellPoints ( int  cellId,
vtkIdList  ptIds 
)
virtual

Copy a cells point ids into list provided. (Less efficient.)

Reimplemented from Kitware.VTK.vtkDataSet.

override int Kitware.VTK.vtkPolyData.GetCellType ( int  cellId)
virtual

Standard vtkDataSet interface.

Reimplemented from Kitware.VTK.vtkDataSet.

static new vtkPolyData Kitware.VTK.vtkPolyData.GetData ( vtkInformation  info)
static

This method will remove any cell that has a ghost level array value greater or equal to level. It does not remove unused points (yet).

Reimplemented from Kitware.VTK.vtkPointSet.

Here is the call graph for this function:

static new vtkPolyData Kitware.VTK.vtkPolyData.GetData ( vtkInformationVector  v,
int  i 
)
static

This method will remove any cell that has a ghost level array value greater or equal to level. It does not remove unused points (yet).

Reimplemented from Kitware.VTK.vtkPointSet.

Here is the call graph for this function:

override int Kitware.VTK.vtkPolyData.GetDataObjectType ( )
virtual

Return what type of dataset this is.

Reimplemented from Kitware.VTK.vtkDataSet.

virtual int Kitware.VTK.vtkPolyData.GetGhostLevel ( )
virtual

Get the ghost level.

vtkCellArray Kitware.VTK.vtkPolyData.GetLines ( )

Get the cell array defining lines. If there are no lines, an empty array will be returned (convenience to simplify traversal).

Here is the call graph for this function:

override int Kitware.VTK.vtkPolyData.GetMaxCellSize ( )
virtual

Return the maximum cell size in this poly data.

Reimplemented from Kitware.VTK.vtkDataSet.

override int Kitware.VTK.vtkPolyData.GetNumberOfCells ( )
virtual

Standard vtkDataSet interface.

Reimplemented from Kitware.VTK.vtkDataSet.

int Kitware.VTK.vtkPolyData.GetNumberOfLines ( )

Return the number of primitives of a particular type held..

virtual int Kitware.VTK.vtkPolyData.GetNumberOfPieces ( )
virtual

Get the piece and the number of pieces. Similar to extent in 3D.

int Kitware.VTK.vtkPolyData.GetNumberOfPolys ( )

Return the number of primitives of a particular type held..

int Kitware.VTK.vtkPolyData.GetNumberOfStrips ( )

Return the number of primitives of a particular type held..

int Kitware.VTK.vtkPolyData.GetNumberOfVerts ( )

Return the number of primitives of a particular type held..

virtual int Kitware.VTK.vtkPolyData.GetPiece ( )
virtual

Get the piece and the number of pieces. Similar to extent in 3D.

override void Kitware.VTK.vtkPolyData.GetPointCells ( int  ptId,
vtkIdList  cellIds 
)
virtual

Efficient method to obtain cells using a particular point. Make sure that routine BuildLinks() has been called.

Reimplemented from Kitware.VTK.vtkDataSet.

vtkCellArray Kitware.VTK.vtkPolyData.GetPolys ( )

Get the cell array defining polygons. If there are no polygons, an empty array will be returned (convenience to simplify traversal).

Here is the call graph for this function:

int Kitware.VTK.vtkPolyData.GetScalarFieldCriticalIndex ( int  pointId,
vtkDataArray  scalarField 
)

This method will remove any cell that has a ghost level array value greater or equal to level. It does not remove unused points (yet).

int Kitware.VTK.vtkPolyData.GetScalarFieldCriticalIndex ( int  pointId,
int  fieldId 
)

This method will remove any cell that has a ghost level array value greater or equal to level. It does not remove unused points (yet).

int Kitware.VTK.vtkPolyData.GetScalarFieldCriticalIndex ( int  pointId,
string  fieldName 
)

This method will remove any cell that has a ghost level array value greater or equal to level. It does not remove unused points (yet).

vtkCellArray Kitware.VTK.vtkPolyData.GetStrips ( )

Get the cell array defining triangle strips. If there are no triangle strips, an empty array will be returned (convenience to simplify traversal).

Here is the call graph for this function:

override void Kitware.VTK.vtkPolyData.GetUpdateExtent ( IntPtr  extent)
virtual

We need this here to avoid hiding superclass method

Reimplemented from Kitware.VTK.vtkDataObject.

void Kitware.VTK.vtkPolyData.GetUpdateExtent ( ref int  piece,
ref int  numPieces,
ref int  ghostLevel 
)

For streaming. User/next filter specifies which piece they want updated. The source of this poly data has to return exactly this piece.

override int [] Kitware.VTK.vtkPolyData.GetUpdateExtent ( )
virtual

We need this here to avoid hiding superclass method

Reimplemented from Kitware.VTK.vtkDataObject.

override void Kitware.VTK.vtkPolyData.GetUpdateExtent ( ref int  x0,
ref int  x1,
ref int  y0,
ref int  y1,
ref int  z0,
ref int  z1 
)
virtual

We need this here to avoid hiding superclass method

Reimplemented from Kitware.VTK.vtkDataObject.

vtkCellArray Kitware.VTK.vtkPolyData.GetVerts ( )

Get the cell array defining vertices. If there are no vertices, an empty array will be returned (convenience to simplify traversal).

Here is the call graph for this function:

override void Kitware.VTK.vtkPolyData.Initialize ( )
virtual

Restore object to initial state. Release memory back to system.

Reimplemented from Kitware.VTK.vtkPointSet.

int Kitware.VTK.vtkPolyData.InsertNextCell ( int  type,
int  npts,
IntPtr  pts 
)

Insert a cell of type VTK_VERTEX, VTK_POLY_VERTEX, VTK_LINE, VTK_POLY_LINE, VTK_TRIANGLE, VTK_QUAD, VTK_POLYGON, or VTK_TRIANGLE_STRIP. Make sure that the PolyData::Allocate() function has been called first or that vertex, line, polygon, and triangle strip arrays have been supplied. Note: will also insert VTK_PIXEL, but converts it to VTK_QUAD.

int Kitware.VTK.vtkPolyData.InsertNextCell ( int  type,
vtkIdList  pts 
)

Insert a cell of type VTK_VERTEX, VTK_POLY_VERTEX, VTK_LINE, VTK_POLY_LINE, VTK_TRIANGLE, VTK_QUAD, VTK_POLYGON, or VTK_TRIANGLE_STRIP. Make sure that the PolyData::Allocate() function has been called first or that vertex, line, polygon, and triangle strip arrays have been supplied. Note: will also insert VTK_PIXEL, but converts it to VTK_QUAD.

int Kitware.VTK.vtkPolyData.InsertNextLinkedCell ( int  type,
int  npts,
IntPtr  pts 
)

Add a new cell to the cell data structure (after cell pointers have been built). This method adds the cell and then updates the links from the points to the cells. (Memory is allocated as necessary.)

int Kitware.VTK.vtkPolyData.InsertNextLinkedPoint ( int  numLinks)

Add a point to the cell data structure (after cell pointers have been built). This method adds the point and then allocates memory for the links to the cells. (To use this method, make sure points are available and BuildLinks() has been invoked.) Of the two methods below, one inserts a point coordinate and the other just makes room for cell links.

int Kitware.VTK.vtkPolyData.InsertNextLinkedPoint ( IntPtr  x,
int  numLinks 
)

Add a point to the cell data structure (after cell pointers have been built). This method adds the point and then allocates memory for the links to the cells. (To use this method, make sure points are available and BuildLinks() has been invoked.) Of the two methods below, one inserts a point coordinate and the other just makes room for cell links.

override int Kitware.VTK.vtkPolyData.IsA ( string  type)
virtual

Undocumented Block

Reimplemented from Kitware.VTK.vtkPointSet.

int Kitware.VTK.vtkPolyData.IsEdge ( int  p1,
int  p2 
)

Determine whether two points form an edge. If they do, return non-zero. By definition PolyVertex and PolyLine have no edges since 1-dimensional edges are only found on cells 2D and higher. Edges are defined as 1-D boundary entities to cells. Make sure BuildLinks() has been called first.

int Kitware.VTK.vtkPolyData.IsPointUsedByCell ( int  ptId,
int  cellId 
)

For legacy compatibility. Do not use.

int Kitware.VTK.vtkPolyData.IsTriangle ( int  v1,
int  v2,
int  v3 
)

For legacy compatibility. Do not use.

static new int Kitware.VTK.vtkPolyData.IsTypeOf ( string  type)
static

Undocumented Block

Reimplemented from Kitware.VTK.vtkPointSet.

static new vtkPolyData Kitware.VTK.vtkPolyData.New ( )
static

Undocumented Block

Reimplemented from Kitware.VTK.vtkDataObject.

new vtkPolyData Kitware.VTK.vtkPolyData.NewInstance ( )

Undocumented Block

Reimplemented from Kitware.VTK.vtkPointSet.

void Kitware.VTK.vtkPolyData.RemoveCellReference ( int  cellId)

For legacy compatibility. Do not use.

void Kitware.VTK.vtkPolyData.RemoveDeletedCells ( )

The cells marked by calls to DeleteCell are stored in the Cell Array VTK_EMPTY_CELL, but they still exist in the polys array. Calling RemoveDeletedCells will travers the poly array and remove/compact the cell array as well as any cell data thus truly removing the cells from the polydata object. WARNING. This only handles the polys at the moment

void Kitware.VTK.vtkPolyData.RemoveGhostCells ( int  level)

This method will remove any cell that has a ghost level array value greater or equal to level. It does not remove unused points (yet).

void Kitware.VTK.vtkPolyData.RemoveReferenceToCell ( int  ptId,
int  cellId 
)

Remove a reference to a cell in a particular point's link list. You may also consider using RemoveCellReference() to remove the references from all the cell's points to the cell. This operator does not reallocate memory; use the operator ResizeCellList() to do this if necessary.

void Kitware.VTK.vtkPolyData.ReplaceCell ( int  cellId,
int  npts,
IntPtr  pts 
)

Replace the points defining cell "cellId" with a new set of points. This operator is (typically) used when links from points to cells have not been built (i.e., BuildLinks() has not been executed). Use the operator ReplaceLinkedCell() to replace a cell when cell structure has been built.

void Kitware.VTK.vtkPolyData.ReplaceCellPoint ( int  cellId,
int  oldPtId,
int  newPtId 
)

For legacy compatibility. Do not use.

void Kitware.VTK.vtkPolyData.ReplaceLinkedCell ( int  cellId,
int  npts,
IntPtr  pts 
)

Replace one cell with another in cell structure. This operator updates the connectivity list and the point's link list. It does not delete references to the old cell in the point's link list. Use the operator RemoveCellReference() to delete all references from points to (old) cell. You may also want to consider using the operator ResizeCellList() if the link list is changing size.

void Kitware.VTK.vtkPolyData.Reset ( )

Begin inserting data all over again. Memory is not freed but otherwise objects are returned to their initial state.

void Kitware.VTK.vtkPolyData.ResizeCellList ( int  ptId,
int  size 
)

For legacy compatibility. Do not use.

void Kitware.VTK.vtkPolyData.ReverseCell ( int  cellId)

Reverse the order of point ids defining the cell.

static new vtkPolyData Kitware.VTK.vtkPolyData.SafeDownCast ( vtkObjectBase  o)
static

Undocumented Block

Reimplemented from Kitware.VTK.vtkPointSet.

Here is the call graph for this function:

void Kitware.VTK.vtkPolyData.SetLines ( vtkCellArray  l)

Set the cell array defining lines.

void Kitware.VTK.vtkPolyData.SetPolys ( vtkCellArray  p)

Set the cell array defining polygons.

void Kitware.VTK.vtkPolyData.SetStrips ( vtkCellArray  s)

Set the cell array defining triangle strips.

void Kitware.VTK.vtkPolyData.SetVerts ( vtkCellArray  v)

Set the cell array defining vertices.

override void Kitware.VTK.vtkPolyData.ShallowCopy ( vtkDataObject  src)
virtual

Shallow and Deep copy.

Reimplemented from Kitware.VTK.vtkPointSet.

override void Kitware.VTK.vtkPolyData.Squeeze ( )
virtual

Recover extra allocated memory when creating data whose initial size is unknown. Examples include using the InsertNextCell() method, or when using the CellArray::EstimateSize() method to create vertices, lines, polygons, or triangle strips.

Reimplemented from Kitware.VTK.vtkPointSet.

Member Data Documentation

new readonly string Kitware.VTK.vtkPolyData.MRClassNameKey = "11vtkPolyData"
static

Automatically generated type registration mechanics.

new const string Kitware.VTK.vtkPolyData.MRFullTypeName = "Kitware.VTK.vtkPolyData"

Automatically generated type registration mechanics.


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