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

vtkMultiProcessController - Multiprocessing communication superclass More...

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

Public Types

enum  Consts { ANY_SOURCE = -1, INVALID_SOURCE = -2 }
 Accessor to some default tags. More...
enum  Errors { RMI_ARG_ERROR = 2, RMI_NO_ERROR = 0, RMI_TAG_ERROR = 1 }
 Accessor to some default tags. More...
enum  Tags { BREAK_RMI_TAG = 3, RMI_ARG_TAG = 2, RMI_TAG = 1, XML_WRITER_DATA_INFO = 4 }
 Accessor to some default tags. More...

Public Member Functions

 vtkMultiProcessController (IntPtr rawCppThis, bool callDisposalMethod, bool strong)
 Automatically generated constructor - called from generated code. DO NOT call directly.
int AllGather (IntPtr sendBuffer, IntPtr recvBuffer, long length)
 Same as gather except that the result ends up on all processes.
int AllGather (string sendBuffer, string recvBuffer, long length)
 Same as gather except that the result ends up on all processes.
int AllGather (vtkDataArray sendBuffer, vtkDataArray recvBuffer)
 Same as gather except that the result ends up on all processes.
int AllGatherV (IntPtr sendBuffer, IntPtr recvBuffer, long sendLength, IntPtr recvLengths, IntPtr offsets)
 Same as GatherV except that the result is placed in all processes.
int AllGatherV (string sendBuffer, string recvBuffer, long sendLength, IntPtr recvLengths, IntPtr offsets)
 Same as GatherV except that the result is placed in all processes.
int AllGatherV (vtkDataArray sendBuffer, vtkDataArray recvBuffer, IntPtr recvLengths, IntPtr offsets)
 Same as GatherV except that the result is placed in all processes.
int AllGatherV (vtkDataArray sendBuffer, vtkDataArray recvBuffer)
 This special form of AllGatherV will automatically determine recvLengths and offsets to tightly pack the data in the recvBuffer in process order. It will also resize recvBuffer in order to accommodate the incoming data (unlike the other GatherV variants).
int AllReduce (IntPtr sendBuffer, IntPtr recvBuffer, long length, int operation)
 Same as Reduce except that the result is placed in all of the processes.
int AllReduce (string sendBuffer, string recvBuffer, long length, int operation)
 Same as Reduce except that the result is placed in all of the processes.
int AllReduce (vtkDataArray sendBuffer, vtkDataArray recvBuffer, int operation)
 Same as Reduce except that the result is placed in all of the processes.
void Barrier ()
 Communicator which is a copy of the current user level communicator except the context; i.e. even if the tags are the same, the RMI messages will not interfere with user level messages. Note that since the communicators can be created differently depending on the type of controller, the subclasses are responsible of deleting them.
int Broadcast (IntPtr data, long length, int srcProcessId)
 Broadcast sends the array in the process with id srcProcessId to all of the other processes. All processes must call these method with the same arguments in order for it to complete.
int Broadcast (string data, long length, int srcProcessId)
 Broadcast sends the array in the process with id srcProcessId to all of the other processes. All processes must call these method with the same arguments in order for it to complete.
int Broadcast (vtkDataObject data, int srcProcessId)
 Broadcast sends the array in the process with id srcProcessId to all of the other processes. All processes must call these method with the same arguments in order for it to complete.
int Broadcast (vtkDataArray data, int srcProcessId)
 Broadcast sends the array in the process with id srcProcessId to all of the other processes. All processes must call these method with the same arguments in order for it to complete.
virtual void CreateOutputWindow ()
 This method can be used to tell the controller to create a special output window in which all messages are preceded by the process id.
virtual vtkMultiProcessController CreateSubController (vtkProcessGroup group)
 Creates a new controller with the processes specified by the given group. The new controller will already be initialized for you. You are responsible for deleting the controller once you are done. It is invalid to pass this method a group with a different communicator than is used by this controller. This operation is collective accross all processes defined in the group. It is undefined what will happen if the group is not the same on all processes. This method must be called by all processes in the controller regardless of whether they are in the group. NULL is returned on all process not in the group.
virtual void FinalizeWrapper ()
 This method is for cleaning up. If a subclass needs to clean up process communication (i.e. MPI) it would over ride this method.
virtual void FinalizeWrapper (int finalizedExternally)
 This method is for cleaning up. If a subclass needs to clean up process communication (i.e. MPI) it would over ride this method. Provided for finalization outside vtk.
int Gather (IntPtr sendBuffer, IntPtr recvBuffer, long length, int destProcessId)
 Gather collects arrays in the process with id destProcessId. Each process (including the destination) sends the contents of its send buffer to the destination process. The destination process receives the messages and stores them in rank order. The length argument (which must be the same on all processes) is the length of the sendBuffers. The recvBuffer (on te destination process) must be of length length*numProcesses. Gather is the inverse operation of Scatter.
int Gather (string sendBuffer, string recvBuffer, long length, int destProcessId)
 Gather collects arrays in the process with id destProcessId. Each process (including the destination) sends the contents of its send buffer to the destination process. The destination process receives the messages and stores them in rank order. The length argument (which must be the same on all processes) is the length of the sendBuffers. The recvBuffer (on te destination process) must be of length length*numProcesses. Gather is the inverse operation of Scatter.
int Gather (vtkDataArray sendBuffer, vtkDataArray recvBuffer, int destProcessId)
 Gather collects arrays in the process with id destProcessId. Each process (including the destination) sends the contents of its send buffer to the destination process. The destination process receives the messages and stores them in rank order. The length argument (which must be the same on all processes) is the length of the sendBuffers. The recvBuffer (on te destination process) must be of length length*numProcesses. Gather is the inverse operation of Scatter.
int GatherV (IntPtr sendBuffer, IntPtr recvBuffer, long sendLength, IntPtr recvLengths, IntPtr offsets, int destProcessId)
 GatherV is the vector variant of Gather. It extends the functionality of Gather by allowing a varying count of data from each process. GatherV collects arrays in the process with id destProcessId. Each process (including the destination) sends the contents of its send buffer to the destination process. The destination process receives the messages and stores them in rank order. The sendLength argument defines how much the local process sends to destProcessId and recvLengths is an array containing the amount destProcessId receives from each process, in rank order.
int GatherV (string sendBuffer, string recvBuffer, long sendLength, IntPtr recvLengths, IntPtr offsets, int destProcessId)
 GatherV is the vector variant of Gather. It extends the functionality of Gather by allowing a varying count of data from each process. GatherV collects arrays in the process with id destProcessId. Each process (including the destination) sends the contents of its send buffer to the destination process. The destination process receives the messages and stores them in rank order. The sendLength argument defines how much the local process sends to destProcessId and recvLengths is an array containing the amount destProcessId receives from each process, in rank order.
int GatherV (vtkDataArray sendBuffer, vtkDataArray recvBuffer, IntPtr recvLengths, IntPtr offsets, int destProcessId)
 GatherV is the vector variant of Gather. It extends the functionality of Gather by allowing a varying count of data from each process. GatherV collects arrays in the process with id destProcessId. Each process (including the destination) sends the contents of its send buffer to the destination process. The destination process receives the messages and stores them in rank order. The sendLength argument defines how much the local process sends to destProcessId and recvLengths is an array containing the amount destProcessId receives from each process, in rank order.
int GatherV (vtkDataArray sendBuffer, vtkDataArray recvBuffer, int destProcessId)
 This special form of GatherV will automatically determine recvLengths and offsets to tightly pack the data in the recvBuffer in process order. It will also resize recvBuffer in order to accommodate the incoming data (unlike the other GatherV variants).
virtual int GetBreakFlag ()
 Setting this flag to 1 will cause the ProcessRMIs loop to return. This also causes vtkUpStreamPorts to return from their WaitForUpdate loops.
virtual vtkCommunicator GetCommunicator ()
 Returns the communicator associated with this controller. A default communicator is created in constructor.
long GetCount ()
 Communicator which is a copy of the current user level communicator except the context; i.e. even if the tags are the same, the RMI messages will not interfere with user level messages. Note that since the communicators can be created differently depending on the type of controller, the subclasses are responsible of deleting them.
int GetLocalProcessId ()
 Tells you which process [0, NumProcess) you are in.
int GetNumberOfProcesses ()
 Set the number of processes you will be using. This defaults to the maximum number available. If you set this to a value higher than the default, you will get an error.
override int IsA (string type)
 Undocumented Block
virtual void MultipleMethodExecute ()
 Execute the MultipleMethods (as define by calling SetMultipleMethod for each of the required this->NumberOfProcesses methods) using this->NumberOfProcesses processes.
new vtkMultiProcessController NewInstance ()
 Undocumented Block
virtual vtkMultiProcessController PartitionController (int localColor, int localKey)
 Partitions this controller based on a coloring. That is, each process passes in a color. All processes with the same color are grouped into the same partition. The processes are ordered by their self-assigned key. Lower keys have lower process ids. Ties are broken by the current process ids. (For example, if all the keys are 0, then the resulting processes will be ordered in the same way.) This method returns a new controller to each process that represents the local partition. This is basically the same operation as MPI_Comm_split.
int ProcessRMIs (int reportErrors, int dont_loop)
 Calling this method gives control to the controller to start processing RMIs. Possible return values are: RMI_NO_ERROR, RMI_TAG_ERROR : rmi tag could not be received, RMI_ARG_ERROR : rmi arg could not be received. If reportErrors is false, no vtkErrorMacro is called. ProcessRMIs() calls ProcessRMIs(int) with reportErrors = 0. If dont_loop is 1, this call just process one RMI message and exits.
int ProcessRMIs ()
 Calling this method gives control to the controller to start processing RMIs. Possible return values are: RMI_NO_ERROR, RMI_TAG_ERROR : rmi tag could not be received, RMI_ARG_ERROR : rmi arg could not be received. If reportErrors is false, no vtkErrorMacro is called. ProcessRMIs() calls ProcessRMIs(int) with reportErrors = 0. If dont_loop is 1, this call just process one RMI message and exits.
int Receive (IntPtr data, long length, int remoteProcessId, int tag)
 Communicator which is a copy of the current user level communicator except the context; i.e. even if the tags are the same, the RMI messages will not interfere with user level messages. Note that since the communicators can be created differently depending on the type of controller, the subclasses are responsible of deleting them.
int Receive (string data, long length, int remoteProcessId, int tag)
 Communicator which is a copy of the current user level communicator except the context; i.e. even if the tags are the same, the RMI messages will not interfere with user level messages. Note that since the communicators can be created differently depending on the type of controller, the subclasses are responsible of deleting them.
int Receive (vtkDataObject data, int remoteProcessId, int tag)
 Communicator which is a copy of the current user level communicator except the context; i.e. even if the tags are the same, the RMI messages will not interfere with user level messages. Note that since the communicators can be created differently depending on the type of controller, the subclasses are responsible of deleting them.
int Receive (vtkDataArray data, int remoteProcessId, int tag)
 Communicator which is a copy of the current user level communicator except the context; i.e. even if the tags are the same, the RMI messages will not interfere with user level messages. Note that since the communicators can be created differently depending on the type of controller, the subclasses are responsible of deleting them.
vtkDataObject ReceiveDataObject (int remoteProcessId, int tag)
 Communicator which is a copy of the current user level communicator except the context; i.e. even if the tags are the same, the RMI messages will not interfere with user level messages. Note that since the communicators can be created differently depending on the type of controller, the subclasses are responsible of deleting them.
int Reduce (IntPtr sendBuffer, IntPtr recvBuffer, long length, int operation, int destProcessId)
 Reduce an array to the given destination process. This version of Reduce takes an identifier defined in the vtkCommunicator::StandardOperations enum to define the operation.
int Reduce (string sendBuffer, string recvBuffer, long length, int operation, int destProcessId)
 Reduce an array to the given destination process. This version of Reduce takes an identifier defined in the vtkCommunicator::StandardOperations enum to define the operation.
int Reduce (vtkDataArray sendBuffer, vtkDataArray recvBuffer, int operation, int destProcessId)
 Reduce an array to the given destination process. This version of Reduce takes an identifier defined in the vtkCommunicator::StandardOperations enum to define the operation.
void RemoveAllRMICallbacks (int tag)
 ---------------— RMIs -----------------—
int RemoveFirstRMI (int tag)
 ---------------— RMIs -----------------—
int RemoveRMI (uint id)
 ---------------— RMIs -----------------—
bool RemoveRMICallback (uint id)
 ---------------— RMIs -----------------—
int Scatter (IntPtr sendBuffer, IntPtr recvBuffer, long length, int srcProcessId)
 Scatter takes an array in the process with id srcProcessId and distributes it. Each process (including the source) receives a portion of the send buffer. Process 0 receives the first length values, process 1 receives the second length values, and so on. Scatter is the inverse operation of Gather.
int Scatter (string sendBuffer, string recvBuffer, long length, int srcProcessId)
 Scatter takes an array in the process with id srcProcessId and distributes it. Each process (including the source) receives a portion of the send buffer. Process 0 receives the first length values, process 1 receives the second length values, and so on. Scatter is the inverse operation of Gather.
int Scatter (vtkDataArray sendBuffer, vtkDataArray recvBuffer, int srcProcessId)
 Scatter takes an array in the process with id srcProcessId and distributes it. Each process (including the source) receives a portion of the send buffer. Process 0 receives the first length values, process 1 receives the second length values, and so on. Scatter is the inverse operation of Gather.
int ScatterV (IntPtr sendBuffer, IntPtr recvBuffer, IntPtr sendLengths, IntPtr offsets, long recvLength, int srcProcessId)
 ScatterV is the vector variant of Scatter. It extends the functionality of Scatter by allowing a varying count of data to each process. ScatterV takes an array in the process with id srcProcessId and distributes it. Each process (including the source) receives a portion of the send buffer defined by the sendLengths and offsets arrays.
int ScatterV (string sendBuffer, string recvBuffer, IntPtr sendLengths, IntPtr offsets, long recvLength, int srcProcessId)
 ScatterV is the vector variant of Scatter. It extends the functionality of Scatter by allowing a varying count of data to each process. ScatterV takes an array in the process with id srcProcessId and distributes it. Each process (including the source) receives a portion of the send buffer defined by the sendLengths and offsets arrays.
int Send (IntPtr data, long length, int remoteProcessId, int tag)
 Communicator which is a copy of the current user level communicator except the context; i.e. even if the tags are the same, the RMI messages will not interfere with user level messages. Note that since the communicators can be created differently depending on the type of controller, the subclasses are responsible of deleting them.
int Send (string data, long length, int remoteProcessId, int tag)
 Communicator which is a copy of the current user level communicator except the context; i.e. even if the tags are the same, the RMI messages will not interfere with user level messages. Note that since the communicators can be created differently depending on the type of controller, the subclasses are responsible of deleting them.
int Send (vtkDataObject data, int remoteProcessId, int tag)
 Communicator which is a copy of the current user level communicator except the context; i.e. even if the tags are the same, the RMI messages will not interfere with user level messages. Note that since the communicators can be created differently depending on the type of controller, the subclasses are responsible of deleting them.
int Send (vtkDataArray data, int remoteProcessId, int tag)
 Communicator which is a copy of the current user level communicator except the context; i.e. even if the tags are the same, the RMI messages will not interfere with user level messages. Note that since the communicators can be created differently depending on the type of controller, the subclasses are responsible of deleting them.
virtual void SetBreakFlag (int _arg)
 Setting this flag to 1 will cause the ProcessRMIs loop to return. This also causes vtkUpStreamPorts to return from their WaitForUpdate loops.
void SetNumberOfProcesses (int num)
 Set the number of processes you will be using. This defaults to the maximum number available. If you set this to a value higher than the default, you will get an error.
void SetSingleProcessObject (vtkProcess p)
 Set the number of processes you will be using. This defaults to the maximum number available. If you set this to a value higher than the default, you will get an error.
virtual void SingleMethodExecute ()
 Execute the SingleMethod (as define by SetSingleMethod) using this->NumberOfProcesses processes. This will only return when all the processes finish executing their methods.
void TriggerBreakRMIs ()
 A conveniance method. Called on process 0 to break "ProcessRMIs" loop on all other processes.
void TriggerRMI (int remoteProcessId, IntPtr arg, int argLength, int tag)
 A method to trigger a method invocation in another process.
void TriggerRMI (int remoteProcessId, string arg, int tag)
 Convenience method when the arg is a string.
void TriggerRMI (int remoteProcessId, int tag)
 Convenience method when there is no argument.
void TriggerRMIOnAllChildren (IntPtr arg, int argLength, int tag)
 This is a convenicence method to trigger an RMI call on all the "children" of the current node. The children of the current node can be determined by drawing a binary tree starting at node 0 and then assigned nodes ids incrementally in a breadth-first fashion from left to right. This is designed to be used when trigger an RMI call on all satellites from the root node.
void TriggerRMIOnAllChildren (string arg, int tag)
 This is a convenicence method to trigger an RMI call on all the "children" of the current node. The children of the current node can be determined by drawing a binary tree starting at node 0 and then assigned nodes ids incrementally in a breadth-first fashion from left to right. This is designed to be used when trigger an RMI call on all satellites from the root node.
void TriggerRMIOnAllChildren (int tag)
 This is a convenicence method to trigger an RMI call on all the "children" of the current node. The children of the current node can be determined by drawing a binary tree starting at node 0 and then assigned nodes ids incrementally in a breadth-first fashion from left to right. This is designed to be used when trigger an RMI call on all satellites from the root node.
- Public Member Functions inherited from Kitware.VTK.vtkObject
 vtkObject (IntPtr rawCppThis, bool callDisposalMethod, bool strong)
 Automatically generated constructor - called from generated code. DO NOT call directly.
 vtkObject ()
 Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
uint AddObserver (uint arg0, vtkCommand arg1, float priority)
 This is a global flag that controls whether any debug, warning or error messages are displayed.
uint AddObserver (string arg0, vtkCommand arg1, float priority)
 This is a global flag that controls whether any debug, warning or error messages are displayed.
virtual void DebugOff ()
 Turn debugging output off.
virtual void DebugOn ()
 Turn debugging output on.
vtkCommand GetCommand (uint tag)
 This is a global flag that controls whether any debug, warning or error messages are displayed.
byte GetDebug ()
 Get the value of the debug flag.
virtual uint GetMTime ()
 Return this object's modified time.
int HasObserver (uint arg0, vtkCommand arg1)
 This is a global flag that controls whether any debug, warning or error messages are displayed.
int HasObserver (string arg0, vtkCommand arg1)
 This is a global flag that controls whether any debug, warning or error messages are displayed.
int HasObserver (uint arg0)
 This is a global flag that controls whether any debug, warning or error messages are displayed.
int HasObserver (string arg0)
 This is a global flag that controls whether any debug, warning or error messages are displayed.
int InvokeEvent (uint arg0, IntPtr callData)
 This is a global flag that controls whether any debug, warning or error messages are displayed.
int InvokeEvent (string arg0, IntPtr callData)
 This is a global flag that controls whether any debug, warning or error messages are displayed.
int InvokeEvent (uint arg0)
 This is a global flag that controls whether any debug, warning or error messages are displayed.
int InvokeEvent (string arg0)
 This is a global flag that controls whether any debug, warning or error messages are displayed.
virtual void Modified ()
 Update the modification time for this object. Many filters rely on the modification time to determine if they need to recompute their data. The modification time is a unique monotonically increasing unsigned long integer.
void RemoveAllObservers ()
 This is a global flag that controls whether any debug, warning or error messages are displayed.
void RemoveObserver (vtkCommand arg0)
 This is a global flag that controls whether any debug, warning or error messages are displayed.
void RemoveObserver (uint tag)
 This is a global flag that controls whether any debug, warning or error messages are displayed.
void RemoveObservers (uint arg0, vtkCommand arg1)
 This is a global flag that controls whether any debug, warning or error messages are displayed.
void RemoveObservers (string arg0, vtkCommand arg1)
 This is a global flag that controls whether any debug, warning or error messages are displayed.
void RemoveObservers (uint arg0)
 This is a global flag that controls whether any debug, warning or error messages are displayed.
void RemoveObservers (string arg0)
 This is a global flag that controls whether any debug, warning or error messages are displayed.
void SetDebug (byte debugFlag)
 Set the value of the debug flag. A non-zero value turns debugging on.
override string ToString ()
 Returns the result of calling vtkObject::Print as a C# string.
delegate void vtkObjectEventHandler (vtkObject sender, vtkObjectEventArgs e)
 Generic signature for all vtkObject events.
void RemoveAllHandlersForAllEvents ()
 Call RemoveAllHandlers on each non-null vtkObjectEventRelay. TODO: This method needs to get called by the generated Dispose. Make that happen...
- Public Member Functions inherited from Kitware.VTK.vtkObjectBase
 vtkObjectBase (IntPtr rawCppThis, bool callDisposalMethod, bool strong)
 Automatically generated constructor - called from generated code. DO NOT call directly.
 vtkObjectBase ()
 Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
virtual void Register (vtkObjectBase o)
 Increase the reference count (mark as used by another object).
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 int GetBreakRMITag ()
 Accessor to some default tags.
static vtkMultiProcessController GetGlobalController ()
 This convenience method returns the controller associated with the local process. It returns NULL until the processes are spawned. It is better if you hang on to the controller passed as an argument to the SingleMethod or MultipleMethod functions.
static int GetRMIArgTag ()
 Accessor to some default tags.
static int GetRMITag ()
 Accessor to some default tags.
static new int IsTypeOf (string type)
 Undocumented Block
static new
vtkMultiProcessController 
SafeDownCast (vtkObjectBase o)
 Undocumented Block
static void SetGlobalController (vtkMultiProcessController controller)
 This method can be used to synchronize processes.
- 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.
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.vtkMultiProcessController"
 Automatically generated type registration mechanics.
- Public Attributes inherited from Kitware.VTK.vtkObject
new const string MRFullTypeName = "Kitware.VTK.vtkObject"
 Automatically generated type registration mechanics.
- Public Attributes inherited from Kitware.VTK.vtkObjectBase
new const string MRFullTypeName = "Kitware.VTK.vtkObjectBase"
 Automatically generated type registration mechanics.
- Public Attributes inherited from Kitware.VTK.WrappedObject
const string vtkChartsEL_dll = "libKitware.VTK.vtkCharts.Unmanaged.so"
 Export layer functions for 'vtkCharts' are exported from the DLL named by the value of this variable.
const string vtkCommonEL_dll = "libKitware.VTK.vtkCommon.Unmanaged.so"
 Export layer functions for 'vtkCommon' are exported from the DLL named by the value of this variable.
const string vtkFilteringEL_dll = "libKitware.VTK.vtkFiltering.Unmanaged.so"
 Export layer functions for 'vtkFiltering' are exported from the DLL named by the value of this variable.
const string vtkGenericFilteringEL_dll = "libKitware.VTK.vtkGenericFiltering.Unmanaged.so"
 Export layer functions for 'vtkGenericFiltering' are exported from the DLL named by the value of this variable.
const string vtkGeovisEL_dll = "libKitware.VTK.vtkGeovis.Unmanaged.so"
 Export layer functions for 'vtkGeovis' are exported from the DLL named by the value of this variable.
const string vtkGraphicsEL_dll = "libKitware.VTK.vtkGraphics.Unmanaged.so"
 Export layer functions for 'vtkGraphics' are exported from the DLL named by the value of this variable.
const string vtkHybridEL_dll = "libKitware.VTK.vtkHybrid.Unmanaged.so"
 Export layer functions for 'vtkHybrid' are exported from the DLL named by the value of this variable.
const string vtkIOEL_dll = "libKitware.VTK.vtkIO.Unmanaged.so"
 Export layer functions for 'vtkIO' are exported from the DLL named by the value of this variable.
const string vtkImagingEL_dll = "libKitware.VTK.vtkImaging.Unmanaged.so"
 Export layer functions for 'vtkImaging' are exported from the DLL named by the value of this variable.
const string vtkInfovisEL_dll = "libKitware.VTK.vtkInfovis.Unmanaged.so"
 Export layer functions for 'vtkInfovis' are exported from the DLL named by the value of this variable.
const string vtkParallelEL_dll = "libKitware.VTK.vtkParallel.Unmanaged.so"
 Export layer functions for 'vtkParallel' are exported from the DLL named by the value of this variable.
const string vtkRenderingEL_dll = "libKitware.VTK.vtkRendering.Unmanaged.so"
 Export layer functions for 'vtkRendering' are exported from the DLL named by the value of this variable.
const string vtkViewsEL_dll = "libKitware.VTK.vtkViews.Unmanaged.so"
 Export layer functions for 'vtkViews' are exported from the DLL named by the value of this variable.
const string vtkVolumeRenderingEL_dll = "libKitware.VTK.vtkVolumeRendering.Unmanaged.so"
 Export layer functions for 'vtkVolumeRendering' are exported from the DLL named by the value of this variable.
const string vtkWidgetsEL_dll = "libKitware.VTK.vtkWidgets.Unmanaged.so"
 Export layer functions for 'vtkWidgets' are exported from the DLL named by the value of this variable.

Static Public Attributes

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

Protected Member Functions

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

Static Private Member Functions

static vtkMultiProcessController ()
 Automatically generated type registration mechanics.

Additional Inherited Members

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

Detailed Description

vtkMultiProcessController - Multiprocessing communication superclass

Description vtkMultiProcessController is used to control multiple processes in a distributed computing environment. It has methods for executing single/multiple method(s) on multiple processors, triggering registered callbacks (Remote Methods) (AddRMI(), TriggerRMI()) and communication. Please note that the communication is done using the communicator which is accessible to the user. Therefore it is possible to get the communicator with GetCommunicator() and use it to send and receive data. This is the encouraged communication method. The internal (RMI) communications are done using a second internal communicator (called RMICommunicator).

vtkMPIController vtkCommunicator vtkMPICommunicator

Member Enumeration Documentation

Accessor to some default tags.

Enumerator:
ANY_SOURCE 

enum member

INVALID_SOURCE 

enum member

Accessor to some default tags.

Enumerator:
RMI_ARG_ERROR 

enum member

RMI_NO_ERROR 

enum member

RMI_TAG_ERROR 

enum member

Accessor to some default tags.

Enumerator:
BREAK_RMI_TAG 

enum member

RMI_ARG_TAG 

enum member

RMI_TAG 

enum member

XML_WRITER_DATA_INFO 

enum member

Constructor & Destructor Documentation

static Kitware.VTK.vtkMultiProcessController.vtkMultiProcessController ( )
staticprivate

Automatically generated type registration mechanics.

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

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

Member Function Documentation

int Kitware.VTK.vtkMultiProcessController.AllGather ( IntPtr  sendBuffer,
IntPtr  recvBuffer,
long  length 
)

Same as gather except that the result ends up on all processes.

int Kitware.VTK.vtkMultiProcessController.AllGather ( string  sendBuffer,
string  recvBuffer,
long  length 
)

Same as gather except that the result ends up on all processes.

int Kitware.VTK.vtkMultiProcessController.AllGather ( vtkDataArray  sendBuffer,
vtkDataArray  recvBuffer 
)

Same as gather except that the result ends up on all processes.

int Kitware.VTK.vtkMultiProcessController.AllGatherV ( IntPtr  sendBuffer,
IntPtr  recvBuffer,
long  sendLength,
IntPtr  recvLengths,
IntPtr  offsets 
)

Same as GatherV except that the result is placed in all processes.

int Kitware.VTK.vtkMultiProcessController.AllGatherV ( string  sendBuffer,
string  recvBuffer,
long  sendLength,
IntPtr  recvLengths,
IntPtr  offsets 
)

Same as GatherV except that the result is placed in all processes.

int Kitware.VTK.vtkMultiProcessController.AllGatherV ( vtkDataArray  sendBuffer,
vtkDataArray  recvBuffer,
IntPtr  recvLengths,
IntPtr  offsets 
)

Same as GatherV except that the result is placed in all processes.

int Kitware.VTK.vtkMultiProcessController.AllGatherV ( vtkDataArray  sendBuffer,
vtkDataArray  recvBuffer 
)

This special form of AllGatherV will automatically determine recvLengths and offsets to tightly pack the data in the recvBuffer in process order. It will also resize recvBuffer in order to accommodate the incoming data (unlike the other GatherV variants).

int Kitware.VTK.vtkMultiProcessController.AllReduce ( IntPtr  sendBuffer,
IntPtr  recvBuffer,
long  length,
int  operation 
)

Same as Reduce except that the result is placed in all of the processes.

int Kitware.VTK.vtkMultiProcessController.AllReduce ( string  sendBuffer,
string  recvBuffer,
long  length,
int  operation 
)

Same as Reduce except that the result is placed in all of the processes.

int Kitware.VTK.vtkMultiProcessController.AllReduce ( vtkDataArray  sendBuffer,
vtkDataArray  recvBuffer,
int  operation 
)

Same as Reduce except that the result is placed in all of the processes.

void Kitware.VTK.vtkMultiProcessController.Barrier ( )

Communicator which is a copy of the current user level communicator except the context; i.e. even if the tags are the same, the RMI messages will not interfere with user level messages. Note that since the communicators can be created differently depending on the type of controller, the subclasses are responsible of deleting them.

int Kitware.VTK.vtkMultiProcessController.Broadcast ( IntPtr  data,
long  length,
int  srcProcessId 
)

Broadcast sends the array in the process with id srcProcessId to all of the other processes. All processes must call these method with the same arguments in order for it to complete.

int Kitware.VTK.vtkMultiProcessController.Broadcast ( string  data,
long  length,
int  srcProcessId 
)

Broadcast sends the array in the process with id srcProcessId to all of the other processes. All processes must call these method with the same arguments in order for it to complete.

int Kitware.VTK.vtkMultiProcessController.Broadcast ( vtkDataObject  data,
int  srcProcessId 
)

Broadcast sends the array in the process with id srcProcessId to all of the other processes. All processes must call these method with the same arguments in order for it to complete.

int Kitware.VTK.vtkMultiProcessController.Broadcast ( vtkDataArray  data,
int  srcProcessId 
)

Broadcast sends the array in the process with id srcProcessId to all of the other processes. All processes must call these method with the same arguments in order for it to complete.

virtual void Kitware.VTK.vtkMultiProcessController.CreateOutputWindow ( )
virtual

This method can be used to tell the controller to create a special output window in which all messages are preceded by the process id.

Reimplemented in Kitware.VTK.vtkSocketController, and Kitware.VTK.vtkDummyController.

virtual vtkMultiProcessController Kitware.VTK.vtkMultiProcessController.CreateSubController ( vtkProcessGroup  group)
virtual

Creates a new controller with the processes specified by the given group. The new controller will already be initialized for you. You are responsible for deleting the controller once you are done. It is invalid to pass this method a group with a different communicator than is used by this controller. This operation is collective accross all processes defined in the group. It is undefined what will happen if the group is not the same on all processes. This method must be called by all processes in the controller regardless of whether they are in the group. NULL is returned on all process not in the group.

Here is the call graph for this function:

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

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

Reimplemented from Kitware.VTK.vtkObject.

Reimplemented in Kitware.VTK.vtkDummyController, and Kitware.VTK.vtkSocketController.

virtual void Kitware.VTK.vtkMultiProcessController.FinalizeWrapper ( )
virtual

This method is for cleaning up. If a subclass needs to clean up process communication (i.e. MPI) it would over ride this method.

Reimplemented in Kitware.VTK.vtkSocketController, and Kitware.VTK.vtkDummyController.

virtual void Kitware.VTK.vtkMultiProcessController.FinalizeWrapper ( int  finalizedExternally)
virtual

This method is for cleaning up. If a subclass needs to clean up process communication (i.e. MPI) it would over ride this method. Provided for finalization outside vtk.

Reimplemented in Kitware.VTK.vtkSocketController, and Kitware.VTK.vtkDummyController.

int Kitware.VTK.vtkMultiProcessController.Gather ( IntPtr  sendBuffer,
IntPtr  recvBuffer,
long  length,
int  destProcessId 
)

Gather collects arrays in the process with id destProcessId. Each process (including the destination) sends the contents of its send buffer to the destination process. The destination process receives the messages and stores them in rank order. The length argument (which must be the same on all processes) is the length of the sendBuffers. The recvBuffer (on te destination process) must be of length length*numProcesses. Gather is the inverse operation of Scatter.

int Kitware.VTK.vtkMultiProcessController.Gather ( string  sendBuffer,
string  recvBuffer,
long  length,
int  destProcessId 
)

Gather collects arrays in the process with id destProcessId. Each process (including the destination) sends the contents of its send buffer to the destination process. The destination process receives the messages and stores them in rank order. The length argument (which must be the same on all processes) is the length of the sendBuffers. The recvBuffer (on te destination process) must be of length length*numProcesses. Gather is the inverse operation of Scatter.

int Kitware.VTK.vtkMultiProcessController.Gather ( vtkDataArray  sendBuffer,
vtkDataArray  recvBuffer,
int  destProcessId 
)

Gather collects arrays in the process with id destProcessId. Each process (including the destination) sends the contents of its send buffer to the destination process. The destination process receives the messages and stores them in rank order. The length argument (which must be the same on all processes) is the length of the sendBuffers. The recvBuffer (on te destination process) must be of length length*numProcesses. Gather is the inverse operation of Scatter.

int Kitware.VTK.vtkMultiProcessController.GatherV ( IntPtr  sendBuffer,
IntPtr  recvBuffer,
long  sendLength,
IntPtr  recvLengths,
IntPtr  offsets,
int  destProcessId 
)

GatherV is the vector variant of Gather. It extends the functionality of Gather by allowing a varying count of data from each process. GatherV collects arrays in the process with id destProcessId. Each process (including the destination) sends the contents of its send buffer to the destination process. The destination process receives the messages and stores them in rank order. The sendLength argument defines how much the local process sends to destProcessId and recvLengths is an array containing the amount destProcessId receives from each process, in rank order.

int Kitware.VTK.vtkMultiProcessController.GatherV ( string  sendBuffer,
string  recvBuffer,
long  sendLength,
IntPtr  recvLengths,
IntPtr  offsets,
int  destProcessId 
)

GatherV is the vector variant of Gather. It extends the functionality of Gather by allowing a varying count of data from each process. GatherV collects arrays in the process with id destProcessId. Each process (including the destination) sends the contents of its send buffer to the destination process. The destination process receives the messages and stores them in rank order. The sendLength argument defines how much the local process sends to destProcessId and recvLengths is an array containing the amount destProcessId receives from each process, in rank order.

int Kitware.VTK.vtkMultiProcessController.GatherV ( vtkDataArray  sendBuffer,
vtkDataArray  recvBuffer,
IntPtr  recvLengths,
IntPtr  offsets,
int  destProcessId 
)

GatherV is the vector variant of Gather. It extends the functionality of Gather by allowing a varying count of data from each process. GatherV collects arrays in the process with id destProcessId. Each process (including the destination) sends the contents of its send buffer to the destination process. The destination process receives the messages and stores them in rank order. The sendLength argument defines how much the local process sends to destProcessId and recvLengths is an array containing the amount destProcessId receives from each process, in rank order.

int Kitware.VTK.vtkMultiProcessController.GatherV ( vtkDataArray  sendBuffer,
vtkDataArray  recvBuffer,
int  destProcessId 
)

This special form of GatherV will automatically determine recvLengths and offsets to tightly pack the data in the recvBuffer in process order. It will also resize recvBuffer in order to accommodate the incoming data (unlike the other GatherV variants).

virtual int Kitware.VTK.vtkMultiProcessController.GetBreakFlag ( )
virtual

Setting this flag to 1 will cause the ProcessRMIs loop to return. This also causes vtkUpStreamPorts to return from their WaitForUpdate loops.

static int Kitware.VTK.vtkMultiProcessController.GetBreakRMITag ( )
static

Accessor to some default tags.

virtual vtkCommunicator Kitware.VTK.vtkMultiProcessController.GetCommunicator ( )
virtual

Returns the communicator associated with this controller. A default communicator is created in constructor.

Reimplemented in Kitware.VTK.vtkDummyController.

Here is the call graph for this function:

long Kitware.VTK.vtkMultiProcessController.GetCount ( )

Communicator which is a copy of the current user level communicator except the context; i.e. even if the tags are the same, the RMI messages will not interfere with user level messages. Note that since the communicators can be created differently depending on the type of controller, the subclasses are responsible of deleting them.

static vtkMultiProcessController Kitware.VTK.vtkMultiProcessController.GetGlobalController ( )
static

This convenience method returns the controller associated with the local process. It returns NULL until the processes are spawned. It is better if you hang on to the controller passed as an argument to the SingleMethod or MultipleMethod functions.

Here is the call graph for this function:

int Kitware.VTK.vtkMultiProcessController.GetLocalProcessId ( )

Tells you which process [0, NumProcess) you are in.

Reimplemented in Kitware.VTK.vtkDummyController.

int Kitware.VTK.vtkMultiProcessController.GetNumberOfProcesses ( )

Set the number of processes you will be using. This defaults to the maximum number available. If you set this to a value higher than the default, you will get an error.

static int Kitware.VTK.vtkMultiProcessController.GetRMIArgTag ( )
static

Accessor to some default tags.

static int Kitware.VTK.vtkMultiProcessController.GetRMITag ( )
static

Accessor to some default tags.

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

Undocumented Block

Reimplemented from Kitware.VTK.vtkObject.

Reimplemented in Kitware.VTK.vtkSocketController, and Kitware.VTK.vtkDummyController.

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

Undocumented Block

Reimplemented from Kitware.VTK.vtkObject.

Reimplemented in Kitware.VTK.vtkSocketController, and Kitware.VTK.vtkDummyController.

virtual void Kitware.VTK.vtkMultiProcessController.MultipleMethodExecute ( )
virtual

Execute the MultipleMethods (as define by calling SetMultipleMethod for each of the required this->NumberOfProcesses methods) using this->NumberOfProcesses processes.

Reimplemented in Kitware.VTK.vtkSocketController, and Kitware.VTK.vtkDummyController.

new vtkMultiProcessController Kitware.VTK.vtkMultiProcessController.NewInstance ( )

Undocumented Block

Reimplemented from Kitware.VTK.vtkObject.

Reimplemented in Kitware.VTK.vtkSocketController, and Kitware.VTK.vtkDummyController.

virtual vtkMultiProcessController Kitware.VTK.vtkMultiProcessController.PartitionController ( int  localColor,
int  localKey 
)
virtual

Partitions this controller based on a coloring. That is, each process passes in a color. All processes with the same color are grouped into the same partition. The processes are ordered by their self-assigned key. Lower keys have lower process ids. Ties are broken by the current process ids. (For example, if all the keys are 0, then the resulting processes will be ordered in the same way.) This method returns a new controller to each process that represents the local partition. This is basically the same operation as MPI_Comm_split.

Here is the call graph for this function:

int Kitware.VTK.vtkMultiProcessController.ProcessRMIs ( int  reportErrors,
int  dont_loop 
)

Calling this method gives control to the controller to start processing RMIs. Possible return values are: RMI_NO_ERROR, RMI_TAG_ERROR : rmi tag could not be received, RMI_ARG_ERROR : rmi arg could not be received. If reportErrors is false, no vtkErrorMacro is called. ProcessRMIs() calls ProcessRMIs(int) with reportErrors = 0. If dont_loop is 1, this call just process one RMI message and exits.

int Kitware.VTK.vtkMultiProcessController.ProcessRMIs ( )

Calling this method gives control to the controller to start processing RMIs. Possible return values are: RMI_NO_ERROR, RMI_TAG_ERROR : rmi tag could not be received, RMI_ARG_ERROR : rmi arg could not be received. If reportErrors is false, no vtkErrorMacro is called. ProcessRMIs() calls ProcessRMIs(int) with reportErrors = 0. If dont_loop is 1, this call just process one RMI message and exits.

int Kitware.VTK.vtkMultiProcessController.Receive ( IntPtr  data,
long  length,
int  remoteProcessId,
int  tag 
)

Communicator which is a copy of the current user level communicator except the context; i.e. even if the tags are the same, the RMI messages will not interfere with user level messages. Note that since the communicators can be created differently depending on the type of controller, the subclasses are responsible of deleting them.

int Kitware.VTK.vtkMultiProcessController.Receive ( string  data,
long  length,
int  remoteProcessId,
int  tag 
)

Communicator which is a copy of the current user level communicator except the context; i.e. even if the tags are the same, the RMI messages will not interfere with user level messages. Note that since the communicators can be created differently depending on the type of controller, the subclasses are responsible of deleting them.

int Kitware.VTK.vtkMultiProcessController.Receive ( vtkDataObject  data,
int  remoteProcessId,
int  tag 
)

Communicator which is a copy of the current user level communicator except the context; i.e. even if the tags are the same, the RMI messages will not interfere with user level messages. Note that since the communicators can be created differently depending on the type of controller, the subclasses are responsible of deleting them.

int Kitware.VTK.vtkMultiProcessController.Receive ( vtkDataArray  data,
int  remoteProcessId,
int  tag 
)

Communicator which is a copy of the current user level communicator except the context; i.e. even if the tags are the same, the RMI messages will not interfere with user level messages. Note that since the communicators can be created differently depending on the type of controller, the subclasses are responsible of deleting them.

vtkDataObject Kitware.VTK.vtkMultiProcessController.ReceiveDataObject ( int  remoteProcessId,
int  tag 
)

Communicator which is a copy of the current user level communicator except the context; i.e. even if the tags are the same, the RMI messages will not interfere with user level messages. Note that since the communicators can be created differently depending on the type of controller, the subclasses are responsible of deleting them.

Here is the call graph for this function:

int Kitware.VTK.vtkMultiProcessController.Reduce ( IntPtr  sendBuffer,
IntPtr  recvBuffer,
long  length,
int  operation,
int  destProcessId 
)

Reduce an array to the given destination process. This version of Reduce takes an identifier defined in the vtkCommunicator::StandardOperations enum to define the operation.

int Kitware.VTK.vtkMultiProcessController.Reduce ( string  sendBuffer,
string  recvBuffer,
long  length,
int  operation,
int  destProcessId 
)

Reduce an array to the given destination process. This version of Reduce takes an identifier defined in the vtkCommunicator::StandardOperations enum to define the operation.

int Kitware.VTK.vtkMultiProcessController.Reduce ( vtkDataArray  sendBuffer,
vtkDataArray  recvBuffer,
int  operation,
int  destProcessId 
)

Reduce an array to the given destination process. This version of Reduce takes an identifier defined in the vtkCommunicator::StandardOperations enum to define the operation.

void Kitware.VTK.vtkMultiProcessController.RemoveAllRMICallbacks ( int  tag)

---------------— RMIs -----------------—

int Kitware.VTK.vtkMultiProcessController.RemoveFirstRMI ( int  tag)

---------------— RMIs -----------------—

int Kitware.VTK.vtkMultiProcessController.RemoveRMI ( uint  id)

---------------— RMIs -----------------—

bool Kitware.VTK.vtkMultiProcessController.RemoveRMICallback ( uint  id)

---------------— RMIs -----------------—

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

Undocumented Block

Reimplemented from Kitware.VTK.vtkObject.

Reimplemented in Kitware.VTK.vtkSocketController, and Kitware.VTK.vtkDummyController.

Here is the call graph for this function:

int Kitware.VTK.vtkMultiProcessController.Scatter ( IntPtr  sendBuffer,
IntPtr  recvBuffer,
long  length,
int  srcProcessId 
)

Scatter takes an array in the process with id srcProcessId and distributes it. Each process (including the source) receives a portion of the send buffer. Process 0 receives the first length values, process 1 receives the second length values, and so on. Scatter is the inverse operation of Gather.

int Kitware.VTK.vtkMultiProcessController.Scatter ( string  sendBuffer,
string  recvBuffer,
long  length,
int  srcProcessId 
)

Scatter takes an array in the process with id srcProcessId and distributes it. Each process (including the source) receives a portion of the send buffer. Process 0 receives the first length values, process 1 receives the second length values, and so on. Scatter is the inverse operation of Gather.

int Kitware.VTK.vtkMultiProcessController.Scatter ( vtkDataArray  sendBuffer,
vtkDataArray  recvBuffer,
int  srcProcessId 
)

Scatter takes an array in the process with id srcProcessId and distributes it. Each process (including the source) receives a portion of the send buffer. Process 0 receives the first length values, process 1 receives the second length values, and so on. Scatter is the inverse operation of Gather.

int Kitware.VTK.vtkMultiProcessController.ScatterV ( IntPtr  sendBuffer,
IntPtr  recvBuffer,
IntPtr  sendLengths,
IntPtr  offsets,
long  recvLength,
int  srcProcessId 
)

ScatterV is the vector variant of Scatter. It extends the functionality of Scatter by allowing a varying count of data to each process. ScatterV takes an array in the process with id srcProcessId and distributes it. Each process (including the source) receives a portion of the send buffer defined by the sendLengths and offsets arrays.

int Kitware.VTK.vtkMultiProcessController.ScatterV ( string  sendBuffer,
string  recvBuffer,
IntPtr  sendLengths,
IntPtr  offsets,
long  recvLength,
int  srcProcessId 
)

ScatterV is the vector variant of Scatter. It extends the functionality of Scatter by allowing a varying count of data to each process. ScatterV takes an array in the process with id srcProcessId and distributes it. Each process (including the source) receives a portion of the send buffer defined by the sendLengths and offsets arrays.

int Kitware.VTK.vtkMultiProcessController.Send ( IntPtr  data,
long  length,
int  remoteProcessId,
int  tag 
)

Communicator which is a copy of the current user level communicator except the context; i.e. even if the tags are the same, the RMI messages will not interfere with user level messages. Note that since the communicators can be created differently depending on the type of controller, the subclasses are responsible of deleting them.

int Kitware.VTK.vtkMultiProcessController.Send ( string  data,
long  length,
int  remoteProcessId,
int  tag 
)

Communicator which is a copy of the current user level communicator except the context; i.e. even if the tags are the same, the RMI messages will not interfere with user level messages. Note that since the communicators can be created differently depending on the type of controller, the subclasses are responsible of deleting them.

int Kitware.VTK.vtkMultiProcessController.Send ( vtkDataObject  data,
int  remoteProcessId,
int  tag 
)

Communicator which is a copy of the current user level communicator except the context; i.e. even if the tags are the same, the RMI messages will not interfere with user level messages. Note that since the communicators can be created differently depending on the type of controller, the subclasses are responsible of deleting them.

int Kitware.VTK.vtkMultiProcessController.Send ( vtkDataArray  data,
int  remoteProcessId,
int  tag 
)

Communicator which is a copy of the current user level communicator except the context; i.e. even if the tags are the same, the RMI messages will not interfere with user level messages. Note that since the communicators can be created differently depending on the type of controller, the subclasses are responsible of deleting them.

virtual void Kitware.VTK.vtkMultiProcessController.SetBreakFlag ( int  _arg)
virtual

Setting this flag to 1 will cause the ProcessRMIs loop to return. This also causes vtkUpStreamPorts to return from their WaitForUpdate loops.

static void Kitware.VTK.vtkMultiProcessController.SetGlobalController ( vtkMultiProcessController  controller)
static

This method can be used to synchronize processes.

void Kitware.VTK.vtkMultiProcessController.SetNumberOfProcesses ( int  num)

Set the number of processes you will be using. This defaults to the maximum number available. If you set this to a value higher than the default, you will get an error.

void Kitware.VTK.vtkMultiProcessController.SetSingleProcessObject ( vtkProcess  p)

Set the number of processes you will be using. This defaults to the maximum number available. If you set this to a value higher than the default, you will get an error.

virtual void Kitware.VTK.vtkMultiProcessController.SingleMethodExecute ( )
virtual

Execute the SingleMethod (as define by SetSingleMethod) using this->NumberOfProcesses processes. This will only return when all the processes finish executing their methods.

Reimplemented in Kitware.VTK.vtkSocketController, and Kitware.VTK.vtkDummyController.

void Kitware.VTK.vtkMultiProcessController.TriggerBreakRMIs ( )

A conveniance method. Called on process 0 to break "ProcessRMIs" loop on all other processes.

void Kitware.VTK.vtkMultiProcessController.TriggerRMI ( int  remoteProcessId,
IntPtr  arg,
int  argLength,
int  tag 
)

A method to trigger a method invocation in another process.

void Kitware.VTK.vtkMultiProcessController.TriggerRMI ( int  remoteProcessId,
string  arg,
int  tag 
)

Convenience method when the arg is a string.

void Kitware.VTK.vtkMultiProcessController.TriggerRMI ( int  remoteProcessId,
int  tag 
)

Convenience method when there is no argument.

void Kitware.VTK.vtkMultiProcessController.TriggerRMIOnAllChildren ( IntPtr  arg,
int  argLength,
int  tag 
)

This is a convenicence method to trigger an RMI call on all the "children" of the current node. The children of the current node can be determined by drawing a binary tree starting at node 0 and then assigned nodes ids incrementally in a breadth-first fashion from left to right. This is designed to be used when trigger an RMI call on all satellites from the root node.

void Kitware.VTK.vtkMultiProcessController.TriggerRMIOnAllChildren ( string  arg,
int  tag 
)

This is a convenicence method to trigger an RMI call on all the "children" of the current node. The children of the current node can be determined by drawing a binary tree starting at node 0 and then assigned nodes ids incrementally in a breadth-first fashion from left to right. This is designed to be used when trigger an RMI call on all satellites from the root node.

void Kitware.VTK.vtkMultiProcessController.TriggerRMIOnAllChildren ( int  tag)

This is a convenicence method to trigger an RMI call on all the "children" of the current node. The children of the current node can be determined by drawing a binary tree starting at node 0 and then assigned nodes ids incrementally in a breadth-first fashion from left to right. This is designed to be used when trigger an RMI call on all satellites from the root node.

Member Data Documentation

new readonly string Kitware.VTK.vtkMultiProcessController.MRClassNameKey = "25vtkMultiProcessController"
static

Automatically generated type registration mechanics.

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

Automatically generated type registration mechanics.


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