MooseXfemClipPlugin.h
Go to the documentation of this file.
1 #define _paraview_add_plugin_built_shared 1
2 #define _paraview_add_plugin_with_python 0
3 #define _paraview_add_plugin_with_ui 0
4 #define _paraview_add_plugin_with_xml 1
5 
6 #define PARAVIEW_BUILDING_PLUGIN
7 #define PARAVIEW_PLUGIN_BUILT_SHARED _paraview_add_plugin_built_shared
8 #include "vtkPVPlugin.h"
9 
10 #if _paraview_add_plugin_with_ui
12 #include <QObject>
13 #include <QtPlugin>
14 #endif
15 
16 #if _paraview_add_plugin_with_xml
18 #endif
19 
20 #if _paraview_add_plugin_with_python
22 #endif
23 
25 #if _paraview_add_plugin_with_ui
26  public QObject,
28 #endif
29 
30  public vtkPVPlugin
31 
32 #if _paraview_add_plugin_with_xml
34 #endif
35 #if _paraview_add_plugin_with_python
37 #endif
38 
39 {
40 #if _paraview_add_plugin_with_ui
41  Q_OBJECT
42  Q_INTERFACES(vtkPVGUIPluginInterface)
43  Q_PLUGIN_METADATA(IID "com.kitware/paraview/MooseXfemClipPlugin")
44 #endif
45 public:
47 
51  const char* GetPluginName() override
52  {return "MooseXfemClip"; }
53 
57  const char* GetPluginVersionString() override
58  { return "1.0"; }
59 
63  bool GetRequiredOnServer() override
64  { return true; }
65 
69  bool GetRequiredOnClient() override
70  { return false; }
71 
75  const char* GetRequiredPlugins() override
76  { return ""; }
77 
81  const char* GetDescription() override
82  { return "Clip partial elements generated by MOOSE XFEM"; }
83 
87  const char* GetEULA() override;
88 
94  void GetBinaryResources(std::vector<std::string>& resources) override;
95 
96 #if _paraview_add_plugin_with_xml
97 
100  void GetXMLs(std::vector<std::string> &xmls) override;
101 
109 #endif
110 
111 #if _paraview_add_plugin_with_ui
112 
115  QObjectList interfaces() override;
116 #endif
117 
118 #if _paraview_add_plugin_with_python
119  void GetPythonSourceList(std::vector<std::string>& modules,
120  std::vector<std::string>& sources,
121  std::vector<int>& package_flags) override;
122 #endif
123 };
vtkPVServerManagerPluginInterface defines the interface needed to be implemented by a server-manager ...
void GetXMLs(std::vector< std::string > &xmls) override
Obtain the server-manager configuration xmls, if any.
vtkPVPythonPluginInterface defines the interface required by ParaView plugins that add python modules...
bool GetRequiredOnServer() override
Returns true if this plugin is required on the server.
const char * GetRequiredPlugins() override
Returns a &#39;;&#39; separated list of plugin names required by this plugin.
const char * GetPluginVersionString() override
Returns the version for this plugin.
const char * GetDescription() override
Returns a description of this plugin.
defines the core interface for any ParaView plugin.
Definition: vtkPVPlugin.h:52
vtkClientServerInterpreterInitializer::InterpreterInitializationCallback GetInitializeInterpreterCallback() override
Returns the callback function to call to initialize the interpretor for the new vtk/server-manager cl...
const char * GetPluginName() override
Returns the name for this plugin.
void(* InterpreterInitializationCallback)(vtkClientServerInterpreter *)
vtkPVGUIPluginInterface defines the interface required by GUI plugins.
void GetBinaryResources(std::vector< std::string > &resources) override
Provides access to binary resources compiled into the plugin.
const char * GetEULA() override
Returns EULA for the plugin, if any.
bool GetRequiredOnClient() override
Returns true if this plugin is required on the client.