ContourPlot.cxx
Go to the documentation of this file.
1 
12 // for truncation warning in debug mode
13 #ifdef _MSC_VER
14 #include "msdevstudio/MSconfig.h"
15 #endif
16 
17 #include "ContourPlot.h"
18 
20 #include "reps/ContourPointRep.h"
21 
22 using namespace hippodraw;
23 
25  : DataRep ()
26 {
27  m_name = "Contour Plot";
29  m_rep = new ContourPointRep();
30 }
31 
33 {
34  return new ContourPlot( *this );
35 }
36 
37 bool
40 {
41  return axis == Axes::X || axis == Axes::Y || axis ==Axes::Z;
42 }
A PointRep class that draws a contour lines.
std::string m_name
The name of the display as it might be displayed in a GUI.
Definition: DataRep.h:76
ContourPlot class interface.
A derived class of Hist2DProjImp and NTupleProjector that reads two columns of data and projects them...
DyHist2DProjector class implementation.
DataRep * clone()
The clone function returns an object of its own kind which is a copy of this object at this moment...
Definition: ContourPlot.cxx:32
ContourPlot()
The default constructor.
Definition: ContourPlot.cxx:24
virtual bool hasAxis(hippodraw::Axes::Type) const
Returns true if the data representation has specified axis type axis.
Definition: ContourPlot.cxx:39
RepBase * m_rep
The representation used for drawing each data point in the view.
Definition: DataRep.h:94
The base class for data representations.
Definition: DataRep.h:68
hippodraw::ContourPointRep class interface
ProjectorBase * m_projector
A projector used to transform data to projected values that will be plotted.
Definition: DataRep.h:90
Type
Axes constants.
Definition: AxesType.h:31

Generated for HippoDraw Class Library by doxygen