14 #ifndef _LinePointRep_H_
15 #define _LinePointRep_H_
40 double m_xmin, m_xmax,
m_ymin, m_ymax;
46 void transformValues (
const DataSource * source,
49 bool outside_box(std::vector<double>::const_iterator ix,
50 std::vector<double>::const_iterator iy)
const;
52 bool straddles_x_boundary(std::vector<double>::const_iterator ix,
53 std::vector<double>::const_iterator iy,
55 double & distance)
const;
57 bool straddles_y_boundary(std::vector<double>::const_iterator ix,
58 std::vector<double>::const_iterator iy,
60 double & distance)
const;
62 bool cornerCase(std::vector<double>::const_iterator ix,
63 std::vector<double>::const_iterator iy,
64 std::vector<double> & x, std::vector<double> & y)
const;
66 double interpolate(
double x, std::vector<double>::const_iterator ix,
67 std::vector<double>::const_iterator iy)
const;
69 double separation(
const Point & pt1,
const Point & pt2)
const;
71 void findEndPoints(std::vector<double>::const_iterator ix,
72 std::vector<double>::const_iterator iy,
75 void addEndPoints(std::vector<double>::const_iterator ix,
76 std::vector<double>::const_iterator iy,
77 std::vector<double> & x, std::vector<double> & y)
const;
87 std::vector< double >
m_x;
95 std::vector< double >
m_y;
108 void drawValues (
ViewBase * view );
129 virtual void setStyle (
unsigned int style );
133 virtual unsigned int getStyle ( )
const;
135 virtual void drawProjectedValues (
const DataSource * ntuple,
147 #endif // _LinePointRep_H_
#define MDL_HIPPOPLOT_API
std::vector< double > m_y
A cache of the points along the Y axis to be drawn.
A transform that transforms coordinates from one coordinate system to another.
Class representing a two or three dimension point.
hippodraw::Line::Style m_line_style
The style currently used.
std::vector< double > m_x
A cache of the points along the X axis to be drawn.
numeric::array clone(numeric::array arr)
intp size(numeric::array arr)
Class representing a rectangle.
Style
Line style constants.
The abstract base class for views.
hippodraw::PointRepBase class interface
A PointRep class that draws a column to represent the value.
The base class for the point representation hierarchy.
The base class for the point representation hierarchy.
Base class for DataSource.