ProfileContour.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 "ProfileContour.h"
18 
20 #include "reps/ContourPointRep.h"
21 
22 namespace hippodraw {
23 
25  : DataRep ()
26 {
27  m_name = "Profile Contour";
28 
30  m_rep = new ContourPointRep();
31 }
32 
34 {
35  return new ProfileContour ( *this );
36 }
37 
38 using namespace hippodraw;
39 
40 bool
43 {
44  return axis == Axes::X || axis == Axes::Y || axis ==Axes::Z;
45 }
46 
47 } // namespace hippodraw
48 
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
A derived class of BinningProjector that reads three columns of data and projects them to a two dimen...
Profile2DProjector class interface.
RepBase * m_rep
The representation used for drawing each data point in the view.
Definition: DataRep.h:94
ProfileContour()
The default constructor.
The base class for data representations.
Definition: DataRep.h:68
DataRep * clone()
The clone function returns an object of its own kind which is a copy of this object at this moment...
hippodraw::ContourPointRep class interface
virtual bool hasAxis(hippodraw::Axes::Type) const
Returns true if the data representation has specified axis type axis.
ProjectorBase * m_projector
A projector used to transform data to projected values that will be plotted.
Definition: DataRep.h:90
ProfileContour class interface.
Type
Axes constants.
Definition: AxesType.h:31

Generated for HippoDraw Class Library by doxygen