ParaView
Public Types | Public Member Functions | Static Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes | List of all members
vtkClientServerMoveData Class Reference

Moves data from the server root node to the client. More...

#include <vtkClientServerMoveData.h>

Inherits vtkDataObjectAlgorithm.

Public Types

enum  ProcessTypes { AUTO = 0, SERVER = 1, CLIENT = 2 }
 
typedef vtkDataObjectAlgorithm Superclass
 

Public Member Functions

virtual const char * GetClassName ()
 
virtual int IsA (const char *type)
 
void PrintSelf (ostream &os, vtkIndent indent)
 
virtual void SetOutputDataType (int)
 Controls the output type. More...
 
virtual int GetOutputDataType ()
 Controls the output type. More...
 
virtual void SetWholeExtent (int, int, int, int, int, int)
 Controls the output WHOLE_EXTENT. More...
 
virtual void SetWholeExtent (int [6])
 Controls the output WHOLE_EXTENT. More...
 
virtual int * GetWholeExtent ()
 Controls the output WHOLE_EXTENT. More...
 
virtual void GetWholeExtent (int &, int &, int &, int &, int &, int &)
 Controls the output WHOLE_EXTENT. More...
 
virtual void GetWholeExtent (int [6])
 Controls the output WHOLE_EXTENT. More...
 
virtual void SetProcessType (int)
 Optionally, set the process type. More...
 
virtual int GetProcessType ()
 Optionally, set the process type. More...
 
void SetController (vtkMultiProcessController *)
 Get/Set the controller to use. More...
 
virtual vtkMultiProcessController * GetController ()
 Get/Set the controller to use. More...
 

Static Public Member Functions

static vtkClientServerMoveDataNew ()
 
static int IsTypeOf (const char *type)
 
static vtkClientServerMoveDataSafeDownCast (vtkObject *o)
 

Protected Types

enum  Tags { TRANSMIT_DATA_OBJECT = 23483 }
 

Protected Member Functions

 vtkClientServerMoveData ()
 
 ~vtkClientServerMoveData ()
 
virtual int FillInputPortInformation (int port, vtkInformation *info)
 
virtual int RequestData (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
 
virtual int RequestDataObject (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
 
virtual int RequestInformation (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
 
virtual int SendData (vtkDataObject *, vtkMultiProcessController *)
 
virtual vtkDataObject * ReceiveData (vtkMultiProcessController *)
 

Protected Attributes

int OutputDataType
 
int WholeExtent [6]
 
int ProcessType
 
vtkMultiProcessController * Controller
 

Detailed Description

Moves data from the server root node to the client.

This class moves all the input data available at the input on the root server node to the client node. If not in server-client mode, this filter behaves as a simple pass-through filter. This can work with any data type, the application does not need to set the output type before hand.

Warning
This filter may change the output in RequestData().

Definition at line 38 of file vtkClientServerMoveData.h.

Member Typedef Documentation

◆ Superclass

typedef vtkDataObjectAlgorithm vtkClientServerMoveData::Superclass

Definition at line 42 of file vtkClientServerMoveData.h.

Member Enumeration Documentation

◆ ProcessTypes

Enumerator
AUTO 
SERVER 
CLIENT 

Definition at line 91 of file vtkClientServerMoveData.h.

◆ Tags

Enumerator
TRANSMIT_DATA_OBJECT 

Definition at line 121 of file vtkClientServerMoveData.h.

Constructor & Destructor Documentation

◆ vtkClientServerMoveData()

vtkClientServerMoveData::vtkClientServerMoveData ( )
protected

◆ ~vtkClientServerMoveData()

vtkClientServerMoveData::~vtkClientServerMoveData ( )
protected

Member Function Documentation

◆ New()

static vtkClientServerMoveData* vtkClientServerMoveData::New ( )
static

◆ GetClassName()

virtual const char* vtkClientServerMoveData::GetClassName ( )
virtual

◆ IsTypeOf()

static int vtkClientServerMoveData::IsTypeOf ( const char *  type)
static

◆ IsA()

virtual int vtkClientServerMoveData::IsA ( const char *  type)
virtual

◆ SafeDownCast()

static vtkClientServerMoveData* vtkClientServerMoveData::SafeDownCast ( vtkObject *  o)
static

◆ PrintSelf()

void vtkClientServerMoveData::PrintSelf ( ostream &  os,
vtkIndent  indent 
)

◆ SetOutputDataType()

virtual void vtkClientServerMoveData::SetOutputDataType ( int  )
virtual

Controls the output type.

This is required because processes receiving data cannot know their output type in RequestDataObject without communicating with other processes. Since communicating with other processes in RequestDataObject is dangerous (can cause deadlock because it may happen out-of-sync), the application has to set the output type. The default is VTK_POLY_DATA. Make sure to call this before any pipeline updates occur.

◆ GetOutputDataType()

virtual int vtkClientServerMoveData::GetOutputDataType ( )
virtual

Controls the output type.

This is required because processes receiving data cannot know their output type in RequestDataObject without communicating with other processes. Since communicating with other processes in RequestDataObject is dangerous (can cause deadlock because it may happen out-of-sync), the application has to set the output type. The default is VTK_POLY_DATA. Make sure to call this before any pipeline updates occur.

◆ SetWholeExtent() [1/2]

virtual void vtkClientServerMoveData::SetWholeExtent ( int  ,
int  ,
int  ,
int  ,
int  ,
int   
)
virtual

Controls the output WHOLE_EXTENT.

This is required because processes receiving data cannot know their WHOLE_EXTENT in RequestInformation without communicating with other processes. Since communicating with other processes in RequestInformation is dangerous (can cause deadlock because it may happen out-of-sync), the application has to set the output type. Make sure to call this before any pipeline updates occur.

◆ SetWholeExtent() [2/2]

virtual void vtkClientServerMoveData::SetWholeExtent ( int  [6])
virtual

Controls the output WHOLE_EXTENT.

This is required because processes receiving data cannot know their WHOLE_EXTENT in RequestInformation without communicating with other processes. Since communicating with other processes in RequestInformation is dangerous (can cause deadlock because it may happen out-of-sync), the application has to set the output type. Make sure to call this before any pipeline updates occur.

◆ GetWholeExtent() [1/3]

virtual int* vtkClientServerMoveData::GetWholeExtent ( )
virtual

Controls the output WHOLE_EXTENT.

This is required because processes receiving data cannot know their WHOLE_EXTENT in RequestInformation without communicating with other processes. Since communicating with other processes in RequestInformation is dangerous (can cause deadlock because it may happen out-of-sync), the application has to set the output type. Make sure to call this before any pipeline updates occur.

◆ GetWholeExtent() [2/3]

virtual void vtkClientServerMoveData::GetWholeExtent ( int &  ,
int &  ,
int &  ,
int &  ,
int &  ,
int &   
)
virtual

Controls the output WHOLE_EXTENT.

This is required because processes receiving data cannot know their WHOLE_EXTENT in RequestInformation without communicating with other processes. Since communicating with other processes in RequestInformation is dangerous (can cause deadlock because it may happen out-of-sync), the application has to set the output type. Make sure to call this before any pipeline updates occur.

◆ GetWholeExtent() [3/3]

virtual void vtkClientServerMoveData::GetWholeExtent ( int  [6])
virtual

Controls the output WHOLE_EXTENT.

This is required because processes receiving data cannot know their WHOLE_EXTENT in RequestInformation without communicating with other processes. Since communicating with other processes in RequestInformation is dangerous (can cause deadlock because it may happen out-of-sync), the application has to set the output type. Make sure to call this before any pipeline updates occur.

◆ SetProcessType()

virtual void vtkClientServerMoveData::SetProcessType ( int  )
virtual

Optionally, set the process type.

If set to AUTO, then the process type is tried to be determined using the active connection.

◆ GetProcessType()

virtual int vtkClientServerMoveData::GetProcessType ( )
virtual

Optionally, set the process type.

If set to AUTO, then the process type is tried to be determined using the active connection.

◆ SetController()

void vtkClientServerMoveData::SetController ( vtkMultiProcessController *  )

Get/Set the controller to use.

This is optional and needed only when ProcessType is set to something other than AUTO. If AUTO, then the controller is obtained from the active session.

◆ GetController()

virtual vtkMultiProcessController* vtkClientServerMoveData::GetController ( )
virtual

Get/Set the controller to use.

This is optional and needed only when ProcessType is set to something other than AUTO. If AUTO, then the controller is obtained from the active session.

◆ FillInputPortInformation()

virtual int vtkClientServerMoveData::FillInputPortInformation ( int  port,
vtkInformation *  info 
)
protectedvirtual

◆ RequestData()

virtual int vtkClientServerMoveData::RequestData ( vtkInformation *  request,
vtkInformationVector **  inputVector,
vtkInformationVector *  outputVector 
)
protectedvirtual

◆ RequestDataObject()

virtual int vtkClientServerMoveData::RequestDataObject ( vtkInformation *  request,
vtkInformationVector **  inputVector,
vtkInformationVector *  outputVector 
)
protectedvirtual

◆ RequestInformation()

virtual int vtkClientServerMoveData::RequestInformation ( vtkInformation *  request,
vtkInformationVector **  inputVector,
vtkInformationVector *  outputVector 
)
protectedvirtual

◆ SendData()

virtual int vtkClientServerMoveData::SendData ( vtkDataObject *  ,
vtkMultiProcessController *   
)
protectedvirtual

◆ ReceiveData()

virtual vtkDataObject* vtkClientServerMoveData::ReceiveData ( vtkMultiProcessController *  )
protectedvirtual

Member Data Documentation

◆ OutputDataType

int vtkClientServerMoveData::OutputDataType
protected

Definition at line 126 of file vtkClientServerMoveData.h.

◆ WholeExtent

int vtkClientServerMoveData::WholeExtent[6]
protected

Definition at line 127 of file vtkClientServerMoveData.h.

◆ ProcessType

int vtkClientServerMoveData::ProcessType
protected

Definition at line 128 of file vtkClientServerMoveData.h.

◆ Controller

vtkMultiProcessController* vtkClientServerMoveData::Controller
protected

Definition at line 129 of file vtkClientServerMoveData.h.


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