NonOrthogonalSourcePlugin.h
Go to the documentation of this file.
1 #define _paraview_add_plugin_built_shared 1
2 #define _paraview_add_plugin_with_initializers 0
3 #define _paraview_add_plugin_with_python 0
4 #define _paraview_add_plugin_with_ui 1
5 #define _paraview_add_plugin_with_xml 1
6 
7 #define PARAVIEW_BUILDING_PLUGIN
8 #define PARAVIEW_PLUGIN_BUILT_SHARED _paraview_add_plugin_built_shared
9 #include "vtkPVPlugin.h"
10 
11 #if _paraview_add_plugin_with_ui
13 #include <QObject>
14 #include <QtPlugin>
15 #endif
16 
17 #if _paraview_add_plugin_with_xml
19 #endif
20 
21 #if _paraview_add_plugin_with_python
23 #endif
24 
25 #if _paraview_add_plugin_with_initializers
27 #endif
28 
30 #if _paraview_add_plugin_with_ui
31  public QObject,
33 #endif
34 
35  public vtkPVPlugin
36 
37 #if _paraview_add_plugin_with_initializers
39 #endif
40 #if _paraview_add_plugin_with_xml
42 #endif
43 #if _paraview_add_plugin_with_python
45 #endif
46 
47 {
48 #if _paraview_add_plugin_with_ui
49  Q_OBJECT
50  Q_INTERFACES(vtkPVGUIPluginInterface)
51  Q_PLUGIN_METADATA(IID "com.kitware/paraview/NonOrthogonalSourcePlugin")
52 #endif
53 public:
55 
59  const char* GetPluginName() override
60  {return "NonOrthogonalSource"; }
61 
65  const char* GetPluginVersionString() override
66  { return "1.0"; }
67 
71  bool GetRequiredOnServer() override
72  { return true; }
73 
77  bool GetRequiredOnClient() override
78  { return true; }
79 
83  const char* GetRequiredPlugins() override
84  { return ""; }
85 
89  const char* GetDescription() override
90  { return "Non Orthogonal Source code sample"; }
91 
95  const char* GetEULA() override;
96 
102  void GetBinaryResources(std::vector<std::string>& resources) override;
103 
104 #if _paraview_add_plugin_with_xml
105 
108  void GetXMLs(std::vector<std::string> &xmls) override;
109 
117 #endif
118 
119 #if _paraview_add_plugin_with_ui
120 
123  QObjectList interfaces() override;
124 #endif
125 
126 #if _paraview_add_plugin_with_python
127  void GetPythonSourceList(std::vector<std::string>& modules,
128  std::vector<std::string>& sources,
129  std::vector<int>& package_flags) override;
130 #endif
131 
132 #if _paraview_add_plugin_with_initializers
133  void Initialize() override;
134 #endif
135 };
vtkPVServerManagerPluginInterface defines the interface needed to be implemented by a server-manager ...
vtkPVPythonPluginInterface defines the interface required by ParaView plugins that add python modules...
vtkPVDynamicInitializerPluginInterface defines the interface needed to be implemented by a plugin tha...
void GetBinaryResources(std::vector< std::string > &resources) override
Provides access to binary resources compiled into the plugin.
defines the core interface for any ParaView plugin.
Definition: vtkPVPlugin.h:38
bool GetRequiredOnServer() override
Returns true if this plugin is required on the server.
const char * GetPluginVersionString() override
Returns the version for this plugin.
QObjectList interfaces() override
Returns the list of ParaView-Interfaces provided by this plugin.
void(* InterpreterInitializationCallback)(vtkClientServerInterpreter *)
const char * GetDescription() override
Returns a description of this plugin.
void GetXMLs(std::vector< std::string > &xmls) override
Obtain the server-manager configuration xmls, if any.
const char * GetEULA() override
Returns EULA for the plugin, if any.
vtkPVGUIPluginInterface defines the interface required by GUI plugins.
vtkClientServerInterpreterInitializer::InterpreterInitializationCallback GetInitializeInterpreterCallback() override
Returns the callback function to call to initialize the interpretor for the new vtk/server-manager cl...
const char * GetRequiredPlugins() override
Returns a &#39;;&#39; separated list of plugin names required by this plugin.
const char * GetPluginName() override
Returns the name for this plugin.
bool GetRequiredOnClient() override
Returns true if this plugin is required on the client.