32 #ifndef pqApplicationCore_h 33 #define pqApplicationCore_h 35 #include "pqCoreModule.h" 62 class vtkPVXMLElement;
63 class vtkSMProxyLocator;
64 class vtkSMStateLoader;
77 typedef QObject Superclass;
91 {
return this->Options; }
97 {
return this->ObjectBuilder; }
103 {
return this->UndoStack; }
114 void registerManager(
const QString&
function, QObject* manager);
118 QObject* manager(
const QString&
function);
121 void unRegisterManager(
const QString&
function);
125 QHelpEngine* helpEngine();
129 void registerDocumentation(
const QString& filename);
136 {
return this->ServerManagerObserver; }
143 {
return this->ServerManagerModel; }
146 {
return this->WidgetFactory; }
152 {
return this->InterfaceTracker; }
160 {
return this->LinksModel; }
164 {
return this->PluginManager; }
168 {
return this->ProgressManager; }
174 {
return this->DisplayPolicy; }
178 {
return this->OutputWindowAdapter; }
181 {
return this->OutputWindow; }
189 virtual pqTestUtility* testUtility();
203 vtkPVXMLElement* saveState();
204 void saveState(
const QString& filename);
208 void loadState(vtkPVXMLElement* root,
pqServer* server, vtkSMStateLoader* loader=NULL);
213 void loadState(
const char* filename,
pqServer* server, vtkSMStateLoader* loader=NULL);
216 void loadStateFromString(
const char* xmlcontents,
pqServer* server, vtkSMStateLoader* loader=NULL);
220 void loadStateIncremental(vtkPVXMLElement* root,
pqServer* server, vtkSMStateLoader* loader=NULL);
221 void loadStateIncremental(
const QString& filename,
pqServer* server, vtkSMStateLoader* loader=NULL);
234 void loadDistributedPlugins(
const char* filename=0);
242 void prepareForQuit();
248 void showOutputWindow();
253 void loadConfiguration(
const QString& filename);
254 void loadConfigurationXML(
const char* xmldata);
265 void aboutToLoadState(vtkPVXMLElement* root);
270 void stateLoaded(vtkPVXMLElement* root, vtkSMProxyLocator* locator);
275 void stateSaved(vtkPVXMLElement* root);
281 void loadXML(vtkPVXMLElement*);
284 void forceFilterMenuRefresh();
287 void updateMasterEnableState(
bool);
290 void onStateLoaded(vtkPVXMLElement* root, vtkSMProxyLocator* locator);
291 void onStateSaved(vtkPVXMLElement* root);
320 pqInternals* Internal;
323 void createOutputWindow();
pqProgressManager * ProgressManager
pqOutputWindow * OutputWindow
pqLinksModel * LinksModel
pqDisplayPolicy * getDisplayPolicy() const
pqServerManagerObserver * ServerManagerObserver
This class is the crux of the ParaView application.
pqInterfaceTracker * interfaceTracker() const
Locates the interface tracker for the application.
vtkOutputWindow implementation that converts VTK output messages into Qt signals. ...
pqRecentlyUsedResourcesList encapsulates a persistent collection of recently-used resources (data fil...
A Qt based model to represent the vtkSMLinks in the server manager.
pqPluginManager * PluginManager
pqRecentlyUsedResourcesList * RecentlyUsedResourcesList
pqPluginManager * getPluginManager() const
pqPluginManager manages all functionality associated with loading plugins.
pqProgressManager is progress manager.
pq3DWidgetFactory * get3DWidgetFactory() const
pqObjectBuilder is loosely based on the Builder design pattern.
pqProgressManager * getProgressManager() const
ProgressManager is the manager that streamlines progress.
pqServerManagerModel * ServerManagerModel
Display policy defines the application specific policy for creating display proxies.
pqServerManagerObserver * getServerManagerObserver()
ServerManagerObserver observer the vtkSMProxyManager for changes to the server manager and fires sign...
Provides an output dialog that will display all VTK/ParaView debug/warning/error output.
pqInterfaceTracker * InterfaceTracker
pqOutputWindow * outputWindow()
pqServerConfigurationCollection maintains a serializable collection of server-configurations defined ...
pqSettings extends QSettings to add support for following:
This is a vtkSMProxyManager observer.
pqServerConfigurationCollection * ServerConfigurations
pqOutputWindowAdapter * OutputWindowAdapter
pqDisplayPolicy * DisplayPolicy
QPointer< pqTestUtility > TestUtility
pqObjectBuilder * ObjectBuilder
pqServerManagerModel is the model for the Server Manager.
pqOutputWindowAdapter * outputWindowAdapter()
Returns the output window.
bool isLoadingState()
Check to see if its in the process of loading a state Reliance on this flag is chimerical since we ca...
pqObjectBuilder * getObjectBuilder() const
Get the Object Builder.
pqOptions * getOptions() const
Provides access to the command line options object.
PQ representation for a vtkSMProxy that can be involved in a pipeline.
pqServerManagerModel * getServerManagerModel() const
ServerManagerModel is the representation of the ServerManager using pqServerManagerModelItem subclass...
pq3DWidgetFactory * WidgetFactory
pqUndoStack * getUndoStack() const
pqUndoStack represents a vtkSMUndoStack along with a a vtkSMUndoStackBuilder.
Command line options for pqClient.
pqLinksModel * getLinksModel() const
pqLinksModel is the model used to keep track of proxy/property links maintained by vtkSMProxyManager...
pqInterfaceTracker is used by ParaView components to locate interface-implementations.
pqServerResource encapsulates a resource in ParaView.
pqPluginManager works with vtkSMPluginManager to keep track for plugins loaded/available.
pqServer (should be renamed to pqSession) is a pqServerManagerModelItem subclass that represents a vt...