29 void SetLineThickness(
double val) { SetValueDouble(m_lineThicknessTag,
"Set line thickness", val); }
34 vector<double> defaultv(3, 0.0);
35 return GetValueDoubleVec(m_point1Tag, defaultv);
41 vector<double> defaultv(3, 1.0);
42 return GetValueDoubleVec(m_point2Tag, defaultv);
46 void SetPoint1(vector<double> pt) { SetValueDoubleVec(m_point1Tag,
"Set First Endpoint", pt); }
49 void SetPoint2(vector<double> pt) { SetValueDoubleVec(m_point2Tag,
"Set Second Endpoint", pt); }
61 static const string m_lineThicknessTag;
62 static const string m_point1Tag;
63 static const string m_point2Tag;
A cache based data reader.
Class that supports drawing a line connecting two points.
const vector< double > GetPoint1()
Obtain the first endpoint in user coordinates.
const vector< double > GetPoint2()
Obtain the second endpoint in user coordinates.
static string GetClassType()
void SetPoint1(vector< double > pt)
Set the first endpoint.
void SetPoint2(vector< double > pt)
Set the second endpoint.
double GetLineThickness()
void SetLineThickness(double val)
HelloParams(DataMgr *dataMgr, ParamsBase::StateSave *ssave, XmlNode *node)
virtual size_t GetRenderDim() const override
virtual string GetActualColorMapVariableName() const override
HelloParams(DataMgr *dataMgr, ParamsBase::StateSave *ssave)
A Params subclass for managing parameters used by Renderers.