Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
reps
AxisRep2D.cxx
Go to the documentation of this file.
1
12
#ifdef _MSC_VER
13
// for min()
14
#include "msdevstudio/MSconfig.h"
15
#endif
16
17
#include "
AxisRep2D.h
"
18
19
#include "
graphics/ViewBase.h
"
20
#include <algorithm>
21
22
#include <cmath>
23
#include <cassert>
24
25
using
std::min;
26
using
std::string;
27
using
std::vector;
28
29
using namespace
hippodraw;
30
31
AxisRep2D::AxisRep2D
()
32
:
AxisRepBase
()
33
{
34
}
35
36
AxisRep2D::AxisRep2D
(
const
AxisRep2D
& axis_rep )
37
:
AxisRepBase
( axis_rep )
38
{
39
}
40
41
AxisRepBase
*
AxisRep2D::clone
()
42
{
43
return
new
AxisRep2D
( *
this
);
44
}
45
46
void
47
AxisRep2D::
48
drawZLabels
(
const
AxisModelBase
&,
49
ViewBase
&,
const
std::string & )
50
{
51
assert(
false
);
52
// Should never be called.
53
}
54
55
void
56
AxisRep2D::
57
drawAllZTicks
(
const
AxisModelBase
&,
58
const
TransformBase
&,
59
ViewBase
& )
60
{
61
// Should never be called;
62
assert(
false
);
63
}
Generated for HippoDraw Class Library by