Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

PointRepBase.cxx

Go to the documentation of this file.
00001 
00011 #ifdef _MSC_VER
00012 #include "msdevstudio/MSconfig.h"
00013 #endif
00014 
00015 #include "PointRepBase.h"
00016 
00017 #include "ErrorBarRep.h"
00018 
00019 #include "graphics/ViewBase.h"
00020 
00021 using std::string;
00022 
00023 PointRepBase::PointRepBase ( const char * name, float size )
00024   : RepBase ( name, size ),
00025     m_error_rep ( 0 )
00026 {
00027 }
00028 
00029 PointRepBase::PointRepBase ( const PointRepBase & point_rep )
00030   : RepBase ( point_rep ),
00031     m_error_rep ( 0 ) // derived class can reset it.
00032 {
00033 }
00034 
00035 /* virtual */
00036 void PointRepBase::setSelected ( bool yes )
00037 {
00038   RepBase::setSelected ( yes );
00039 
00040   if ( m_error_rep ) {
00041     m_error_rep->setSelected ( yes );
00042   }
00043 }

Generated for HippoDraw-1.14.8.5 by doxygen 1.4.3