27 #ifndef INSTANCEPARAMS_H
28 #define INSTANCEPARAMS_H
34 #include <vapor/common.h>
95 static int AddInstance(
const std::string rendererName,
int viznum,
RenderParams* p);
105 static int RemoveSelectedInstance(
int viz);
112 return ((
InstanceParams*)Params::GetParamsInstance(_instanceParamsTag))->getSelectedIndex(viz);
119 static int GetSelectedInstance(
int viz,
int* pType,
int* instance);
126 return ((
InstanceParams*)Params::GetParamsInstance(_instanceParamsTag))->setSelectedIndex(viz, index);
137 static RenderParams* GetRenderParamsInstance(
int viz,
int renIndex);
142 static int GetNumInstances(
int viz);
158 virtual void Validate(
int type);
160 virtual void restart();
170 return (((
InstanceParams*)Params::GetParamsInstance(_instanceParamsTag))->addVizWin(viznum));
190 static int RemoveVizWin(
int viznum);
210 static int renumberInstances(
int viz,
int changedType);
214 #ifndef DOXYGEN_SKIP_THIS
216 static const string _instanceParamsTag;
217 static const string _shortName;
218 static const string _visualizersTag;
220 static const string _renderParamsNodeTag;
221 static const string _instanceInfoTag;
222 static const string _selectionInfoTag;
223 int getCurrentInstance(std::string tag,
int viz);
227 void setRenderParamsNode(
ParamNode* pnode);
228 void removeRenderParamsNode(){
229 GetRootNode()->GetNode(_renderParamsNodeTag)->DeleteAll();
233 int addVizWin(
int viznum);
235 int setSelectedIndex(
int viz,
int index);
236 int getSelectedIndex(
int viz);
239 #endif //DOXYGEN_SKIP_THIS
243 #endif //VIZWINPARAMS_H
static int GetSelectedIndex(int viz)
A pure virtual class for managing parameters used in visualization.
A Params subclass for managing parameters used by Renderers.
A class for describing the renderer instances in use in VAPOR.
const std::string getShortName()
static int SetSelectedIndex(int viz, int index)
static int AddVizWin(int viznum)
Nodes with state in Xml tree representation.
static ParamsBase * CreateDefaultInstance()
A Params subclass for Params classes with one unique instance.