4 #ifndef pqCoreConfiguration_h 5 #define pqCoreConfiguration_h 37 const std::string&
stateFileName()
const {
return this->StateFileName; }
42 const std::vector<std::string>&
dataFileNames()
const {
return this->DataFileNames; }
47 const std::string&
pythonScript()
const {
return this->PythonScript; }
59 const std::string&
testDirectory()
const {
return this->TestDirectory; }
65 const std::string&
dataDirectory()
const {
return this->DataDirectory; }
72 const std::string&
testScript(
int index)
const {
return this->TestScripts.at(index).FileName; }
73 const std::string&
testBaseline(
int index)
const {
return this->TestScripts.at(index).Baseline; }
74 int testThreshold(
int index)
const {
return this->TestScripts.at(index).Threshold; }
121 void addDataFile(
const std::string& data) { this->DataFileNames.push_back(data); }
127 std::string StateFileName;
128 std::vector<std::string> DataFileNames;
129 std::vector<std::string> PositionalFileNames;
130 std::string PythonScript;
131 std::string BaselineDirectory;
132 std::string TestDirectory;
133 std::string DataDirectory;
134 bool ExitAppWhenTestsDone;
135 int ActiveTestIndex = 0;
136 int CatalystLivePort = -1;
137 bool TestMaster =
false;
138 bool TestSlave =
false;
140 struct TestScriptInfo
142 std::string FileName;
143 std::string Baseline;
146 QVector<TestScriptInfo> TestScripts;
const std::string & testBaseline(int index) const
Returns information about tests scripts.
void setActiveTestIndex(int index)
A little bit of hack to activate a particular test script.
int catalystLivePort() const
When specified, ParaView will attempt to connect a Catalyst Live session at the given port...
const std::string & testScript(int index) const
Returns information about tests scripts.
bool testSlave() const
Collaboration testing related flags.
const std::vector< std::string > & dataFileNames() const
Returns data file to load on startup, if any.
int testScriptCount() const
Returns information about tests scripts.
const std::string & testDirectory() const
Returns directory where to output test results and temporary files, if any else an empty string is re...
const std::string & testBaseline() const
A little bit of hack to activate a particular test script.
const std::string & baselineDirectory() const
Returns directory where to output test results and temporary files, if any else an empty string is re...
command line options manager
bool exitApplicationWhenTestsDone() const
Returns true if the application should exit after test playback is complete.
int testThreshold(int index) const
Returns information about tests scripts.
int Threshold(vtkDataSet *input, vtkUnstructuredGrid *output, vtkDataArray *field, double lower, double upper)
const std::string & testScript() const
A little bit of hack to activate a particular test script.
const std::string & pythonScript() const
Returns the Python script to load on startup, if any.
bool testMaster() const
Collaboration testing related flags.
const std::string & stateFileName() const
Returns state file to load on startup, if any.
int testThreshold() const
A little bit of hack to activate a particular test script.
pqPVApplicationCore is the application code used by ParaView-based applications that use more of Para...
runtime configuration options for ParaView Qt client
void addDataFile(const std::string &data)
const std::string & dataDirectory() const
Returns directory containing test data files, if any, else an empty string is returned.