|
| virtual const char * | GetClassName () |
| |
| virtual int | IsA (const char *type) |
| |
| void | PrintSelf (ostream &os, vtkIndent indent) override |
| |
| | vtkBaseTypeMacro (vtkObject, vtkObjectBase) |
| |
| virtual void | DebugOn () |
| |
| virtual void | DebugOff () |
| |
| bool | GetDebug () |
| |
| void | SetDebug (bool debugFlag) |
| |
| virtual void | Modified () |
| |
| virtual vtkMTimeType | GetMTime () |
| |
| void | RemoveObserver (unsigned long tag) |
| |
| void | RemoveObservers (unsigned long event) |
| |
| void | RemoveObservers (const char *event) |
| |
| void | RemoveAllObservers () |
| |
| int | HasObserver (unsigned long event) |
| |
| int | HasObserver (const char *event) |
| |
| int | InvokeEvent (unsigned long event) |
| |
| int | InvokeEvent (const char *event) |
| |
| unsigned long | AddObserver (unsigned long event, vtkCommand *, float priority=0.0f) |
| |
| unsigned long | AddObserver (const char *event, vtkCommand *, float priority=0.0f) |
| |
| vtkCommand * | GetCommand (unsigned long tag) |
| |
| void | RemoveObserver (vtkCommand *) |
| |
| void | RemoveObservers (unsigned long event, vtkCommand *) |
| |
| void | RemoveObservers (const char *event, vtkCommand *) |
| |
| int | HasObserver (unsigned long event, vtkCommand *) |
| |
| int | HasObserver (const char *event, vtkCommand *) |
| |
| unsigned long | AddObserver (unsigned long event, U observer, void(T::*callback)(), float priority=0.0f) |
| |
| unsigned long | AddObserver (unsigned long event, U observer, void(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f) |
| |
| unsigned long | AddObserver (unsigned long event, U observer, bool(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f) |
| |
| int | InvokeEvent (unsigned long event, void *callData) |
| |
| int | InvokeEvent (const char *event, void *callData) |
| |
| unsigned long | AddObserver (unsigned long event, vtkCommand *, float priority=0.0f) |
| |
| unsigned long | AddObserver (const char *event, vtkCommand *, float priority=0.0f) |
| |
| vtkCommand * | GetCommand (unsigned long tag) |
| |
| void | RemoveObserver (vtkCommand *) |
| |
| void | RemoveObservers (unsigned long event, vtkCommand *) |
| |
| void | RemoveObservers (const char *event, vtkCommand *) |
| |
| int | HasObserver (unsigned long event, vtkCommand *) |
| |
| int | HasObserver (const char *event, vtkCommand *) |
| |
| unsigned long | AddObserver (unsigned long event, U observer, void(T::*callback)(), float priority=0.0f) |
| |
| unsigned long | AddObserver (unsigned long event, U observer, void(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f) |
| |
| unsigned long | AddObserver (unsigned long event, U observer, bool(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f) |
| |
| int | InvokeEvent (unsigned long event, void *callData) |
| |
| int | InvokeEvent (const char *event, void *callData) |
| |
| const char * | GetClassName () const |
| |
| virtual void | Delete () |
| |
| virtual void | FastDelete () |
| |
| void | Print (ostream &os) |
| |
| virtual void | Register (vtkObjectBase *o) |
| |
| virtual void | UnRegister (vtkObjectBase *o) |
| |
| void | SetReferenceCount (int) |
| |
| virtual void | PrintHeader (ostream &os, vtkIndent indent) |
| |
| virtual void | PrintTrailer (ostream &os, vtkIndent indent) |
| |
| int | GetReferenceCount () |
| |
| void | PrintRevisions (ostream &) |
| |
| virtual void | PrintHeader (ostream &os, vtkIndent indent) |
| |
| virtual void | PrintTrailer (ostream &os, vtkIndent indent) |
| |
| int | GetReferenceCount () |
| |
| void | PrintRevisions (ostream &) |
| |
|
| static int | IsTypeOf (const char *type) |
| |
| static vtkInSituInitializationHelper * | SafeDownCast (vtkObject *o) |
| |
| static void | Initialize (vtkTypeUInt64 comm, const std::vector< std::string > &python_paths) |
| | Initializes the engine. More...
|
| |
| static void | Finalize () |
| | Finalizes the engine. More...
|
| |
| static vtkInSituPipeline * | AddPipeline (const std::string &pipeline_name, const std::string &path) |
| | Add Python analysis scripts or packages. More...
|
| |
| static vtkInSituPipeline * | GetPipeline (const std::string &pipeline_name) |
| | Returns the registered pipeline with the given name, or nullptr if no pipeline with that name has been registered. More...
|
| |
| static void | AddPipeline (vtkInSituPipeline *pipeline) |
| | Add a vtkInSituPipeline instance. More...
|
| |
| static void | SetProducer (const std::string &channelName, vtkSMSourceProxy *producer) |
| | Specify the algorithm or data-producer proxy that produces the mesh for named catalyst channel. More...
|
| |
| static vtkSMSourceProxy * | GetProducer (const std::string &channelName) |
| | Provides access to the producer proxy for a given channel, if any. More...
|
| |
| static void | UpdateAllProducers (double time) |
| | Convenience method to call Update/UpdatePipeline on all known producers. More...
|
| |
| static bool | ExecutePipelines (int timestep, double time, const std::vector< std::string > &pipelines={}, const std::vector< std::string > ¶meters={}) |
| | Executes pipelines. More...
|
| |
| static bool | ExecutePipelines (const conduit_node *catalyst_state) |
| |
| static bool | GetResultsFromPipelines (conduit_node *catalyst_params) |
| | Call Results() on all pipelines. More...
|
| |
| static conduit_node * | GetCatalystParameters () |
| | Provides access to the conduit node that the simulation passed as argument to "catalyst_execute" for this timestep. More...
|
| |
| static bool | IsInitialized () |
| | Returns true if vtkInSituInitializationHelper has been initialized; which means that ParaView is operating in in situ mode. More...
|
| |
| static bool | IsPythonSupported () |
| | Returns true if ParaView is built with Python support enabled. More...
|
| |
| static void | GetSteerableProxies (std::vector< std::pair< std::string, vtkSMProxy *>> &proxies) |
| | Fill the vector with all steerable proxies and extracts associated to the pipeline. More...
|
| |
| static void | UpdateSteerableParameters (vtkSMProxy *steerableProxy, const char *steerableSourceName) |
| | Update the internal list of steerable proxies or extracts by adding the proxy passed in parameters. More...
|
| |
|
| static void | MarkProducerModified (const std::string &channelName) |
| | This is provided as a convenience to indicate a particular producer has been modified or has new data for current timestep. More...
|
| |
| static void | MarkProducerModified (vtkSMSourceProxy *producer) |
| | This is provided as a convenience to indicate a particular producer has been modified or has new data for current timestep. More...
|
| |
|
| static int | GetTimeStep () |
| | Provides access to current time and timestep during ExecutePipelines call. More...
|
| |
| static double | GetTime () |
| | Provides access to current time and timestep during ExecutePipelines call. More...
|
| |
| static vtkObject * | New () |
| |
| static void | BreakOnError () |
| |
| static void | SetGlobalWarningDisplay (int val) |
| |
| static void | GlobalWarningDisplayOn () |
| |
| static void | GlobalWarningDisplayOff () |
| |
| static int | GetGlobalWarningDisplay () |
| |
| static void | SetGlobalWarningDisplay (int val) |
| |
| static void | GlobalWarningDisplayOn () |
| |
| static void | GlobalWarningDisplayOff () |
| |
| static int | GetGlobalWarningDisplay () |
| |
| static vtkTypeBool | IsTypeOf (const char *name) |
| |
| static vtkObjectBase * | New () |
| |
| static vtkObjectBase * | New () |
| |
initialization helper for in situ environments.
vtkInSituInitializationHelper used by ParaView-Catalyst to initialize the ParaView engine. It simply setups up defaults for suitable for in situ use-cases. Internally, it relies on vtkInitializationHelper to do the actual initialization.
vtkInSituInitializationHelper is also intended to be used by other in situ codes includes custom Catalyst API implementations or other in situ frameworks.
- See also
- vtkInitializationHelper
Definition at line 49 of file vtkInSituInitializationHelper.h.
Initializes the engine.
This can only be called once in the lifetime of the process. Calling this after the first call has no effect.
'comm' is used to determine the 'MPI_Comm' handle to be used for ParaView. In non-MPI builds of ParaView, this argument is simply ignored. In MPI-enabled builds of ParaView, this argument must be 'MPI_Fint' that represents the Fortran handle for MPI_Comm to use. The Fortran handle is an integer and hence we use 'vtkTypeUInt64' as a wide-enough container for the Fortran handle without having to include 'mpi.h' in this public header. The Fortran MPI communicator handle can be obtained from a MPI_Comm using MPI_Comm_c2f(). Refer to MPI specification for details.
'python_paths' is used to update the PYTHONPATH visible to catalyst scripts. In particular, in Python-enabled builds, the python_paths are prepended into the current path of the vtkPythonInterpreter that executes the catalyst script. This allows to add paths to python packages that a catalyst script can use. A prime example for this is path to custom scripts or CATALYST_PYTHONPATH which at the time of writing holds the necessary package to access the conduit node used in each of the catalyst_*1 calls i.e.node = info.catalyst_params`.