ActiViz .NET  5.10.1
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.vtkGraph Class Reference

vtkGraph - Base class for graph data types. More...

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

Public Member Functions

 vtkGraph (IntPtr rawCppThis, bool callDisposalMethod, bool strong)
 Automatically generated constructor - called from generated code. DO NOT call directly. More...
 
void AddEdgePoint (long e, IntPtr x)
 ETX More...
 
void AddEdgePoint (long e, double x, double y, double z)
 ETX More...
 
virtual bool CheckedDeepCopy (vtkGraph g)
 ETX More...
 
virtual bool CheckedShallowCopy (vtkGraph g)
 ETX More...
 
void ClearEdgePoints (long e)
 ETX More...
 
void ComputeBounds ()
 Compute the bounds of the graph. In a distributed graph, this computes the bounds around the local part of the graph. More...
 
virtual void CopyStructure (vtkGraph g)
 ETX More...
 
override void DeepCopy (vtkDataObject obj)
 ETX More...
 
void DeepCopyEdgePoints (vtkGraph g)
 ETX More...
 
void Dump ()
 ETX More...
 
virtual void GetAdjacentVertices (long v, vtkAdjacentVertexIterator it)
 Initializes the adjacent vertex iterator to iterate over all outgoing vertices from vertex v. For an undirected graph, returns all adjacent vertices. In a distributed graph, the vertex v must be local to this processor. More...
 
override vtkFieldData GetAttributesAsFieldData (int type)
 ETX More...
 
IntPtr GetBounds ()
 Return a pointer to the geometry bounding box in the form (xmin,xmax, ymin,ymax, zmin,zmax). In a distributed graph, this computes the bounds around the local part of the graph. More...
 
void GetBounds (IntPtr bounds)
 Return a pointer to the geometry bounding box in the form (xmin,xmax, ymin,ymax, zmin,zmax). In a distributed graph, this computes the bounds around the local part of the graph. More...
 
override int GetDataObjectType ()
 Return what type of dataset this is. More...
 
virtual long GetDegree (long v)
 The total of all incoming and outgoing vertices for vertex v. For undirected graphs, this is simply the number of edges incident to v. In a distributed graph, the vertex v must be local to this processor. More...
 
vtkDistributedGraphHelper GetDistributedGraphHelper ()
 Retrieves the distributed graph helper for this graph More...
 
virtual vtkDataSetAttributes GetEdgeData ()
 Get the vertex or edge data. More...
 
long GetEdgeId (long a, long b)
 ETX More...
 
double[] GetEdgePoint (long e, long i)
 ETX More...
 
virtual void GetEdges (vtkEdgeListIterator it)
 Initializes the edge list iterator to iterate over all edges in the graph. Edges may not be traversed in order of increasing edge id. In a distributed graph, this returns edges that are stored locally. More...
 
vtkGraphInternals GetGraphInternals (bool modifying)
 ETX More...
 
virtual long GetInDegree (long v)
 The number of incoming edges to vertex v. For undirected graphs, returns the same as GetDegree(). In a distributed graph, the vertex v must be local to this processor. More...
 
virtual void GetInEdge (long v, long index, vtkGraphEdge e)
 Random-access method for retrieving incoming edges to vertex v. The method fills the vtkGraphEdge instance with the id, source, and target of the edge. This method is provided for wrappers, GetInEdge(vtkIdType, vtkIdType) is preferred. More...
 
virtual void GetInEdges (long v, vtkInEdgeIterator it)
 Initializes the in edge iterator to iterate over all incoming edges to vertex v. For an undirected graph, returns all incident edges. In a distributed graph, the vertex v must be local to this processor. More...
 
void GetInducedEdges (vtkIdTypeArray verts, vtkIdTypeArray edges)
 ETX More...
 
override uint GetMTime ()
 The modified time of the graph. More...
 
long GetNumberOfEdgePoints (long e)
 ETX More...
 
virtual long GetNumberOfEdges ()
 The number of edges in the graph. In a distributed graph, this returns the number of edges stored locally. More...
 
override long GetNumberOfElements (int type)
 ETX More...
 
virtual long GetNumberOfVertices ()
 The number of vertices in the graph. In a distributed graph, returns the number of local vertices in the graph. More...
 
virtual long GetOutDegree (long v)
 The number of outgoing edges from vertex v. For undirected graphs, returns the same as GetDegree(). In a distributed graph, the vertex v must be local to this processor. More...
 
virtual void GetOutEdge (long v, long index, vtkGraphEdge e)
 Random-access method for retrieving outgoing edges from vertex v. The method fills the vtkGraphEdge instance with the id, source, and target of the edge. This method is provided for wrappers, GetOutEdge(vtkIdType, vtkIdType) is preferred. More...
 
virtual void GetOutEdges (long v, vtkOutEdgeIterator it)
 Initializes the out edge iterator to iterate over all outgoing edges of vertex v. For an undirected graph, returns all incident edges. In a distributed graph, the vertex v must be local to this processor. More...
 
IntPtr GetPoint (long ptId)
 These methods return the point (0,0,0) until the points structure is created, when it returns the actual point position. In a distributed graph, only the points for local vertices can be retrieved. More...
 
void GetPoint (long ptId, IntPtr x)
 These methods return the point (0,0,0) until the points structure is created, when it returns the actual point position. In a distributed graph, only the points for local vertices can be retrieved. More...
 
vtkPoints GetPoints ()
 Returns the points array for this graph. If points is not yet constructed, generates and returns a new points array filled with (0,0,0) coordinates. In a distributed graph, only the points for local vertices can be retrieved or modified. More...
 
long GetSourceVertex (long e)
 ETX More...
 
long GetTargetVertex (long e)
 ETX More...
 
virtual vtkDataSetAttributes GetVertexData ()
 Get the vertex or edge data. More...
 
virtual void GetVertices (vtkVertexListIterator it)
 Initializes the vertex list iterator to iterate over all vertices in the graph. In a distributed graph, the iterator traverses all local vertices. More...
 
override void Initialize ()
 Initialize to an empty graph. More...
 
override int IsA (string type)
 Undocumented Block More...
 
bool IsSameStructure (vtkGraph other)
 ETX More...
 
new vtkGraph NewInstance ()
 Undocumented Block More...
 
void ReorderOutVertices (long v, vtkIdTypeArray vertices)
 ETX More...
 
void SetDistributedGraphHelper (vtkDistributedGraphHelper helper)
 BTX Sets the distributed graph helper of this graph, turning it into a distributed graph. This operation can only be executed on an empty graph. More...
 
void SetEdgePoint (long e, long i, IntPtr x)
 ETX More...
 
void SetEdgePoint (long e, long i, double x, double y, double z)
 ETX More...
 
void SetEdgePoints (long e, long npts, IntPtr pts)
 ETX More...
 
virtual void SetPoints (vtkPoints points)
 Returns the points array for this graph. If points is not yet constructed, generates and returns a new points array filled with (0,0,0) coordinates. In a distributed graph, only the points for local vertices can be retrieved or modified. More...
 
override void ShallowCopy (vtkDataObject obj)
 ETX More...
 
void ShallowCopyEdgePoints (vtkGraph g)
 ETX More...
 
virtual void Squeeze ()
 ETX More...
 
bool ToDirectedGraph (vtkDirectedGraph g)
 ETX More...
 
bool ToUndirectedGraph (vtkUndirectedGraph g)
 ETX More...
 
- 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. More...
 
 vtkDataObject ()
 Undocumented Block More...
 
override void Register (vtkObjectBase o)
 Handle the source/data loop. More...
 
void CopyInformation (vtkDataObject data)
 Copy the generic information (WholeExtent ...) More...
 
virtual void CopyInformationFromPipeline (vtkInformation request)
 Copy information about this data object from the PipelineInformation to its own Information for the given request. More...
 
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. More...
 
void CopyInformationToPipeline (vtkInformation request, vtkInformation input)
 Calls CopyInformationToPipeline(request, input, this->PipelineInformation, 0). Subclasses should not override this method (not virtual) More...
 
virtual void CopyTypeSpecificInformation (vtkDataObject data)
 By default, there is no type specific information More...
 
virtual void Crop ()
 This method crops the data object (if necesary) so that the extent matches the update extent. More...
 
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. More...
 
virtual 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). More...
 
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). More...
 
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. More...
 
virtual int GetDataReleased ()
 Get the flag indicating the data has been released. More...
 
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. More...
 
vtkExtentTranslator GetExtentTranslator ()
 An object that will translate pieces into structured extents. More...
 
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). More...
 
virtual vtkFieldData GetFieldData ()
 Assign or retrieve a general field data to this data object. More...
 
virtual vtkInformation GetInformation ()
 Set/Get the information object associated with this data object. More...
 
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. More...
 
virtual vtkInformation GetPipelineInformation ()
 Get/Set the pipeline information object that owns this data object. More...
 
uint GetPipelineMTime ()
 Get the cumulative modified time of everything upstream. Does not include the MTime of this object. More...
 
virtual vtkAlgorithmOutput GetProducerPort ()
 Get the port currently producing this object. More...
 
int GetReleaseDataFlag ()
 Turn on/off flag to control whether this object's data is released after being used by a filter. More...
 
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. More...
 
virtual vtkSource GetSource ()
 Set/Get the source object creating this data object. More...
 
virtual int[] GetUpdateExtent ()
 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. More...
 
virtual void GetUpdateExtent (ref int x0, ref int x1, ref int y0, ref int y1, ref int z0, ref 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. More...
 
virtual void GetUpdateExtent (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. More...
 
virtual int GetUpdateGhostLevel ()
 Set / Get the update ghost level and the update number of ghost levels. Similar to update extent in 3D. More...
 
virtual int GetUpdateNumberOfPieces ()
 Set / Get the update piece and the update number of pieces. Similar to update extent in 3D. More...
 
virtual int GetUpdatePiece ()
 Set / Get the update piece and the update number of pieces. Similar to update extent in 3D. More...
 
uint GetUpdateTime ()
 Used by Threaded ports to determine if they should initiate an asynchronous update (still in development). More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
void GlobalReleaseDataFlagOff ()
 Turn on/off flag to control whether every object releases its data after being used by a filter. More...
 
void GlobalReleaseDataFlagOn ()
 Turn on/off flag to control whether every object releases its data after being used by a filter. More...
 
new vtkDataObject NewInstance ()
 Undocumented Block More...
 
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. More...
 
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. More...
 
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. More...
 
virtual void ReleaseDataFlagOff ()
 Turn on/off flag to control whether this object's data is released after being used by a filter. More...
 
virtual void ReleaseDataFlagOn ()
 Turn on/off flag to control whether this object's data is released after being used by a filter. More...
 
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. More...
 
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. More...
 
void SetExtentTranslator (vtkExtentTranslator translator)
 An object that will translate pieces into structured extents. More...
 
virtual void SetFieldData (vtkFieldData arg0)
 Assign or retrieve a general field data to this data object. More...
 
virtual void SetInformation (vtkInformation arg0)
 Set/Get the information object associated with this data object. More...
 
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. More...
 
virtual void SetPipelineInformation (vtkInformation arg0)
 Get/Set the pipeline information object that owns this data object. More...
 
void SetReleaseDataFlag (int arg0)
 Turn on/off flag to control whether this object's data is released after being used by a filter. More...
 
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. More...
 
void SetSource (vtkSource s)
 Set/Get the source object creating this data object. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
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) More...
 
void SetUpdateGhostLevel (int level)
 Set / Get the update ghost level and the update number of ghost levels. Similar to update extent in 3D. More...
 
void SetUpdateNumberOfPieces (int num)
 Set / Get the update piece and the update number of pieces. Similar to update extent in 3D. More...
 
void SetUpdatePiece (int piece)
 Set / Get the update piece and the update number of pieces. Similar to update extent in 3D. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
int ShouldIReleaseData ()
 Return flag indicating whether data should be released after use by a filter. More...
 
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. More...
 
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(). More...
 
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. More...
 
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. More...
 
- 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. More...
 
 vtkObject ()
 Create an object with Debug turned off, modified time initialized to zero, and reference counting on. More...
 
uint AddObserver (uint arg0, vtkCommand arg1, float priority)
 This is a global flag that controls whether any debug, warning or error messages are displayed. More...
 
uint AddObserver (string arg0, vtkCommand arg1, float priority)
 This is a global flag that controls whether any debug, warning or error messages are displayed. More...
 
virtual void DebugOff ()
 Turn debugging output off. More...
 
virtual void DebugOn ()
 Turn debugging output on. More...
 
vtkCommand GetCommand (uint tag)
 This is a global flag that controls whether any debug, warning or error messages are displayed. More...
 
byte GetDebug ()
 Get the value of the debug flag. More...
 
int HasObserver (uint arg0, vtkCommand arg1)
 This is a global flag that controls whether any debug, warning or error messages are displayed. More...
 
int HasObserver (string arg0, vtkCommand arg1)
 This is a global flag that controls whether any debug, warning or error messages are displayed. More...
 
int HasObserver (uint arg0)
 This is a global flag that controls whether any debug, warning or error messages are displayed. More...
 
int HasObserver (string arg0)
 This is a global flag that controls whether any debug, warning or error messages are displayed. More...
 
int InvokeEvent (uint arg0, IntPtr callData)
 This is a global flag that controls whether any debug, warning or error messages are displayed. More...
 
int InvokeEvent (string arg0, IntPtr callData)
 This is a global flag that controls whether any debug, warning or error messages are displayed. More...
 
int InvokeEvent (uint arg0)
 This is a global flag that controls whether any debug, warning or error messages are displayed. More...
 
int InvokeEvent (string arg0)
 This is a global flag that controls whether any debug, warning or error messages are displayed. More...
 
override int IsA (string type)
 Undocumented Block More...
 
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. More...
 
vtkObject NewInstance ()
 Undocumented Block More...
 
void RemoveAllObservers ()
 This is a global flag that controls whether any debug, warning or error messages are displayed. More...
 
void RemoveObserver (vtkCommand arg0)
 This is a global flag that controls whether any debug, warning or error messages are displayed. More...
 
void RemoveObserver (uint tag)
 This is a global flag that controls whether any debug, warning or error messages are displayed. More...
 
void RemoveObservers (uint arg0, vtkCommand arg1)
 This is a global flag that controls whether any debug, warning or error messages are displayed. More...
 
void RemoveObservers (string arg0, vtkCommand arg1)
 This is a global flag that controls whether any debug, warning or error messages are displayed. More...
 
void RemoveObservers (uint arg0)
 This is a global flag that controls whether any debug, warning or error messages are displayed. More...
 
void RemoveObservers (string arg0)
 This is a global flag that controls whether any debug, warning or error messages are displayed. More...
 
void SetDebug (byte debugFlag)
 Set the value of the debug flag. A non-zero value turns debugging on. More...
 
override string ToString ()
 Returns the result of calling vtkObject::Print as a C# string. More...
 
delegate void vtkObjectEventHandler (vtkObject sender, vtkObjectEventArgs e)
 Generic signature for all vtkObject events. More...
 
void RemoveAllHandlersForAllEvents ()
 Call RemoveAllHandlers on each non-null vtkObjectEventRelay. TODO: This method needs to get called by the generated Dispose. Make that happen... More...
 
- 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. More...
 
 vtkObjectBase ()
 Create an object with Debug turned off, modified time initialized to zero, and reference counting on. More...
 
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. More...
 
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. More...
 
int GetReferenceCount ()
 Return the current reference count of this object. More...
 
void SetReferenceCount (int arg0)
 Sets the reference count. (This is very dangerous, use with care.) More...
 

Static Public Member Functions

static new vtkGraph GetData (vtkInformation info)
 ETX More...
 
static new vtkGraph GetData (vtkInformationVector v, int i)
 ETX More...
 
static new int IsTypeOf (string type)
 Undocumented Block More...
 
static new vtkGraph SafeDownCast (vtkObjectBase o)
 Undocumented Block More...
 
- Static Public Member Functions inherited from Kitware.VTK.vtkDataObject
static new vtkDataObject New ()
 Undocumented Block More...
 
static vtkInformationInformationVectorKey CELL_DATA_VECTOR ()
 Given an integer association type, this static method returns a string type for the attribute (i.e. type = 0: returns "Points"). More...
 
static vtkInformationIntegerPointerKey DATA_EXTENT ()
 Given an integer association type, this static method returns a string type for the attribute (i.e. type = 0: returns "Points"). More...
 
static vtkInformationIntegerKey DATA_EXTENT_TYPE ()
 Given an integer association type, this static method returns a string type for the attribute (i.e. type = 0: returns "Points"). More...
 
static vtkInformationIntegerKey DATA_GEOMETRY_UNMODIFIED ()
 Given an integer association type, this static method returns a string type for the attribute (i.e. type = 0: returns "Points"). More...
 
static vtkInformationIntegerKey DATA_NUMBER_OF_GHOST_LEVELS ()
 Given an integer association type, this static method returns a string type for the attribute (i.e. type = 0: returns "Points"). More...
 
static vtkInformationIntegerKey DATA_NUMBER_OF_PIECES ()
 Given an integer association type, this static method returns a string type for the attribute (i.e. type = 0: returns "Points"). More...
 
static vtkInformationDataObjectKey DATA_OBJECT ()
 Given an integer association type, this static method returns a string type for the attribute (i.e. type = 0: returns "Points"). More...
 
static vtkInformationIntegerKey DATA_PIECE_NUMBER ()
 Given an integer association type, this static method returns a string type for the attribute (i.e. type = 0: returns "Points"). More...
 
static vtkInformationDoubleKey DATA_RESOLUTION ()
 Given an integer association type, this static method returns a string type for the attribute (i.e. type = 0: returns "Points"). More...
 
static vtkInformationDoubleVectorKey DATA_TIME_STEPS ()
 Given an integer association type, this static method returns a string type for the attribute (i.e. type = 0: returns "Points"). More...
 
static vtkInformationStringKey DATA_TYPE_NAME ()
 Given an integer association type, this static method returns a string type for the attribute (i.e. type = 0: returns "Points"). More...
 
static vtkInformationInformationVectorKey EDGE_DATA_VECTOR ()
 Given an integer association type, this static method returns a string type for the attribute (i.e. type = 0: returns "Points"). More...
 
static vtkInformationIntegerKey FIELD_ACTIVE_ATTRIBUTE ()
 Given an integer association type, this static method returns a string type for the attribute (i.e. type = 0: returns "Points"). More...
 
static vtkInformationStringKey FIELD_ARRAY_NAME ()
 Given an integer association type, this static method returns a string type for the attribute (i.e. type = 0: returns "Points"). More...
 
static vtkInformationIntegerKey FIELD_ARRAY_TYPE ()
 Given an integer association type, this static method returns a string type for the attribute (i.e. type = 0: returns "Points"). More...
 
static vtkInformationIntegerKey FIELD_ASSOCIATION ()
 Given an integer association type, this static method returns a string type for the attribute (i.e. type = 0: returns "Points"). More...
 
static vtkInformationIntegerKey FIELD_ATTRIBUTE_TYPE ()
 Given an integer association type, this static method returns a string type for the attribute (i.e. type = 0: returns "Points"). More...
 
static vtkInformationStringKey FIELD_NAME ()
 Given an integer association type, this static method returns a string type for the attribute (i.e. type = 0: returns "Points"). More...
 
static vtkInformationIntegerKey FIELD_NUMBER_OF_COMPONENTS ()
 Given an integer association type, this static method returns a string type for the attribute (i.e. type = 0: returns "Points"). More...
 
static vtkInformationIntegerKey FIELD_NUMBER_OF_TUPLES ()
 Given an integer association type, this static method returns a string type for the attribute (i.e. type = 0: returns "Points"). More...
 
static vtkInformationIntegerKey FIELD_OPERATION ()
 Given an integer association type, this static method returns a string type for the attribute (i.e. type = 0: returns "Points"). More...
 
static vtkInformationDoubleVectorKey FIELD_RANGE ()
 Given an integer association type, this static method returns a string type for the attribute (i.e. type = 0: returns "Points"). More...
 
static vtkInformation GetActiveFieldInformation (vtkInformation info, int fieldAssociation, int attributeType)
 Return the information object within the input information object's field data corresponding to the specified association (FIELD_ASSOCIATION_POINTS or FIELD_ASSOCIATION_CELLS) and attribute (SCALARS, VECTORS, NORMALS, TCOORDS, or TENSORS) More...
 
static string GetAssociationTypeAsString (int associationType)
 Given an integer association type, this static method returns a string type for the attribute (i.e. type = 0: returns "Points"). More...
 
static vtkDataObject GetData (vtkInformation info)
 Key used to put SIL information in the output information by readers. More...
 
static vtkDataObject GetData (vtkInformationVector v, int i)
 Key used to put SIL information in the output information by readers. More...
 
static int GetGlobalReleaseDataFlag ()
 Turn on/off flag to control whether every object releases its data after being used by a filter. More...
 
static vtkInformation GetNamedFieldInformation (vtkInformation info, int fieldAssociation, string name)
 Return the information object within the input information object's field data corresponding to the specified association (FIELD_ASSOCIATION_POINTS or FIELD_ASSOCIATION_CELLS) and name. More...
 
static new int IsTypeOf (string type)
 Undocumented Block More...
 
static vtkInformationDoubleVectorKey ORIGIN ()
 Given an integer association type, this static method returns a string type for the attribute (i.e. type = 0: returns "Points"). More...
 
static vtkInformationIntegerVectorKey PIECE_EXTENT ()
 Given an integer association type, this static method returns a string type for the attribute (i.e. type = 0: returns "Points"). More...
 
static vtkInformationDoubleVectorKey PIECE_FIELD_RANGE ()
 Given an integer association type, this static method returns a string type for the attribute (i.e. type = 0: returns "Points"). More...
 
static vtkInformationInformationVectorKey POINT_DATA_VECTOR ()
 Given an integer association type, this static method returns a string type for the attribute (i.e. type = 0: returns "Points"). More...
 
static void RemoveNamedFieldInformation (vtkInformation info, int fieldAssociation, string name)
 Remove the info associated with an array More...
 
static vtkInformationDataObjectKey SIL ()
 Key used to put SIL information in the output information by readers. More...
 
static vtkInformationDoubleVectorKey SPACING ()
 Given an integer association type, this static method returns a string type for the attribute (i.e. type = 0: returns "Points"). More...
 
static new vtkDataObject SafeDownCast (vtkObjectBase o)
 Undocumented Block More...
 
static vtkInformation SetActiveAttribute (vtkInformation info, int fieldAssociation, string attributeName, int attributeType)
 Set the named array to be the active field for the specified type (SCALARS, VECTORS, NORMALS, TCOORDS, or TENSORS) and association (FIELD_ASSOCIATION_POINTS or FIELD_ASSOCIATION_CELLS). Returns the active field information object and creates on entry if one not found. More...
 
static void SetActiveAttributeInfo (vtkInformation info, int fieldAssociation, int attributeType, string name, int arrayType, int numComponents, int numTuples)
 Set the name, array type, number of components, and number of tuples within the passed information object for the active attribute of type attributeType (in specified association, FIELD_ASSOCIATION_POINTS or FIELD_ASSOCIATION_CELLS). If there is not an active attribute of the specified type, an entry in the information object is created. If arrayType, numComponents, or numTuples equal to -1, or name=NULL the value is not changed. More...
 
static void SetGlobalReleaseDataFlag (int val)
 Turn on/off flag to control whether every object releases its data after being used by a filter. More...
 
static void SetPointDataActiveScalarInfo (vtkInformation info, int arrayType, int numComponents)
 Convenience version of previous method for use (primarily) by the Imaging filters. If arrayType or numComponents == -1, the value is not changed. More...
 
static vtkInformationInformationVectorKey VERTEX_DATA_VECTOR ()
 Given an integer association type, this static method returns a string type for the attribute (i.e. type = 0: returns "Points"). More...
 
- Static Public Member Functions inherited from Kitware.VTK.vtkObject
static new vtkObject New ()
 Create an object with Debug turned off, modified time initialized to zero, and reference counting on. More...
 
static void BreakOnError ()
 This method is called when vtkErrorMacro executes. It allows the debugger to break on error. More...
 
static int GetGlobalWarningDisplay ()
 This is a global flag that controls whether any debug, warning or error messages are displayed. More...
 
static void GlobalWarningDisplayOff ()
 This is a global flag that controls whether any debug, warning or error messages are displayed. More...
 
static void GlobalWarningDisplayOn ()
 This is a global flag that controls whether any debug, warning or error messages are displayed. More...
 
static new int IsTypeOf (string type)
 Undocumented Block More...
 
static vtkObject SafeDownCast (vtkObjectBase o)
 Undocumented Block More...
 
static void SetGlobalWarningDisplay (int val)
 This is a global flag that controls whether any debug, warning or error messages are displayed. More...
 
- Static Public Member Functions inherited from Kitware.VTK.vtkObjectBase
static vtkObjectBase New ()
 Create an object with Debug turned off, modified time initialized to zero, and reference counting on. More...
 
static int IsTypeOf (string name)
 Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h. More...
 

Public Attributes

new const string MRFullTypeName = "Kitware.VTK.vtkGraph"
 Automatically generated type registration mechanics. More...
 
- Public Attributes inherited from Kitware.VTK.vtkDataObject
new const string MRFullTypeName = "Kitware.VTK.vtkDataObject"
 Automatically generated type registration mechanics. More...
 
- Public Attributes inherited from Kitware.VTK.vtkObject
new const string MRFullTypeName = "Kitware.VTK.vtkObject"
 Automatically generated type registration mechanics. More...
 
- Public Attributes inherited from Kitware.VTK.vtkObjectBase
new const string MRFullTypeName = "Kitware.VTK.vtkObjectBase"
 Automatically generated type registration mechanics. More...
 
- 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. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 

Static Public Attributes

static new readonly string MRClassNameKey = "8vtkGraph"
 Automatically generated type registration mechanics. More...
 
- Static Public Attributes inherited from Kitware.VTK.vtkDataObject
static new readonly string MRClassNameKey = "13vtkDataObject"
 Automatically generated type registration mechanics. More...
 
- Static Public Attributes inherited from Kitware.VTK.vtkObject
static new readonly string MRClassNameKey = "9vtkObject"
 Automatically generated type registration mechanics. More...
 
- Static Public Attributes inherited from Kitware.VTK.vtkObjectBase
static new readonly string MRClassNameKey = "13vtkObjectBase"
 Automatically generated type registration mechanics. More...
 

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. More...
 
- Protected Member Functions inherited from Kitware.VTK.vtkDataObject
override void Dispose (bool disposing)
 Handle the source/data loop. More...
 
- Protected Member Functions inherited from Kitware.VTK.vtkObject
override void Dispose (bool disposing)
 Automatically generated protected Dispose method - called from public Dispose or the C# destructor. DO NOT call directly. More...
 
- Protected Member Functions inherited from Kitware.VTK.vtkObjectBase
override void Dispose (bool disposing)
 Decrease the reference count (release by another object). This has the same effect as invoking Delete() (i.e., it reduces the reference count by 1). More...
 
- Protected Member Functions inherited from Kitware.VTK.WrappedObject
 WrappedObject (IntPtr rawCppThis, bool callDisposalMethod, bool strong)
 Constructor expected by the mummy Runtime. More...
 

Static Private Member Functions

static vtkGraph ()
 Automatically generated type registration mechanics. More...
 

Additional Inherited Members

- Public Types inherited from Kitware.VTK.vtkDataObject
enum  AttributeTypes {
  AttributeTypes.CELL = 1, AttributeTypes.EDGE = 5, AttributeTypes.FIELD = 2, AttributeTypes.NUMBER_OF_ATTRIBUTE_TYPES = 7,
  AttributeTypes.POINT = 0, AttributeTypes.POINT_THEN_CELL = 3, AttributeTypes.ROW = 6, AttributeTypes.VERTEX = 4
}
 This method crops the data object (if necesary) so that the extent matches the update extent. More...
 
enum  FieldAssociations {
  FieldAssociations.FIELD_ASSOCIATION_CELLS = 1, FieldAssociations.FIELD_ASSOCIATION_EDGES = 5, FieldAssociations.FIELD_ASSOCIATION_NONE = 2, FieldAssociations.FIELD_ASSOCIATION_POINTS = 0,
  FieldAssociations.FIELD_ASSOCIATION_POINTS_THEN_CELLS = 3, FieldAssociations.FIELD_ASSOCIATION_ROWS = 6, FieldAssociations.FIELD_ASSOCIATION_VERTICES = 4, FieldAssociations.NUMBER_OF_ASSOCIATIONS = 7
}
 This method crops the data object (if necesary) so that the extent matches the update extent. More...
 
enum  FieldOperations { FieldOperations.FIELD_OPERATION_MODIFIED = 2, FieldOperations.FIELD_OPERATION_PRESERVED = 0, FieldOperations.FIELD_OPERATION_REINTERPOLATED = 1, FieldOperations.FIELD_OPERATION_REMOVED = 3 }
 Get the number of elements for a specific attribute type (POINT, CELL, etc.). More...
 
- 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. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 

Detailed Description

vtkGraph - Base class for graph data types.

Description vtkGraph is the abstract base class that provides all read-only API for graph data types. A graph consists of a collection of vertices and a collection of edges connecting pairs of vertices. The vtkDirectedGraph subclass represents a graph whose edges have inherent order from source vertex to target vertex, while vtkUndirectedGraph is a graph whose edges have no inherent ordering.

Graph vertices may be traversed in two ways. In the current implementation, all vertices are assigned consecutive ids starting at zero, so they may be traversed in a simple for loop from 0 to graph->GetNumberOfVertices() - 1. You may alternately create a vtkVertexListIterator and call graph->GetVertices(it). it->Next() will return the id of the next vertex, while it->HasNext() indicates whether there are more vertices in the graph. This is the preferred method, since in the future graphs may support filtering or subsetting where the vertex ids may not be contiguous.

Graph edges must be traversed through iterators. To traverse all edges in a graph, create an instance of vtkEdgeListIterator and call graph->GetEdges(it). it->Next() returns lightweight vtkEdgeType structures, which contain the public fields Id, Source and Target. Id is the identifier for the edge, which may be used to look up values in assiciated edge data arrays. Source and Target store the ids of the source and target vertices of the edge. Note that the edge list iterator DOES NOT necessarily iterate over edges in order of ascending id. To traverse edges from wrapper code (Python, Tcl, Java), use it->NextGraphEdge() instead of it->Next(). This will return a heavyweight, wrappable vtkGraphEdge object, which has the same fields as vtkEdgeType accessible through getter methods.

To traverse all edges outgoing from a vertex, create a vtkOutEdgeIterator and call graph->GetOutEdges(v, it). it->Next() returns a lightweight vtkOutEdgeType containing the fields Id and Target. The source of the edge is always the vertex that was passed as an argument to GetOutEdges(). Incoming edges may be similarly traversed with vtkInEdgeIterator, which returns vtkInEdgeType structures with Id and Source fields. Both vtkOutEdgeIterator and vtkInEdgeIterator also provide the wrapper functions NextGraphEdge() which return vtkGraphEdge objects.

An additional iterator, vtkAdjacentVertexIterator can traverse outgoing vertices directly, instead needing to parse through edges. Initialize the iterator by calling graph->GetAdjacentVertices(v, it).

vtkGraph has two instances of vtkDataSetAttributes for associated vertex and edge data. It also has a vtkPoints instance which may store x,y,z locations for each vertex. This is populated by filters such as vtkGraphLayout and vtkAssignCoordinates.

All graph types share the same implementation, so the structure of one may be shared among multiple graphs, even graphs of different types. Structures from vtkUndirectedGraph and vtkMutableUndirectedGraph may be shared directly. Structures from vtkDirectedGraph, vtkMutableDirectedGraph, and vtkTree may be shared directly with the exception that setting a structure to a tree requires that a "is a tree" test passes.

For graph types that are known to be compatible, calling ShallowCopy() or DeepCopy() will work as expected. When the outcome of a conversion is unknown (i.e. setting a graph to a tree), CheckedShallowCopy() and CheckedDeepCopy() exist which are identical to ShallowCopy() and DeepCopy(), except that instead of emitting an error for an incompatible structure, the function returns false. This allows you to programmatically check structure compatibility without causing error messages.

To construct a graph, use vtkMutableDirectedGraph or vtkMutableUndirectedGraph. You may then use CheckedShallowCopy to set the contents of a mutable graph type into one of the non-mutable types vtkDirectedGraph, vtkUndirectedGraph. To construct a tree, use vtkMutableDirectedGraph, with directed edges which point from the parent to the child, then use CheckedShallowCopy to set the structure to a vtkTree.

Caveats All copy operations implement copy-on-write. The structures are initially shared, but if one of the graphs is modified, the structure is copied so that to the user they function as if they were deep copied. This means that care must be taken if different threads are accessing different graph instances that share the same structure. Race conditions may develop if one thread is modifying the graph at the same time that another graph is copying the structure.

Vertex pedigree IDs The vertices in a vtkGraph can be associated with pedigree IDs through GetVertexData()->SetPedigreeIds. In this case, there is a 1-1 mapping between pedigree Ids and vertices. One can query the vertex ID based on the pedigree ID using FindVertex, add new vertices by pedigree ID with AddVertex, and add edges based on the pedigree IDs of the source and target vertices. For example, AddEdge("Here", "There") will find (or add) vertices with pedigree ID "Here" and "There" and then introduce an edge from "Here" to "There".

To configure the vtkGraph with a pedigree ID mapping, create a vtkDataArray that will store the pedigree IDs and set that array as the pedigree ID array for the vertices via GetVertexData()->SetPedigreeIds().

Distributed graphs

vtkGraph instances can be distributed across multiple machines, to allow the construction and manipulation of graphs larger than a single machine could handle. A distributed graph will typically be distributed across many different nodes within a cluster, using the Message Passing Interface (MPI) to allow those cluster nodes to communicate.

An empty vtkGraph can be made into a distributed graph by attaching an instance of a vtkDistributedGraphHelper via the SetDistributedGraphHelper() method. To determine whether a graph is distributed or not, call GetDistributedGraphHelper() and check whether the result is non-NULL. For a distributed graph, the number of processors across which the graph is distributed can be retrieved by extracting the value for the DATA_NUMBER_OF_PIECES key in the vtkInformation object (retrieved by GetInformation()) associated with the graph. Similarly, the value corresponding to the DATA_PIECE_NUMBER key of the vtkInformation object describes which piece of the data this graph instance provides.

Distributed graphs behave somewhat differently from non-distributed graphs, and will require special care. In a distributed graph, each of the processors will contain a subset of the vertices in the graph. That subset of vertices can be accessed via the vtkVertexListIterator produced by GetVertices(). GetNumberOfVertices(), therefore, returns the number of vertices stored locally: it does not account for vertices stored on other processors. A vertex (or edge) is identified by both the rank of its owning processor and by its index within that processor, both of which are encoded within the vtkIdType value that describes that vertex (or edge). The owning processor is a value between 0 and P-1, where P is the number of processors across which the vtkGraph has been distributed. The local index will be a value between 0 and GetNumberOfVertices(), for vertices, or GetNumberOfEdges(), for edges, and can be used to access the local parts of distributed data arrays. When given a vtkIdType identifying a vertex, one can determine the owner of the vertex with vtkDistributedGraphHelper::GetVertexOwner() and the local index with vtkDistributedGraphHelper::GetVertexIndex(). With edges, the appropriate methods are vtkDistributedGraphHelper::GetEdgeOwner() and vtkDistributedGraphHelper::GetEdgeIndex(), respectively. To construct a vtkIdType representing either a vertex or edge given only its owner and local index, use vtkDistributedGraphHelper::MakeDistributedId().

The edges in a distributed graph are always stored on the processors that own the vertices named by the edge. For example, given a directed edge (u, v), the edge will be stored in the out-edges list for vertex u on the processor that owns u, and in the in-edges list for vertex v on the processor that owns v. This "row-wise" decomposition of the graph means that, for any vertex that is local to a processor, that processor can look at all of the incoming and outgoing edges of the graph. Processors cannot, however, access the incoming or outgoing edge lists of vertex owned by other processors. Vertices owned by other processors will not be encountered when traversing the vertex list via GetVertices(), but may be encountered by traversing the in- and out-edge lists of local vertices or the edge list.

Distributed graphs can have pedigree IDs for the vertices in the same way that non-distributed graphs can. In this case, the distribution of the vertices in the graph is based on pedigree ID. For example, a vertex with the pedigree ID "Here" might land on processor 0 while a vertex pedigree ID "There" would end up on processor 3. By default, the pedigree IDs themselves are hashed to give a random (and, hopefully, even) distribution of the vertices. However, one can provide a different vertex distribution function by calling vtkDistributedGraphHelper::SetVertexPedigreeIdDistribution. Once a distributed graph has pedigree IDs, the no-argument AddVertex() method can no longer be used. Additionally, once a vertex has a pedigree ID, that pedigree ID should not be changed unless the user can guarantee that the vertex distribution will still map that vertex to the same processor where it already resides.

Constructor & Destructor Documentation

static Kitware.VTK.vtkGraph.vtkGraph ( )
staticprivate

Automatically generated type registration mechanics.

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

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

Member Function Documentation

void Kitware.VTK.vtkGraph.AddEdgePoint ( long  e,
IntPtr  x 
)

ETX

void Kitware.VTK.vtkGraph.AddEdgePoint ( long  e,
double  x,
double  y,
double  z 
)

ETX

virtual bool Kitware.VTK.vtkGraph.CheckedDeepCopy ( vtkGraph  g)
virtual

ETX

virtual bool Kitware.VTK.vtkGraph.CheckedShallowCopy ( vtkGraph  g)
virtual

ETX

void Kitware.VTK.vtkGraph.ClearEdgePoints ( long  e)

ETX

void Kitware.VTK.vtkGraph.ComputeBounds ( )

Compute the bounds of the graph. In a distributed graph, this computes the bounds around the local part of the graph.

virtual void Kitware.VTK.vtkGraph.CopyStructure ( vtkGraph  g)
virtual

ETX

override void Kitware.VTK.vtkGraph.DeepCopy ( vtkDataObject  obj)
virtual

ETX

Reimplemented from Kitware.VTK.vtkDataObject.

Reimplemented in Kitware.VTK.vtkReebGraph, and Kitware.VTK.vtkMolecule.

void Kitware.VTK.vtkGraph.DeepCopyEdgePoints ( vtkGraph  g)

ETX

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

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

void Kitware.VTK.vtkGraph.Dump ( )

ETX

virtual void Kitware.VTK.vtkGraph.GetAdjacentVertices ( long  v,
vtkAdjacentVertexIterator  it 
)
virtual

Initializes the adjacent vertex iterator to iterate over all outgoing vertices from vertex v. For an undirected graph, returns all adjacent vertices. In a distributed graph, the vertex v must be local to this processor.

override vtkFieldData Kitware.VTK.vtkGraph.GetAttributesAsFieldData ( int  type)
virtual

ETX

Reimplemented from Kitware.VTK.vtkDataObject.

Here is the call graph for this function:

IntPtr Kitware.VTK.vtkGraph.GetBounds ( )

Return a pointer to the geometry bounding box in the form (xmin,xmax, ymin,ymax, zmin,zmax). In a distributed graph, this computes the bounds around the local part of the graph.

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

Return a pointer to the geometry bounding box in the form (xmin,xmax, ymin,ymax, zmin,zmax). In a distributed graph, this computes the bounds around the local part of the graph.

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

ETX

Retrieve the vertex with the given pedigree ID. If successful, returns the ID of the vertex. Otherwise, either the vertex data does not have a pedigree ID array or there is no vertex with the given pedigree ID, so this function returns -1. If the graph is a distributed graph, this method will return the Distributed-ID of the vertex. vtkIdType FindVertex(const vtkVariant& pedigreeID);

Shallow copies the data object into this graph. If it is an incompatible graph, reports an error. virtual void ShallowCopy(vtkDataObject *obj);

Deep copies the data object into this graph. If it is an incompatible graph, reports an error. virtual void DeepCopy(vtkDataObject *obj);

Does a shallow copy of the topological information, but not the associated attributes. virtual void CopyStructure(vtkGraph *g);

Performs the same operation as ShallowCopy(), but instead of reporting an error for an incompatible graph, returns false. virtual bool CheckedShallowCopy(vtkGraph *g);

Performs the same operation as DeepCopy(), but instead of reporting an error for an incompatible graph, returns false. virtual bool CheckedDeepCopy(vtkGraph *g);

Reclaim unused memory. virtual void Squeeze();

BTX Retrieve a graph from an information vector.

Here is the call graph for this function:

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

ETX

Retrieve the vertex with the given pedigree ID. If successful, returns the ID of the vertex. Otherwise, either the vertex data does not have a pedigree ID array or there is no vertex with the given pedigree ID, so this function returns -1. If the graph is a distributed graph, this method will return the Distributed-ID of the vertex. vtkIdType FindVertex(const vtkVariant& pedigreeID);

Shallow copies the data object into this graph. If it is an incompatible graph, reports an error. virtual void ShallowCopy(vtkDataObject *obj);

Deep copies the data object into this graph. If it is an incompatible graph, reports an error. virtual void DeepCopy(vtkDataObject *obj);

Does a shallow copy of the topological information, but not the associated attributes. virtual void CopyStructure(vtkGraph *g);

Performs the same operation as ShallowCopy(), but instead of reporting an error for an incompatible graph, returns false. virtual bool CheckedShallowCopy(vtkGraph *g);

Performs the same operation as DeepCopy(), but instead of reporting an error for an incompatible graph, returns false. virtual bool CheckedDeepCopy(vtkGraph *g);

Reclaim unused memory. virtual void Squeeze();

BTX Retrieve a graph from an information vector.

Here is the call graph for this function:

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

Return what type of dataset this is.

Reimplemented from Kitware.VTK.vtkDataObject.

Reimplemented in Kitware.VTK.vtkReebGraph, Kitware.VTK.vtkTree, and Kitware.VTK.vtkUndirectedGraph.

virtual long Kitware.VTK.vtkGraph.GetDegree ( long  v)
virtual

The total of all incoming and outgoing vertices for vertex v. For undirected graphs, this is simply the number of edges incident to v. In a distributed graph, the vertex v must be local to this processor.

vtkDistributedGraphHelper Kitware.VTK.vtkGraph.GetDistributedGraphHelper ( )

Retrieves the distributed graph helper for this graph

Here is the call graph for this function:

virtual vtkDataSetAttributes Kitware.VTK.vtkGraph.GetEdgeData ( )
virtual

Get the vertex or edge data.

Here is the call graph for this function:

long Kitware.VTK.vtkGraph.GetEdgeId ( long  a,
long  b 
)

ETX

double [] Kitware.VTK.vtkGraph.GetEdgePoint ( long  e,
long  i 
)

ETX

virtual void Kitware.VTK.vtkGraph.GetEdges ( vtkEdgeListIterator  it)
virtual

Initializes the edge list iterator to iterate over all edges in the graph. Edges may not be traversed in order of increasing edge id. In a distributed graph, this returns edges that are stored locally.

vtkGraphInternals Kitware.VTK.vtkGraph.GetGraphInternals ( bool  modifying)

ETX

Here is the call graph for this function:

virtual long Kitware.VTK.vtkGraph.GetInDegree ( long  v)
virtual

The number of incoming edges to vertex v. For undirected graphs, returns the same as GetDegree(). In a distributed graph, the vertex v must be local to this processor.

Reimplemented in Kitware.VTK.vtkUndirectedGraph.

void Kitware.VTK.vtkGraph.GetInducedEdges ( vtkIdTypeArray  verts,
vtkIdTypeArray  edges 
)

ETX

virtual void Kitware.VTK.vtkGraph.GetInEdge ( long  v,
long  index,
vtkGraphEdge  e 
)
virtual

Random-access method for retrieving incoming edges to vertex v. The method fills the vtkGraphEdge instance with the id, source, and target of the edge. This method is provided for wrappers, GetInEdge(vtkIdType, vtkIdType) is preferred.

Reimplemented in Kitware.VTK.vtkUndirectedGraph.

virtual void Kitware.VTK.vtkGraph.GetInEdges ( long  v,
vtkInEdgeIterator  it 
)
virtual

Initializes the in edge iterator to iterate over all incoming edges to vertex v. For an undirected graph, returns all incident edges. In a distributed graph, the vertex v must be local to this processor.

Reimplemented in Kitware.VTK.vtkUndirectedGraph.

override uint Kitware.VTK.vtkGraph.GetMTime ( )
virtual

The modified time of the graph.

Reimplemented from Kitware.VTK.vtkDataObject.

long Kitware.VTK.vtkGraph.GetNumberOfEdgePoints ( long  e)

ETX

virtual long Kitware.VTK.vtkGraph.GetNumberOfEdges ( )
virtual

The number of edges in the graph. In a distributed graph, this returns the number of edges stored locally.

override long Kitware.VTK.vtkGraph.GetNumberOfElements ( int  type)
virtual

ETX

Reimplemented from Kitware.VTK.vtkDataObject.

virtual long Kitware.VTK.vtkGraph.GetNumberOfVertices ( )
virtual

The number of vertices in the graph. In a distributed graph, returns the number of local vertices in the graph.

virtual long Kitware.VTK.vtkGraph.GetOutDegree ( long  v)
virtual

The number of outgoing edges from vertex v. For undirected graphs, returns the same as GetDegree(). In a distributed graph, the vertex v must be local to this processor.

virtual void Kitware.VTK.vtkGraph.GetOutEdge ( long  v,
long  index,
vtkGraphEdge  e 
)
virtual

Random-access method for retrieving outgoing edges from vertex v. The method fills the vtkGraphEdge instance with the id, source, and target of the edge. This method is provided for wrappers, GetOutEdge(vtkIdType, vtkIdType) is preferred.

virtual void Kitware.VTK.vtkGraph.GetOutEdges ( long  v,
vtkOutEdgeIterator  it 
)
virtual

Initializes the out edge iterator to iterate over all outgoing edges of vertex v. For an undirected graph, returns all incident edges. In a distributed graph, the vertex v must be local to this processor.

IntPtr Kitware.VTK.vtkGraph.GetPoint ( long  ptId)

These methods return the point (0,0,0) until the points structure is created, when it returns the actual point position. In a distributed graph, only the points for local vertices can be retrieved.

void Kitware.VTK.vtkGraph.GetPoint ( long  ptId,
IntPtr  x 
)

These methods return the point (0,0,0) until the points structure is created, when it returns the actual point position. In a distributed graph, only the points for local vertices can be retrieved.

vtkPoints Kitware.VTK.vtkGraph.GetPoints ( )

Returns the points array for this graph. If points is not yet constructed, generates and returns a new points array filled with (0,0,0) coordinates. In a distributed graph, only the points for local vertices can be retrieved or modified.

Here is the call graph for this function:

long Kitware.VTK.vtkGraph.GetSourceVertex ( long  e)

ETX

long Kitware.VTK.vtkGraph.GetTargetVertex ( long  e)

ETX

virtual vtkDataSetAttributes Kitware.VTK.vtkGraph.GetVertexData ( )
virtual

Get the vertex or edge data.

Here is the call graph for this function:

virtual void Kitware.VTK.vtkGraph.GetVertices ( vtkVertexListIterator  it)
virtual

Initializes the vertex list iterator to iterate over all vertices in the graph. In a distributed graph, the iterator traverses all local vertices.

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

Initialize to an empty graph.

Reimplemented from Kitware.VTK.vtkDataObject.

Reimplemented in Kitware.VTK.vtkMolecule.

override int Kitware.VTK.vtkGraph.IsA ( string  type)
virtual
bool Kitware.VTK.vtkGraph.IsSameStructure ( vtkGraph  other)

ETX

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

Undocumented Block

new vtkGraph Kitware.VTK.vtkGraph.NewInstance ( )

Undocumented Block

void Kitware.VTK.vtkGraph.ReorderOutVertices ( long  v,
vtkIdTypeArray  vertices 
)

ETX

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

Undocumented Block

Here is the call graph for this function:

void Kitware.VTK.vtkGraph.SetDistributedGraphHelper ( vtkDistributedGraphHelper  helper)

BTX Sets the distributed graph helper of this graph, turning it into a distributed graph. This operation can only be executed on an empty graph.

void Kitware.VTK.vtkGraph.SetEdgePoint ( long  e,
long  i,
IntPtr  x 
)

ETX

void Kitware.VTK.vtkGraph.SetEdgePoint ( long  e,
long  i,
double  x,
double  y,
double  z 
)

ETX

void Kitware.VTK.vtkGraph.SetEdgePoints ( long  e,
long  npts,
IntPtr  pts 
)

ETX

Reorder the outgoing vertices of a vertex. The vertex list must have the same elements as the current out edge list, just in a different order. This method does not change the topology of the graph. In a distributed graph, the vertex v must be local. void ReorderOutVertices(vtkIdType v, vtkIdTypeArray *vertices);

Returns true if both graphs point to the same adjacency structure. Can be used to test the copy-on-write feature of the graph. bool IsSameStructure(vtkGraph *other);

Retrieve the source and target vertices for an edge id. NOTE: The first time this is called, the graph will build a mapping array from edge id to source/target that is the same size as the number of edges in the graph. If you have access to a vtkOutEdgeType, vtkInEdgeType, vtkEdgeType, or vtkGraphEdge, you should directly use these structures to look up the source or target instead of this method. vtkIdType GetSourceVertex(vtkIdType e); vtkIdType GetTargetVertex(vtkIdType e);

BTX Get/Set the internal edge control points associated with each edge. The size of the pts array is 3*npts, and holds the x,y,z location of each edge control point.

virtual void Kitware.VTK.vtkGraph.SetPoints ( vtkPoints  points)
virtual

Returns the points array for this graph. If points is not yet constructed, generates and returns a new points array filled with (0,0,0) coordinates. In a distributed graph, only the points for local vertices can be retrieved or modified.

override void Kitware.VTK.vtkGraph.ShallowCopy ( vtkDataObject  obj)
virtual

ETX

Reimplemented from Kitware.VTK.vtkDataObject.

Reimplemented in Kitware.VTK.vtkMolecule.

void Kitware.VTK.vtkGraph.ShallowCopyEdgePoints ( vtkGraph  g)

ETX

virtual void Kitware.VTK.vtkGraph.Squeeze ( )
virtual

ETX

bool Kitware.VTK.vtkGraph.ToDirectedGraph ( vtkDirectedGraph  g)

ETX

bool Kitware.VTK.vtkGraph.ToUndirectedGraph ( vtkUndirectedGraph  g)

ETX

Member Data Documentation

new readonly string Kitware.VTK.vtkGraph.MRClassNameKey = "8vtkGraph"
static

Automatically generated type registration mechanics.

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

Automatically generated type registration mechanics.


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