Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

vtkInputPort Class Reference

Receives data from another process. More...

#include <vtkInputPort.h>

Inheritance diagram for vtkInputPort:

Inheritance graph
[legend]
Collaboration diagram for vtkInputPort:

Collaboration graph
[legend]
List of all members.

Public Methods

virtual const char * GetClassName ()
virtual int IsA (const char *type)
void PrintSelf (ostream &os, vtkIndent indent)
vtkPolyDataGetPolyDataOutput ()
vtkUnstructuredGridGetUnstructuredGridOutput ()
vtkStructuredGridGetStructuredGridOutput ()
vtkRectilinearGridGetRectilinearGridOutput ()
vtkStructuredPointsGetStructuredPointsOutput ()
vtkImageDataGetImageDataOutput ()
virtual void SetRemoteProcessId (int)
virtual int GetRemoteProcessId ()
virtual void SetTag (int)
virtual int GetTag ()
void UpdateInformation ()
void PropagateUpdateExtent (vtkDataObject *vtkNotUsed(output))
void UpdateData (vtkDataObject *out)
void TriggerAsynchronousUpdate ()
vtkMultiProcessControllerGetController ()
virtual void SetController (vtkMultiProcessController *)

Static Public Methods

vtkInputPort * New ()
int IsTypeOf (const char *type)
vtkInputPort * SafeDownCast (vtkObject *o)

Protected Methods

 vtkInputPort ()
 ~vtkInputPort ()
 vtkInputPort (const vtkInputPort &)
void operator= (const vtkInputPort &)

Protected Attributes

vtkMultiProcessControllerController
int RemoteProcessId
int Tag
unsigned long DataTime
unsigned long UpStreamMTime
int TransferNeeded

Detailed Description

Receives data from another process.

Date:
2000/12/10 20:08:24
Revision:
1.10

InputPort connects the pipeline in this process to one in another processes. It communicates all the pipeline protocol so that the fact you are running in multiple processes is transparent. An input port is used as a source (input to a process). One is placed at the start of a pipeline, and has a single corresponding output port in another process (specified by RemoteProcessId).

See also:
vtkOutputPort vtkMultiProcessController
Examples:
vtkInputPort (examples)

Definition at line 80 of file vtkInputPort.h.


Constructor & Destructor Documentation

vtkInputPort::vtkInputPort   [protected]
 

vtkInputPort::~vtkInputPort   [protected]
 

vtkInputPort::vtkInputPort const vtkInputPort &    [inline, protected]
 

Definition at line 126 of file vtkInputPort.h.


Member Function Documentation

vtkInputPort* vtkInputPort::New   [static]
 

Instantiate object with no start, end, or progress methods.

Reimplemented from vtkSource.

virtual const char* vtkInputPort::GetClassName   [virtual]
 

Return the class name as a string. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkSource.

int vtkInputPort::IsTypeOf const char *    type [static]
 

Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkSource.

virtual int vtkInputPort::IsA const char *    type [virtual]
 

Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkSource.

vtkInputPort* vtkInputPort::SafeDownCast vtkObject   o [static]
 

Will cast the supplied object to vtkObject* is this is a safe operation (i.e., a safe downcast); otherwise NULL is returned. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkSource.

void vtkInputPort::PrintSelf ostream &    os,
vtkIndent    indent
[virtual]
 

Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.

Reimplemented from vtkSource.

vtkPolyData* vtkInputPort::GetPolyDataOutput  
 

Note: You have to ask for the right type, and it has to match the type of the up stream port input, or you will get an error. We have to live with the fact that the error will not occur until an update is called.

vtkUnstructuredGrid* vtkInputPort::GetUnstructuredGridOutput  
 

vtkStructuredGrid* vtkInputPort::GetStructuredGridOutput  
 

vtkRectilinearGrid* vtkInputPort::GetRectilinearGridOutput  
 

vtkStructuredPoints* vtkInputPort::GetStructuredPointsOutput  
 

vtkImageData* vtkInputPort::GetImageDataOutput  
 

virtual void vtkInputPort::SetRemoteProcessId int    [virtual]
 

The matching OutputPort is specified by the output port's process and a tag. There can be more than one output port per process. THE TAG MUST BE EVEN BECAUSE TWO RMIs ARE CREATED FROM IT!!!

virtual int vtkInputPort::GetRemoteProcessId   [virtual]
 

virtual void vtkInputPort::SetTag int    [virtual]
 

virtual int vtkInputPort::GetTag   [virtual]
 

void vtkInputPort::UpdateInformation   [virtual]
 

Need to override to propagate across port.

Reimplemented from vtkSource.

void vtkInputPort::PropagateUpdateExtent vtkDataObject *vtkNotUsed(output)    [inline]
 

Need to override to propagate across port.

Definition at line 110 of file vtkInputPort.h.

void vtkInputPort::UpdateData vtkDataObject   out [virtual]
 

Need to override to propagate across port

Reimplemented from vtkSource.

void vtkInputPort::TriggerAsynchronousUpdate   [virtual]
 

Need to override to trigger the update across the port

Reimplemented from vtkSource.

vtkMultiProcessController* vtkInputPort::GetController   [inline]
 

Access to the controller used for communication. By default, the global controller is used.

Definition at line 120 of file vtkInputPort.h.

virtual void vtkInputPort::SetController vtkMultiProcessController   [virtual]
 

void vtkInputPort::operator= const vtkInputPort &    [inline, protected]
 

Definition at line 127 of file vtkInputPort.h.


Member Data Documentation

vtkMultiProcessController* vtkInputPort::Controller [protected]
 

Definition at line 129 of file vtkInputPort.h.

int vtkInputPort::RemoteProcessId [protected]
 

Definition at line 130 of file vtkInputPort.h.

int vtkInputPort::Tag [protected]
 

Definition at line 131 of file vtkInputPort.h.

unsigned long vtkInputPort::DataTime [protected]
 

Definition at line 133 of file vtkInputPort.h.

unsigned long vtkInputPort::UpStreamMTime [protected]
 

Definition at line 134 of file vtkInputPort.h.

int vtkInputPort::TransferNeeded [protected]
 

Definition at line 135 of file vtkInputPort.h.


The documentation for this class was generated from the following file:
Generated on Wed Nov 21 12:49:24 2001 for VTK by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001