Version: 9.15.0
PVViewer_Core Class Reference

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

#include <PVViewer_Core.h>

Static Public Member Functions

static pqPVApplicationCore * GetPVApplication ()
 
static bool ParaViewInitAppCore ()
 
static pqPVApplicationCore * GetPVAppCore ()
 
static bool ParaviewInitApp ()
 Initialize ParaView if not yet done (once per session) More...
 
static void ParaviewInitBehaviors (bool=false, QMainWindow *=0)
 
static void ParaviewLoadConfigurations (const QString &, bool=false)
 
static void ParaviewCleanup ()
 

Private Member Functions

 PVViewer_Core ()
 
virtual ~PVViewer_Core ()
 

Static Private Attributes

static pqPVApplicationCore * MyCoreApp = nullptr
 
static bool MyPqTabWidSingletonLoaded = false
 
static bool ConfigLoaded = false
 
static PVViewer_BehaviorsParaviewBehaviors = nullptr
 

Detailed Description

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

Constructor & Destructor Documentation

◆ PVViewer_Core()

PVViewer_Core::PVViewer_Core ( )
private

◆ ~PVViewer_Core()

virtual PVViewer_Core::~PVViewer_Core ( )
inlineprivatevirtual

Member Function Documentation

◆ GetPVAppCore()

static pqPVApplicationCore* PVViewer_Core::GetPVAppCore ( )
inlinestatic

◆ GetPVApplication()

pqPVApplicationCore * PVViewer_Core::GetPVApplication ( )
static

References MyCoreApp.

◆ ParaviewCleanup()

void PVViewer_Core::ParaviewCleanup ( )
static

References GetPVApplication().

◆ ParaviewInitApp()

bool PVViewer_Core::ParaviewInitApp ( )
static

Initialize ParaView if not yet done (once per session)

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 MyPqTabWidSingletonLoaded, PVViewer_OutputWindow::New(), and ParaViewInitAppCore().

◆ ParaViewInitAppCore()

bool PVViewer_Core::ParaViewInitAppCore ( )
static

References Qtx::getenv(), and MyCoreApp.

◆ ParaviewInitBehaviors()

void PVViewer_Core::ParaviewInitBehaviors ( bool  fullSetup = false,
QMainWindow aDesktop = 0 
)
static

◆ ParaviewLoadConfigurations()

void PVViewer_Core::ParaviewLoadConfigurations ( const QString &  configPath,
bool  force = false 
)
static

References ConfigLoaded, and MyCoreApp.

Member Data Documentation

◆ ConfigLoaded

bool PVViewer_Core::ConfigLoaded = false
staticprivate

◆ MyCoreApp

pqPVApplicationCore * PVViewer_Core::MyCoreApp = nullptr
staticprivate

◆ MyPqTabWidSingletonLoaded

bool PVViewer_Core::MyPqTabWidSingletonLoaded = false
staticprivate

◆ ParaviewBehaviors

PVViewer_Behaviors * PVViewer_Core::ParaviewBehaviors = nullptr
staticprivate

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