PointRepBase.cxx
Go to the documentation of this file.
1 
11 #ifdef _MSC_VER
12 #include "msdevstudio/MSconfig.h"
13 #endif
14 
15 #include "PointRepBase.h"
16 
17 #include "ErrorBarRep.h"
18 
19 #include "graphics/ViewBase.h"
20 
21 using std::string;
22 
23 namespace hippodraw {
24 
25 PointRepBase::PointRepBase ( const char * name, float size )
26  : RepBase ( name, size ),
27  m_error_rep ( 0 )
28 {
29 }
30 
32  : RepBase ( point_rep ),
33  m_error_rep ( 0 ) // derived class can reset it.
34 {
35 }
36 
37 /* virtual */
38 void PointRepBase::setSelected ( bool yes )
39 {
40  RepBase::setSelected ( yes );
41 
42  if ( m_error_rep ) {
43  m_error_rep->setSelected ( yes );
44  }
45 }
46 
47 } // namespace hippodraw

Generated for HippoDraw Class Library by doxygen