Class that creates a coprocessing pipeline starting from a coprocessing script.
More...
#include <vtkCPPythonScriptPipeline.h>
Class that creates a coprocessing pipeline starting from a coprocessing script.
This class only does operations with respect to the script and uses the name of the script as the module to hide its definitions from other python modules.
Definition at line 29 of file vtkCPPythonScriptPipeline.h.
§ Superclass
§ vtkCPPythonScriptPipeline()
vtkCPPythonScriptPipeline::vtkCPPythonScriptPipeline |
( |
| ) |
|
|
protected |
§ ~vtkCPPythonScriptPipeline()
virtual vtkCPPythonScriptPipeline::~vtkCPPythonScriptPipeline |
( |
| ) |
|
|
protectedvirtual |
§ New()
§ GetClassName()
virtual const char* vtkCPPythonScriptPipeline::GetClassName |
( |
| ) |
|
|
virtual |
§ IsTypeOf()
static int vtkCPPythonScriptPipeline::IsTypeOf |
( |
const char * |
type | ) |
|
|
static |
§ IsA()
virtual int vtkCPPythonScriptPipeline::IsA |
( |
const char * |
type | ) |
|
|
virtual |
§ SafeDownCast()
§ PrintSelf()
void vtkCPPythonScriptPipeline::PrintSelf |
( |
ostream & |
os, |
|
|
vtkIndent |
indent |
|
) |
| |
§ Initialize()
int vtkCPPythonScriptPipeline::Initialize |
( |
const char * |
fileName | ) |
|
Initialize this pipeline from given the file name of a python script.
Returns 1 for success and 0 for failure.
§ RequestDataDescription()
virtual int vtkCPPythonScriptPipeline::RequestDataDescription |
( |
vtkCPDataDescription * |
dataDescription | ) |
|
|
virtual |
Configuration Step: The coprocessor first determines if any coprocessing needs to be done at this TimeStep/Time combination returning 1 if it does and 0 otherwise.
If coprocessing does need to be performed this time step it fills in the FieldNames array that the coprocessor requires in order to fulfill all the coprocessing requests for this TimeStep/Time combination.
Implements vtkCPPipeline.
§ CoProcess()
Execute the pipeline. Returns 1 for success and 0 for failure.
Implements vtkCPPipeline.
§ Finalize()
virtual int vtkCPPythonScriptPipeline::Finalize |
( |
| ) |
|
|
virtual |
Finalize the pipeline before deleting it.
A default no-op implementation is given. Returns 1 for success and 0 for failure.
Reimplemented from vtkCPPipeline.
§ GetPythonAddress()
vtkStdString vtkCPPythonScriptPipeline::GetPythonAddress |
( |
void * |
pointer | ) |
|
|
protected |
Return the address of Pointer for the python script.
§ SetPythonScriptName()
virtual void vtkCPPythonScriptPipeline::SetPythonScriptName |
( |
const char * |
| ) |
|
|
protectedvirtual |
Set/get macro functinos for setting PythonScriptName.
§ GetPythonScriptName()
virtual char* vtkCPPythonScriptPipeline::GetPythonScriptName |
( |
| ) |
|
|
protectedvirtual |
The documentation for this class was generated from the following file: