Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
datareps
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
19
#include "
projectors/Profile2DProjector.h
"
20
#include "
reps/ColorBoxPointRep.h
"
21
22
23
namespace
hippodraw {
24
25
Profile2D::Profile2D
( )
26
:
DataRep
()
27
{
28
m_name
=
"Profile 2D"
;
29
30
m_projector
=
new
Profile2DProjector
();
31
m_rep
=
new
ColorBoxPointRep
();
32
}
33
34
DataRep
*
Profile2D::clone
()
35
{
36
return
new
Profile2D
( *
this
);
37
}
38
39
using namespace
hippodraw;
40
41
bool
42
Profile2D::
43
hasAxis
(
hippodraw::Axes::Type
axis )
const
44
{
45
return
axis ==
Axes::X
|| axis ==
Axes::Y
|| axis ==
Axes::Z
;
46
}
47
48
}
// namespace hippodraw
49
Generated for HippoDraw Class Library by