19#ifndef GUISTATEPARAMS_H
20#define GUISTATEPARAMS_H
73 void InsertOpenDateSet(
string dataSetName,
string format,
const std::vector<string> &paths,
const std::vector<string> &relPaths={});
77 void SetOpenDataSets(
const std::vector<string> &paths,
const std::vector<string> &names);
153 void SetPaths(
const std::vector<string> &paths) { SetValueStringVec(m_dataSetPathsTag,
"Data set paths", paths); }
155 std::vector<string>
GetPaths()
const {
return (GetValueStringVec(m_dataSetPathsTag)); };
157 void SetRelativePaths(
const std::vector<string> &paths) { SetValueStringVec(m_dataSetRelativePathsTag,
"Data set relative paths", paths); }
158 std::vector<string>
GetRelativePaths()
const {
return (GetValueStringVec(m_dataSetRelativePathsTag)); };
161 void SetFormat(
string format) { SetValueString(m_dataSetFormatTag,
"Data set format", format); }
163 string GetFormat()
const {
return (GetValueString(m_dataSetFormatTag,
"vdc")); }
168 static const string m_dataSetPathsTag;
169 static const string m_dataSetRelativePathsTag;
170 static const string m_dataSetFormatTag;
187 class ActiveRenderer :
public ParamsBase {
193 virtual ~ActiveRenderer(){};
195 void SetActiveRenderer(
string vizWin,
string renderType,
string renderInst);
197 void GetActiveRenderer(
string vizWin,
string &renderType,
string &renderInst)
const;
199 static string GetClassType() {
return (
"ActiveRenderer"); }
202 ActiveRenderer *m_activeRenderer;
bool HasRelativePaths() const
void SetPaths(const std::vector< string > &paths)
DataSetParam(VAPoR::ParamsBase::StateSave *ssave, VAPoR::XmlNode *node)
DataSetParam(VAPoR::ParamsBase::StateSave *ssave)
std::vector< string > GetRelativePaths() const
std::vector< string > GetPaths() const
void SetFormat(string format)
static string GetClassType()
void SetRelativePaths(const std::vector< string > &paths)
std::string GetStatsDatasetName() const
string GetProjectionString() const
void SetFlowDimensionality(int nDims)
int GetNumBookmarks() const
string GetActiveDataset() const
void SetCurrentImageSavePath(string path)
void GetActiveRenderer(string vizWin, string &renderType, string &renderInst) const
Get active renderer class and instance name for a visualizer.
static const string m_pathParamsTag
std::string GetPlotDatasetName() const
void SetActiveRenderer(string vizWin, string renderType, string renderInst)
Get active renderer class and instance name for a visualizer.
static const string m_flowPathTag
string GetCurrentSessionFile() const
void SetPlotDatasetName(std::string &name)
static const string m_sessionFileTag
void SetProjectionString(string proj4String)
vector< BookmarkParams * > GetBookmarks() const
static const string m_statsDatasetNameTag
void SetCurrentFlowPath(string path)
void SetActiveDataset(string name)
static const string BookmarksTag
string GetCurrentImagePath() const
GUIStateParams(VAPoR::ParamsBase::StateSave *ssave, VAPoR::XmlNode *node)
static const string m_proj4StringTag
GUIStateParams(VAPoR::ParamsBase::StateSave *ssave)
void SetCurrentPythonPath(string path)
MouseModeParams * GetMouseModeParams() const
GUIStateParams & operator=(const GUIStateParams &rhs)
string GetCurrentTFPath()
string GetActiveRendererInst() const
void RemoveOpenDateSet(string dataSetName)
int GetFlowDimensionality() const
BookmarkParams * GetBookmark(int i) const
string GetOpenDataSetFormat(string dataSetName) const
string GetCurrentImageSavePath() const
static const string m_imagePathTag
static const string _flowDimensionalityTag
string GetCurrentFlowPath() const
static const string m_pythonPathTag
void InsertOpenDateSet(string dataSetName, string format, const std::vector< string > &paths, const std::vector< string > &relPaths={})
std::vector< string > GetOpenDataSetRelativePaths(string dataSetName) const
void SetCurrentSessionFile(string path)
void SetBookmarks(const vector< BookmarkParams * > &all)
GUIStateParams(const GUIStateParams &rhs)
static const string MovingDomainTrackRenderRegionsTag
void SetCurrentTFPath(string path)
void DeleteBookmark(int i)
void SetCurrentImagePath(string path)
void SetOpenDataSets(const std::vector< string > &paths, const std::vector< string > &names)
void AddBookmark(BookmarkParams *bookmark)
std::vector< string > GetOpenDataSetNames() const
static const string m_tfPathTag
static const string m_imageSavePathTag
void SetActiveTab(const string &t)
void SetActiveVizName(string vizWin)
BookmarkParams * CreateBookmark()
string GetActiveVizName() const
void SetStatsDatasetName(std::string &name)
static string GetClassType()
std::vector< string > GetOpenDataSetPaths(string dataSetName) const
static const string MovingDomainTrackCameraTag
string GetCurrentPythonPath() const
static const string m_plotDatasetNameTag
virtual ~GUIStateParams()
static const string m_activeVisualizer
static const string m_openDataSetsTag
A class for describing mouse modes in use in VAPOR.
Nodes with state in Xml tree representation.
virtual void SetValueString(const string &tag, string description, const string &value)
virtual string GetValueString(const string tag, string defaultVal) const