Version: 8.3.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
PVViewer_Core Class Reference

Pure static class gathering most of the interactions with ParaView's API and ParaView's start sequence.

#include <PVViewer_Core.h>

Static Public Member Functions

static pqPVApplicationCore * GetPVApplication ()
 
static bool ParaviewInitApp (QMainWindow *aDesktop, LogWindow *w)
 Initialize ParaView if not yet done (once per session) More...
 
static void ParaviewInitBehaviors (bool fullSetup=false, QMainWindow *aDesktop=0)
 
static void ParaviewLoadConfigurations (const QString &configPath, bool force=false)
 
static void ParaviewCleanup ()
 

Private Member Functions

 PVViewer_Core ()
 
virtual ~PVViewer_Core ()
 

Static Private Attributes

static pqPVApplicationCore * MyCoreApp = 0
 
static bool ConfigLoaded = false
 
static PVViewer_BehaviorsParaviewBehaviors = NULL
 

Constructor & Destructor Documentation

PVViewer_Core::PVViewer_Core ( )
private
virtual PVViewer_Core::~PVViewer_Core ( )
inlineprivatevirtual

Member Function Documentation

pqPVApplicationCore * PVViewer_Core::GetPVApplication ( )
static

References MyCoreApp.

void PVViewer_Core::ParaviewCleanup ( )
static

References app, and GetPVApplication().

bool PVViewer_Core::ParaviewInitApp ( QMainWindow aDesktop,
LogWindow logWindow 
)
static

Static method, performs initialization of ParaView session.

Parameters
fullSetupwhether to instanciate all behaviors or just the minimal ones.
Returns
true if ParaView has been initialized successfully, otherwise false

References MyCoreApp, PVViewer_LogWindowAdapter::New(), and PVViewer_LogWindowAdapter::setLogWindow().

void PVViewer_Core::ParaviewInitBehaviors ( bool  fullSetup = false,
QMainWindow aDesktop = 0 
)
static
void PVViewer_Core::ParaviewLoadConfigurations ( const QString &  configPath,
bool  force = false 
)
static

References ConfigLoaded, and MyCoreApp.

Member Data Documentation

bool PVViewer_Core::ConfigLoaded = false
staticprivate
pqPVApplicationCore * PVViewer_Core::MyCoreApp = 0
staticprivate
PVViewer_Behaviors * PVViewer_Core::ParaviewBehaviors = NULL
staticprivate

The documentation for this class was generated from the following files: