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

vtkPVMain Class Reference

encapaulate common functions for running a paraview program. More...

#include <vtkPVMain.h>

Collaboration diagram for vtkPVMain:

Collaboration graph
[legend]
List of all members.

Public Types

typedef void(* INITIALIZE_INTERPRETER_FUNCTION )(vtkProcessModule *pm)

Public Member Functions

 vtkTypeRevisionMacro (vtkPVMain, vtkObject)
void PrintSelf (ostream &os, vtkIndent indent)
int Run (vtkPVOptions *)
int Initialize (vtkPVOptions *, vtkProcessModuleGUIHelper *guihelp, INITIALIZE_INTERPRETER_FUNCTION func, int argc, char *argv[])

Static Public Member Functions

vtkPVMainNew ()
void Initialize (int *argc, char **argv[])
void Finalize ()

Protected Member Functions

 vtkPVMain ()
virtual ~vtkPVMain ()

Detailed Description

encapaulate common functions for running a paraview program.

An object that has all the common stuff for running a paraview application.

Definition at line 31 of file vtkPVMain.h.


Member Typedef Documentation

typedef void(* vtkPVMain::INITIALIZE_INTERPRETER_FUNCTION)(vtkProcessModule* pm)
 

Definition at line 37 of file vtkPVMain.h.


Constructor & Destructor Documentation

vtkPVMain::vtkPVMain  )  [protected]
 

Default constructor.

virtual vtkPVMain::~vtkPVMain  )  [protected, virtual]
 

Destructor.


Member Function Documentation

vtkPVMain* vtkPVMain::New  )  [static]
 

vtkPVMain::vtkTypeRevisionMacro vtkPVMain  ,
vtkObject 
 

void vtkPVMain::PrintSelf ostream &  os,
vtkIndent  indent
 

int vtkPVMain::Initialize vtkPVOptions ,
vtkProcessModuleGUIHelper guihelp,
INITIALIZE_INTERPRETER_FUNCTION  func,
int  argc,
char *  argv[]
 

Initializes ProcessModule/Interpreter etc.

void vtkPVMain::Initialize int *  argc,
char **  argv[]
[static]
 

Initializes MPI (if needed). This must be called before any VTK objects are created.

void vtkPVMain::Finalize  )  [static]
 

Finalize.

int vtkPVMain::Run vtkPVOptions  ) 
 

Typically one would call vtkProcessModuleGUIHelper::Run() to start the application event loop. However, if helper is not present, eg. renderserver, then we call this method to call this->ProcessModule->Start().


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