vtkInSituPythonConduitHelper.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Kitware Inc.
2 // SPDX-License-Identifier: BSD-3-Clause
10 #ifndef vtkInSituPythonConduitHelper_h
11 #define vtkInSituPythonConduitHelper_h
12 
13 #if VTK_MODULE_ENABLE_VTK_WrappingPythonCore
14 #include "vtkPython.h" // must be first
15 #else
16 // if we are being wrapped hide the forward declaration of PyObject to avoid
17 // duplicate definition error in Python wrappings
18 #if !defined(VTK_WRAPPING_CXX)
19 struct PyObject;
20 #endif
21 #endif
22 
23 #include "vtkObject.h"
24 #include "vtkPVInSituModule.h" // For windows import/export of shared libraries
25 
27 {
28 public:
30 
31  static PyObject* GetCatalystParameters();
32 
33 protected:
34  vtkInSituPythonConduitHelper() = default;
35  ~vtkInSituPythonConduitHelper() override = default;
36 
37 private:
39  void operator=(const vtkInSituPythonConduitHelper&) = delete;
40 };
41 
42 #endif
#define VTKPVINSITU_EXPORT
A helper class to get the conduit node stored during the execution of one of the catalyst* calls as a...
struct _object PyObject
void operator=(const vtkObjectBase &)