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