ActiViz .NET
5.8.0
|
vtkGraph - Base class for graph data types. More...
Public Member Functions | |
vtkGraph (IntPtr rawCppThis, bool callDisposalMethod, bool strong) | |
Automatically generated constructor - called from generated code. DO NOT call directly. | |
void | AddEdgePoint (int e, IntPtr x) |
ETX | |
void | AddEdgePoint (int e, double x, double y, double z) |
ETX | |
virtual bool | CheckedDeepCopy (vtkGraph g) |
ETX | |
virtual bool | CheckedShallowCopy (vtkGraph g) |
ETX | |
void | ClearEdgePoints (int e) |
ETX | |
void | ComputeBounds () |
Compute the bounds of the graph. In a distributed graph, this computes the bounds around the local part of the graph. | |
virtual void | CopyStructure (vtkGraph g) |
ETX | |
override void | DeepCopy (vtkDataObject obj) |
ETX | |
void | DeepCopyEdgePoints (vtkGraph g) |
ETX | |
void | Dump () |
ETX | |
virtual void | GetAdjacentVertices (int 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. | |
override vtkFieldData | GetAttributesAsFieldData (int type) |
ETX | |
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. | |
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. | |
override int | GetDataObjectType () |
Return what type of dataset this is. | |
virtual int | GetDegree (int 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. | |
vtkDistributedGraphHelper | GetDistributedGraphHelper () |
Retrieves the distributed graph helper for this graph | |
virtual vtkDataSetAttributes | GetEdgeData () |
Get the vertex or edge data. | |
int | GetEdgeId (int a, int b) |
ETX | |
double[] | GetEdgePoint (int e, int i) |
ETX | |
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. | |
vtkGraphInternals | GetGraphInternals (bool modifying) |
ETX | |
virtual int | GetInDegree (int 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. | |
virtual void | GetInEdge (int v, int 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. | |
virtual void | GetInEdges (int 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. | |
void | GetInducedEdges (vtkIdTypeArray verts, vtkIdTypeArray edges) |
ETX | |
override uint | GetMTime () |
The modified time of the graph. | |
int | GetNumberOfEdgePoints (int e) |
ETX | |
virtual int | GetNumberOfEdges () |
The number of edges in the graph. In a distributed graph, this returns the number of edges stored locally. | |
override int | GetNumberOfElements (int type) |
ETX | |
virtual int | GetNumberOfVertices () |
The number of vertices in the graph. In a distributed graph, returns the number of local vertices in the graph. | |
virtual int | GetOutDegree (int 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. | |
virtual void | GetOutEdge (int v, int 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. | |
virtual void | GetOutEdges (int 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. | |
IntPtr | GetPoint (int 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 | GetPoint (int 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 | 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. | |
int | GetSourceVertex (int e) |
ETX | |
int | GetTargetVertex (int e) |
ETX | |
virtual vtkDataSetAttributes | GetVertexData () |
Get the vertex or edge data. | |
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. | |
override void | Initialize () |
Initialize to an empty graph. | |
override int | IsA (string type) |
Undocumented Block | |
bool | IsSameStructure (vtkGraph other) |
ETX | |
new vtkGraph | NewInstance () |
Undocumented Block | |
void | ReorderOutVertices (int v, vtkIdTypeArray vertices) |
ETX | |
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. | |
void | SetEdgePoint (int e, int i, IntPtr x) |
ETX | |
void | SetEdgePoint (int e, int i, double x, double y, double z) |
ETX | |
void | SetEdgePoints (int e, int npts, IntPtr pts) |
ETX | |
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. | |
override void | ShallowCopy (vtkDataObject obj) |
ETX | |
void | ShallowCopyEdgePoints (vtkGraph g) |
ETX | |
virtual void | Squeeze () |
ETX | |
bool | ToDirectedGraph (vtkDirectedGraph g) |
ETX | |
bool | ToUndirectedGraph (vtkUndirectedGraph g) |
ETX | |
![]() | |
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 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). | |
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[] | 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. | |
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. | |
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. | |
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. | |
![]() | |
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... | |
![]() | |
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 vtkGraph | GetData (vtkInformation info) |
ETX | |
static new vtkGraph | GetData (vtkInformationVector v, int i) |
ETX | |
static new int | IsTypeOf (string type) |
Undocumented Block | |
static new vtkGraph | SafeDownCast (vtkObjectBase o) |
Undocumented Block | |
![]() | |
static new vtkDataObject | New () |
Undocumented Block | |
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"). | |
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"). | |
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"). | |
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"). | |
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"). | |
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"). | |
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"). | |
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"). | |
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"). | |
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"). | |
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"). | |
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"). | |
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"). | |
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"). | |
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"). | |
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"). | |
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"). | |
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"). | |
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"). | |
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"). | |
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"). | |
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"). | |
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) | |
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"). | |
static int | GetGlobalReleaseDataFlag () |
Turn on/off flag to control whether every object releases its data after being used by a filter. | |
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. | |
static vtkInformationDoubleVectorKey | ORIGIN () |
Given an integer association type, this static method returns a string type for the attribute (i.e. type = 0: returns "Points"). | |
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"). | |
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"). | |
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"). | |
static void | RemoveNamedFieldInformation (vtkInformation info, int fieldAssociation, string name) |
Remove the info associated with an array | |
static vtkInformationDataObjectKey | SIL () |
Key used to put SIL information in the output information by readers. | |
static vtkInformationDoubleVectorKey | SPACING () |
Given an integer association type, this static method returns a string type for the attribute (i.e. type = 0: returns "Points"). | |
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. | |
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. | |
static void | SetGlobalReleaseDataFlag (int val) |
Turn on/off flag to control whether every object releases its data after being used by a filter. | |
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. | |
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"). | |
![]() | |
static void | BreakOnError () |
This method is called when vtkErrorMacro executes. It allows the debugger to break on error. | |
static int | GetGlobalWarningDisplay () |
This is a global flag that controls whether any debug, warning or error messages are displayed. | |
static void | GlobalWarningDisplayOff () |
This is a global flag that controls whether any debug, warning or error messages are displayed. | |
static void | GlobalWarningDisplayOn () |
This is a global flag that controls whether any debug, warning or error messages are displayed. | |
static void | SetGlobalWarningDisplay (int val) |
This is a global flag that controls whether any debug, warning or error messages are displayed. |
Public Attributes | |
new const string | MRFullTypeName = "Kitware.VTK.vtkGraph" |
Automatically generated type registration mechanics. | |
![]() | |
new const string | MRFullTypeName = "Kitware.VTK.vtkDataObject" |
Automatically generated type registration mechanics. | |
![]() | |
new const string | MRFullTypeName = "Kitware.VTK.vtkObject" |
Automatically generated type registration mechanics. | |
![]() | |
new const string | MRFullTypeName = "Kitware.VTK.vtkObjectBase" |
Automatically generated type registration mechanics. | |
![]() | |
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 = "8vtkGraph" |
Automatically generated type registration mechanics. | |
![]() | |
static new readonly string | MRClassNameKey = "13vtkDataObject" |
Automatically generated type registration mechanics. | |
![]() | |
static new readonly string | MRClassNameKey = "9vtkObject" |
Automatically generated type registration mechanics. | |
![]() | |
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 | vtkGraph () |
Automatically generated type registration mechanics. |
Additional Inherited Members | |
![]() | |
enum | AttributeTypes { CELL = 1, EDGE = 5, FIELD = 2, NUMBER_OF_ATTRIBUTE_TYPES = 7, POINT = 0, POINT_THEN_CELL = 3, ROW = 6, VERTEX = 4 } |
This method crops the data object (if necesary) so that the extent matches the update extent. More... | |
enum | FieldAssociations { FIELD_ASSOCIATION_CELLS = 1, FIELD_ASSOCIATION_EDGES = 5, FIELD_ASSOCIATION_NONE = 2, FIELD_ASSOCIATION_POINTS = 0, FIELD_ASSOCIATION_POINTS_THEN_CELLS = 3, FIELD_ASSOCIATION_ROWS = 6, FIELD_ASSOCIATION_VERTICES = 4, NUMBER_OF_ASSOCIATIONS = 7 } |
This method crops the data object (if necesary) so that the extent matches the update extent. More... | |
enum | FieldOperations { FIELD_OPERATION_MODIFIED = 2, FIELD_OPERATION_PRESERVED = 0, FIELD_OPERATION_REINTERPOLATED = 1, FIELD_OPERATION_REMOVED = 3 } |
Get the number of elements for a specific attribute type (POINT, CELL, etc.). More... | |
![]() | |
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. |
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.
|
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.
void Kitware.VTK.vtkGraph.AddEdgePoint | ( | int | e, |
IntPtr | x | ||
) |
ETX
void Kitware.VTK.vtkGraph.AddEdgePoint | ( | int | e, |
double | x, | ||
double | y, | ||
double | z | ||
) |
ETX
|
virtual |
ETX
|
virtual |
ETX
void Kitware.VTK.vtkGraph.ClearEdgePoints | ( | int | 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 |
ETX
|
virtual |
void Kitware.VTK.vtkGraph.DeepCopyEdgePoints | ( | vtkGraph | g | ) |
ETX
|
protected |
Automatically generated protected Dispose method - called from public Dispose or the C# destructor. DO NOT call directly.
Reimplemented from Kitware.VTK.vtkDataObject.
Reimplemented in Kitware.VTK.vtkReebGraph, Kitware.VTK.vtkDirectedAcyclicGraph, Kitware.VTK.vtkTree, Kitware.VTK.vtkUndirectedGraph, Kitware.VTK.vtkDirectedGraph, Kitware.VTK.vtkMutableDirectedGraph, and Kitware.VTK.vtkMutableUndirectedGraph.
void Kitware.VTK.vtkGraph.Dump | ( | ) |
ETX
|
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.
|
virtual |
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 |
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.
Reimplemented from Kitware.VTK.vtkDataObject.
Reimplemented in Kitware.VTK.vtkTree, Kitware.VTK.vtkDirectedAcyclicGraph, Kitware.VTK.vtkUndirectedGraph, and Kitware.VTK.vtkDirectedGraph.
|
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.
Reimplemented from Kitware.VTK.vtkDataObject.
Reimplemented in Kitware.VTK.vtkTree, Kitware.VTK.vtkUndirectedGraph, Kitware.VTK.vtkDirectedAcyclicGraph, and Kitware.VTK.vtkDirectedGraph.
|
virtual |
Return what type of dataset this is.
Reimplemented from Kitware.VTK.vtkDataObject.
Reimplemented in Kitware.VTK.vtkTree, Kitware.VTK.vtkUndirectedGraph, Kitware.VTK.vtkDirectedAcyclicGraph, and Kitware.VTK.vtkDirectedGraph.
|
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
|
virtual |
Get the vertex or edge data.
int Kitware.VTK.vtkGraph.GetEdgeId | ( | int | a, |
int | b | ||
) |
ETX
double [] Kitware.VTK.vtkGraph.GetEdgePoint | ( | int | e, |
int | i | ||
) |
ETX
|
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
|
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 |
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 |
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.
|
virtual |
The modified time of the graph.
Reimplemented from Kitware.VTK.vtkDataObject.
int Kitware.VTK.vtkGraph.GetNumberOfEdgePoints | ( | int | e | ) |
ETX
|
virtual |
The number of edges in the graph. In a distributed graph, this returns the number of edges stored locally.
|
virtual |
ETX
Reimplemented from Kitware.VTK.vtkDataObject.
|
virtual |
The number of vertices in the graph. In a distributed graph, returns the number of local vertices in the graph.
|
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 |
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 |
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 | ( | int | 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 | ( | int | 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.
int Kitware.VTK.vtkGraph.GetSourceVertex | ( | int | e | ) |
ETX
int Kitware.VTK.vtkGraph.GetTargetVertex | ( | int | e | ) |
ETX
|
virtual |
Get the vertex or edge data.
|
virtual |
Initializes the vertex list iterator to iterate over all vertices in the graph. In a distributed graph, the iterator traverses all local vertices.
|
virtual |
Initialize to an empty graph.
Reimplemented from Kitware.VTK.vtkDataObject.
|
virtual |
Undocumented Block
Reimplemented from Kitware.VTK.vtkDataObject.
Reimplemented in Kitware.VTK.vtkReebGraph, Kitware.VTK.vtkTree, Kitware.VTK.vtkMutableDirectedGraph, Kitware.VTK.vtkUndirectedGraph, Kitware.VTK.vtkDirectedAcyclicGraph, Kitware.VTK.vtkMutableUndirectedGraph, and Kitware.VTK.vtkDirectedGraph.
bool Kitware.VTK.vtkGraph.IsSameStructure | ( | vtkGraph | other | ) |
ETX
|
static |
Undocumented Block
Reimplemented from Kitware.VTK.vtkDataObject.
Reimplemented in Kitware.VTK.vtkReebGraph, Kitware.VTK.vtkTree, Kitware.VTK.vtkUndirectedGraph, Kitware.VTK.vtkMutableDirectedGraph, Kitware.VTK.vtkDirectedGraph, Kitware.VTK.vtkDirectedAcyclicGraph, and Kitware.VTK.vtkMutableUndirectedGraph.
new vtkGraph Kitware.VTK.vtkGraph.NewInstance | ( | ) |
Undocumented Block
Reimplemented from Kitware.VTK.vtkDataObject.
Reimplemented in Kitware.VTK.vtkReebGraph, Kitware.VTK.vtkMutableDirectedGraph, Kitware.VTK.vtkTree, Kitware.VTK.vtkMutableUndirectedGraph, Kitware.VTK.vtkUndirectedGraph, Kitware.VTK.vtkDirectedGraph, and Kitware.VTK.vtkDirectedAcyclicGraph.
void Kitware.VTK.vtkGraph.ReorderOutVertices | ( | int | v, |
vtkIdTypeArray | vertices | ||
) |
ETX
|
static |
Undocumented Block
Reimplemented from Kitware.VTK.vtkDataObject.
Reimplemented in Kitware.VTK.vtkReebGraph, Kitware.VTK.vtkMutableDirectedGraph, Kitware.VTK.vtkMutableUndirectedGraph, Kitware.VTK.vtkTree, Kitware.VTK.vtkUndirectedGraph, Kitware.VTK.vtkDirectedGraph, and Kitware.VTK.vtkDirectedAcyclicGraph.
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 | ( | int | e, |
int | i, | ||
IntPtr | x | ||
) |
ETX
void Kitware.VTK.vtkGraph.SetEdgePoint | ( | int | e, |
int | i, | ||
double | x, | ||
double | y, | ||
double | z | ||
) |
ETX
void Kitware.VTK.vtkGraph.SetEdgePoints | ( | int | e, |
int | 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 |
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.
|
virtual |
ETX
Reimplemented from Kitware.VTK.vtkDataObject.
void Kitware.VTK.vtkGraph.ShallowCopyEdgePoints | ( | vtkGraph | g | ) |
ETX
|
virtual |
ETX
bool Kitware.VTK.vtkGraph.ToDirectedGraph | ( | vtkDirectedGraph | g | ) |
ETX
bool Kitware.VTK.vtkGraph.ToUndirectedGraph | ( | vtkUndirectedGraph | g | ) |
ETX
|
static |
Automatically generated type registration mechanics.
new const string Kitware.VTK.vtkGraph.MRFullTypeName = "Kitware.VTK.vtkGraph" |
Automatically generated type registration mechanics.