VAPOR3 3.9.4
AxisAnnotation.h
Go to the documentation of this file.
1#ifndef AXISANNOTATION_H
2#define AXISANNOTATION_H
3/*
4 * This class describes a viewpoint
5 */
6#include <vapor/ParamsBase.h>
7
8namespace VAPoR {
9
16
20
22public:
23 enum Flags {};
24
27 virtual ~AxisAnnotation();
28
29 void Initialize();
30
33
34 vector<double> GetAxisBackgroundColor() const;
35 void GetAxisBackgroundColor(float bgColor[]) const;
36 void SetAxisBackgroundColor(vector<double> color);
37
38 vector<double> GetAxisColor() const;
39 void SetAxisColor(vector<double> color);
40
41 void SetNumTics(vector<double> ticnums);
42 vector<double> GetNumTics() const;
43
44 void SetAxisOrigin(vector<double> orig);
45 vector<double> GetAxisOrigin() const;
46
47 void SetMinTics(vector<double> ticmins);
48 vector<double> GetMinTics() const;
49
50 void SetMaxTics(vector<double> ticmaxs);
51 vector<double> GetMaxTics() const;
52
53 void SetTicSize(vector<double> ticsizes);
54 vector<double> GetTicSize() const;
55
56 void SetXTicDir(double dir);
57 int GetXTicDir() const;
58
59 void SetYTicDir(double dir);
60 int GetYTicDir() const;
61
62 void SetZTicDir(double dir);
63 int GetZTicDir() const;
64
65 void SetTicDirs(vector<double> ticdirs);
66 vector<double> GetTicDirs() const;
67
68 double GetTicWidth() const;
69 void SetTicWidth(double val);
70
71 long GetAxisTextHeight() const;
72 void SetAxisTextHeight(long val);
73
74 long GetAxisDigits() const;
75 void SetAxisDigits(long val);
76
77 void SetLatLonAxesEnabled(bool val);
79
80 string GetDataMgrName() const;
81 void SetDataMgrName(string dataMgr);
82
83 bool GetShowAxisArrows() const;
84 void SetShowAxisArrows(bool val);
85
86 void SetAxisFontSize(int size);
87 int GetAxisFontSize() const;
88
91
92 static string GetClassType() { return ("AxisAnnotation"); }
93
94 static const string _colorTag;
95 static const string _digitsTag;
96 static const string _textHeightTag;
97 static const string _fontSizeTag;
98 static const string _ticWidthTag;
99 static const string _ticDirsTag;
100 static const string _ticSizeTag;
101 static const string _minTicsTag;
102 static const string _maxTicsTag;
103 static const string _numTicsTag;
104 static const string _originTag;
105 static const string _backgroundColorTag;
106 static const string _annotationEnabledTag;
107 static const string _latLonAxesTag;
108 static const string _dataMgrTag;
109 static const string _initializedTag;
110};
111}; // namespace VAPoR
112
113#endif // AXISANNOTATION_H
class that indicates location and direction of view
static const string _dataMgrTag
void SetYTicDir(double dir)
void SetTicDirs(vector< double > ticdirs)
double GetTicWidth() const
void GetAxisBackgroundColor(float bgColor[]) const
vector< double > GetTicSize() const
static const string _fontSizeTag
static const string _textHeightTag
static const string _maxTicsTag
int GetYTicDir() const
static const string _latLonAxesTag
vector< double > GetAxisOrigin() const
static const string _colorTag
vector< double > GetMinTics() const
static const string _backgroundColorTag
void SetTicWidth(double val)
void SetAxisAnnotationInitialized(bool val)
int GetXTicDir() const
bool GetAxisAnnotationEnabled() const
void SetAxisAnnotationEnabled(bool val)
static const string _annotationEnabledTag
vector< double > GetTicDirs() const
void SetMaxTics(vector< double > ticmaxs)
static const string _ticSizeTag
void SetAxisDigits(long val)
void SetAxisOrigin(vector< double > orig)
static const string _digitsTag
vector< double > GetMaxTics() const
static string GetClassType()
static const string _ticDirsTag
void SetAxisColor(vector< double > color)
int GetAxisFontSize() const
void SetDataMgrName(string dataMgr)
void SetNumTics(vector< double > ticnums)
AxisAnnotation(ParamsBase::StateSave *ssave, XmlNode *node)
void SetTicSize(vector< double > ticsizes)
vector< double > GetAxisColor() const
void SetAxisTextHeight(long val)
void SetAxisFontSize(int size)
long GetAxisDigits() const
static const string _numTicsTag
bool GetLatLonAxesEnabled() const
void SetLatLonAxesEnabled(bool val)
static const string _originTag
void SetShowAxisArrows(bool val)
AxisAnnotation(ParamsBase::StateSave *ssave)
bool GetAxisAnnotationInitialized() const
long GetAxisTextHeight() const
static const string _minTicsTag
bool GetShowAxisArrows() const
static const string _initializedTag
vector< double > GetNumTics() const
void SetAxisBackgroundColor(vector< double > color)
int GetZTicDir() const
vector< double > GetAxisBackgroundColor() const
void SetXTicDir(double dir)
void SetZTicDir(double dir)
void SetMinTics(vector< double > ticmins)
string GetDataMgrName() const
static const string _ticWidthTag
State capture class.
Definition: ParamsBase.h:62
Nodes with state in Xml tree representation.
Definition: ParamsBase.h:50
An Xml tree.
Definition: XmlNode.h:49
#define PARAMS_API
Definition: common.h:77