Image.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 "Image.h"
18 
20 #include "reps/ColorBoxPointRep.h"
21 
22 using namespace hippodraw;
23 
25  : DataRep()
26 {
27  m_name = "Image";
28 
29  MapMatrixProjector * projector = new MapMatrixProjector();
30  m_projector = projector;
31  m_rep = new ColorBoxPointRep();
32 }
33 
35 {
36  return new Image ( *this );
37 }
38 
39 bool Image::acceptFunction ( int num )
40 {
41  return num == 2;
42 }
43 
44 using namespace hippodraw;
45 
46 bool
47 Image::
49 {
50  return axis == Axes::X || axis == Axes::Y || axis ==Axes::Z;
51 }
52 
53 bool
54 Image::
56 {
57  return true;
58 }

Generated for HippoDraw Class Library by doxygen