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

vtkPVProcessModule Class Reference

#include <vtkPVProcessModule.h>

Inheritance diagram for vtkPVProcessModule:

Inheritance graph
[legend]
Collaboration diagram for vtkPVProcessModule:

Collaboration graph
[legend]
List of all members.

[NOHEADER]

void SetGlobalLODFlag (int val)
int GetGlobalLODFlag ()
void SetGlobalLODFlagInternal (int val)

[NOHEADER]

void SetGlobalStreamBlock (int val)
int GetGlobalStreamBlock ()
void SetGlobalStreamBlockInternal (int val)

Public Member Functions

 vtkTypeRevisionMacro (vtkPVProcessModule, vtkProcessModule)
void PrintSelf (ostream &os, vtkIndent indent)
virtual int Start (int argc, char **argv)
virtual void Exit ()
virtual int LoadModule (const char *name, const char *directory)
vtkSocketController * GetSocketController ()
void SetLocalProgress (const char *filter, int progress)
vtkPVServerInformationGetServerInformation ()
void SynchronizeServerClientOptions ()
const char * GetPath (const char *tag, const char *relativePath, const char *file)
virtual void SetProcessEnvironmentVariable (int processId, const char *var)
virtual int GetDirectoryListing (const char *dir, vtkStringList *dirs, vtkStringList *files, int save)
virtual vtkObjectBaseGetObjectFromIntID (unsigned int)
virtual vtkObjectBaseGetObjectFromID (vtkClientServerID)
virtual int LoadModuleInternal (const char *name, const char *directory)
vtkClientServerID GetMPIMToNSocketConnectionID ()
virtual void InitializeInterpreter ()
virtual void FinalizeInterpreter ()
virtual void SendPrepareProgress ()
virtual void SendCleanupPendingProgress ()
void LogStartEvent (char *str)
void LogEndEvent (char *str)
void SetLogBufferLength (int length)
void ResetLog ()
void SetEnableLog (int flag)
virtual void SetLogThreshold (float)
virtual float GetLogThreshold ()
virtual void SetUseTriangleStrips (int)
virtual int GetUseTriangleStrips ()
virtual void SetUseImmediateMode (int)
virtual int GetUseImmediateMode ()
int GetRenderNodePort ()
char * GetMachinesFileName ()
int GetClientMode ()
unsigned int GetNumberOfMachines ()
const char * GetMachineName (unsigned int idx)
virtual void SetApplicationInstallationDirectory (const char *)
virtual char * GetApplicationInstallationDirectory ()

Static Public Member Functions

vtkPVProcessModuleNew ()

Protected Member Functions

 vtkPVProcessModule ()
 ~vtkPVProcessModule ()

Protected Attributes

vtkClientServerID MPIMToNSocketConnectionID
float LogThreshold
vtkPVServerInformationServerInformation
int UseTriangleStrips
int UseImmediateMode
char * ApplicationInstallationDirectory
vtkTimerLog * Timer
vtkPVProcessModuleInternals * Internals

Static Protected Attributes

int GlobalLODFlag
int GlobalStreamBlock

Detailed Description

A class to encapaulate all of the process initialization, This super class assumes the application is running all in one process with no MPI.

Definition at line 48 of file vtkPVProcessModule.h.


Constructor & Destructor Documentation

vtkPVProcessModule::vtkPVProcessModule  )  [protected]
 

vtkPVProcessModule::~vtkPVProcessModule  )  [protected]
 


Member Function Documentation

vtkPVProcessModule* vtkPVProcessModule::New  )  [static]
 

Reimplemented in vtkPVClientServerModule, and vtkPVMPIProcessModule.

vtkPVProcessModule::vtkTypeRevisionMacro vtkPVProcessModule  ,
vtkProcessModule 
 

void vtkPVProcessModule::PrintSelf ostream &  os,
vtkIndent  indent
 

Reimplemented from vtkProcessModule.

Reimplemented in vtkPVClientServerModule, and vtkPVMPIProcessModule.

virtual int vtkPVProcessModule::Start int  argc,
char **  argv
[virtual]
 

Implements vtkProcessModule.

Reimplemented in vtkPVClientServerModule, and vtkPVMPIProcessModule.

virtual void vtkPVProcessModule::Exit  )  [virtual]
 

This breaks rmi loops and cleans up processes.`

Implements vtkProcessModule.

Reimplemented in vtkPVClientServerModule, and vtkPVMPIProcessModule.

virtual int vtkPVProcessModule::GetDirectoryListing const char *  dir,
vtkStringList dirs,
vtkStringList files,
int  save
[virtual]
 

Get a directory listing for the given directory. Returns 1 for success, and 0 for failure (when the directory does not exist).

Reimplemented in vtkPVClientServerModule.

virtual vtkObjectBase* vtkPVProcessModule::GetObjectFromIntID unsigned  int  )  [virtual]
 

Get an object from an int id. This is only useful in when in client mode and calling this from tcl where vtkClientServerID is not wrapped.

virtual vtkObjectBase* vtkPVProcessModule::GetObjectFromID vtkClientServerID   )  [virtual]
 

Get an object from an int id. This is only useful in when in client mode and calling this from tcl where vtkClientServerID is not wrapped.

Reimplemented from vtkProcessModule.

virtual int vtkPVProcessModule::LoadModule const char *  name,
const char *  directory
[virtual]
 

Load a ClientServer wrapper module dynamically in the server processes. Returns 1 if all server nodes loaded the module and 0 otherwise. The second argument may be used to specify a directory in which to look for the module.

virtual int vtkPVProcessModule::LoadModuleInternal const char *  name,
const char *  directory
[virtual]
 

Used internally. Do not call. Use LoadModule instead.

Reimplemented in vtkPVClientServerModule, and vtkPVMPIProcessModule.

vtkClientServerID vtkPVProcessModule::GetMPIMToNSocketConnectionID  )  [inline]
 

Used internally. Do not call. Use LoadModule instead.

Definition at line 92 of file vtkPVProcessModule.h.

virtual void vtkPVProcessModule::InitializeInterpreter  )  [virtual]
 

Initialize/Finalize the process module's vtkClientServerInterpreter.

Reimplemented from vtkProcessModule.

virtual void vtkPVProcessModule::FinalizeInterpreter  )  [virtual]
 

Initialize/Finalize the process module's vtkClientServerInterpreter.

Reimplemented from vtkProcessModule.

vtkSocketController* vtkPVProcessModule::GetSocketController  )  [inline]
 

This is a socket controller used to communicate between the client and process 0 of the server.

Reimplemented in vtkPVClientServerModule.

Definition at line 103 of file vtkPVProcessModule.h.

virtual void vtkPVProcessModule::SendPrepareProgress  )  [virtual]
 

Reimplemented from vtkProcessModule.

virtual void vtkPVProcessModule::SendCleanupPendingProgress  )  [virtual]
 

Reimplemented from vtkProcessModule.

void vtkPVProcessModule::SetLocalProgress const char *  filter,
int  progress
[virtual]
 

Set the local progress

Implements vtkProcessModule.

void vtkPVProcessModule::LogStartEvent char *  str  ) 
 

For loggin from Tcl start and end execute events. We do not have c pointers to all filters.

void vtkPVProcessModule::LogEndEvent char *  str  ) 
 

For loggin from Tcl start and end execute events. We do not have c pointers to all filters.

void vtkPVProcessModule::SetLogBufferLength int  length  ) 
 

More timer log access methods. Static methods are not accessible from tcl. We need a timer object on all procs.

void vtkPVProcessModule::ResetLog  ) 
 

More timer log access methods. Static methods are not accessible from tcl. We need a timer object on all procs.

void vtkPVProcessModule::SetEnableLog int  flag  ) 
 

More timer log access methods. Static methods are not accessible from tcl. We need a timer object on all procs.

virtual void vtkPVProcessModule::SetLogThreshold float   )  [virtual]
 

Time threshold for event (start-end) when getting the log with indents. We do not have a timer object on all procs. Statics do not work with Tcl.

virtual float vtkPVProcessModule::GetLogThreshold  )  [virtual]
 

Time threshold for event (start-end) when getting the log with indents. We do not have a timer object on all procs. Statics do not work with Tcl.

vtkPVServerInformation* vtkPVProcessModule::GetServerInformation  )  [inline]
 

Server information was initially developed to query the server whether it supports remote rendering.

Definition at line 141 of file vtkPVProcessModule.h.

void vtkPVProcessModule::SynchronizeServerClientOptions  ) 
 

Rendering options such as TileDimensions and OffscreenRendering may be set only on the server. This method updates the Client options to those on the server.

const char* vtkPVProcessModule::GetPath const char *  tag,
const char *  relativePath,
const char *  file
 

We need to get the data path for the demo on the server.

void vtkPVProcessModule::SetGlobalLODFlag int  val  ) 
 

Need to put a global flag that indicates interactive rendering. All process must be consistent in choosing LODs because of the vtkCollectPolydata filter. This has to be in vtkPVApplication because we do not create a render module on remote processes.

int vtkPVProcessModule::GetGlobalLODFlag  )  [static]
 

Need to put a global flag that indicates interactive rendering. All process must be consistent in choosing LODs because of the vtkCollectPolydata filter. This has to be in vtkPVApplication because we do not create a render module on remote processes.

void vtkPVProcessModule::SetGlobalLODFlagInternal int  val  )  [static]
 

Need to put a global flag that indicates interactive rendering. All process must be consistent in choosing LODs because of the vtkCollectPolydata filter. This has to be in vtkPVApplication because we do not create a render module on remote processes.

void vtkPVProcessModule::SetGlobalStreamBlock int  val  ) 
 

I am experimenting with streaming. This turns streaming on and off. When this value is zero, pipelines do not update. When the flag is turned on, then the pipeline streams.

int vtkPVProcessModule::GetGlobalStreamBlock  )  [static]
 

I am experimenting with streaming. This turns streaming on and off. When this value is zero, pipelines do not update. When the flag is turned on, then the pipeline streams.

void vtkPVProcessModule::SetGlobalStreamBlockInternal int  val  )  [static]
 

I am experimenting with streaming. This turns streaming on and off. When this value is zero, pipelines do not update. When the flag is turned on, then the pipeline streams.

virtual void vtkPVProcessModule::SetProcessEnvironmentVariable int  processId,
const char *  var
[virtual]
 

This method leaks memory. It is a quick and dirty way to set different DISPLAY environment variables on the render server. I think the string cannot be deleted until paraview exits. The var should have the form: "DISPLAY=amber1"

Reimplemented in vtkPVClientServerModule.

virtual void vtkPVProcessModule::SetUseTriangleStrips int   )  [virtual]
 

This should be eliminated (server information instead) or should be in render module.

virtual int vtkPVProcessModule::GetUseTriangleStrips  )  [virtual]
 

This should be eliminated (server information instead) or should be in render module.

virtual void vtkPVProcessModule::SetUseImmediateMode int   )  [virtual]
 

This should be eliminated (server information instead) or should be in render module.

virtual int vtkPVProcessModule::GetUseImmediateMode  )  [virtual]
 

This should be eliminated (server information instead) or should be in render module.

int vtkPVProcessModule::GetRenderNodePort  ) 
 

Propagate from the options so that it is available in CS

char* vtkPVProcessModule::GetMachinesFileName  ) 
 

Propagate from the options so that it is available in CS

int vtkPVProcessModule::GetClientMode  ) 
 

Propagate from the options so that it is available in CS

unsigned int vtkPVProcessModule::GetNumberOfMachines  ) 
 

Propagate from the options so that it is available in CS

const char* vtkPVProcessModule::GetMachineName unsigned int  idx  ) 
 

Propagate from the options so that it is available in CS

virtual void vtkPVProcessModule::SetApplicationInstallationDirectory const char *   )  [virtual]
 

Get and Set the application installation directory

virtual char* vtkPVProcessModule::GetApplicationInstallationDirectory  )  [virtual]
 

Get and Set the application installation directory


Member Data Documentation

vtkClientServerID vtkPVProcessModule::MPIMToNSocketConnectionID [protected]
 

Definition at line 204 of file vtkPVProcessModule.h.

int vtkPVProcessModule::GlobalLODFlag [static, protected]
 

Definition at line 209 of file vtkPVProcessModule.h.

int vtkPVProcessModule::GlobalStreamBlock [static, protected]
 

Definition at line 212 of file vtkPVProcessModule.h.

float vtkPVProcessModule::LogThreshold [protected]
 

Definition at line 214 of file vtkPVProcessModule.h.

vtkPVServerInformation* vtkPVProcessModule::ServerInformation [protected]
 

Definition at line 215 of file vtkPVProcessModule.h.

int vtkPVProcessModule::UseTriangleStrips [protected]
 

Definition at line 216 of file vtkPVProcessModule.h.

int vtkPVProcessModule::UseImmediateMode [protected]
 

Definition at line 217 of file vtkPVProcessModule.h.

char* vtkPVProcessModule::ApplicationInstallationDirectory [protected]
 

Definition at line 218 of file vtkPVProcessModule.h.

vtkTimerLog* vtkPVProcessModule::Timer [protected]
 

Definition at line 219 of file vtkPVProcessModule.h.

vtkPVProcessModuleInternals* vtkPVProcessModule::Internals [protected]
 

Reimplemented from vtkProcessModule.

Definition at line 220 of file vtkPVProcessModule.h.


The documentation for this class was generated from the following file:
Generated on Tue May 30 12:41:51 2006 for ParaView by doxygen 1.3.5