Profile2D.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 "Profile2D.h"
18 
20 #include "reps/ColorBoxPointRep.h"
21 
22 
23 namespace hippodraw {
24 
26  : DataRep ()
27 {
28  m_name = "Profile 2D";
29 
31  m_rep = new ColorBoxPointRep();
32 }
33 
35 {
36  return new Profile2D ( *this );
37 }
38 
39 using namespace hippodraw;
40 
41 bool
44 {
45  return axis == Axes::X || axis == Axes::Y || axis ==Axes::Z;
46 }
47 
48 } // namespace hippodraw
49 
hippodraw::ColorBoxPointRep class interface
Profile2D()
The default constructor.
Definition: Profile2D.cxx:25
std::string m_name
The name of the display as it might be displayed in a GUI.
Definition: DataRep.h:76
DataRep * clone()
The clone function returns an object of its own kind which is a copy of this object at this moment...
Definition: Profile2D.cxx:34
A PointRep class that draws a colored box to represent the value.
Profile2D class interface.
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
The base class for data representations.
Definition: DataRep.h:68
virtual bool hasAxis(hippodraw::Axes::Type) const
Returns true if the data representation has specified axis type axis.
Definition: Profile2D.cxx:43
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