00001 #ifndef VP1GUIDELINESYSTEM_H
00002 #define VP1GUIDELINESYSTEM_H
00003
00005
00006
00007
00008
00009
00010
00011
00013
00014 #include "VP1Base/IVP13DSystemSimple.h"
00015 #include "VP1Utils/InDetProjFlags.h"
00016 #include <QtGui/QColor>
00017
00018 class VP1GuideLineSystem : public IVP13DSystemSimple {
00019
00020 Q_OBJECT
00021
00022 public:
00023
00025
00027
00028 VP1GuideLineSystem();
00029
00030 void setFloorDefaults(bool enablefloor = false, bool enableACSideDesignations=false,
00031 double spacing = 1.0e3, double extent = 15.0e3, QColor color=Qt::white, double transparency=0.0 ) {
00032 enablefloor = false; enableACSideDesignations=false;
00033 spacing = 1.0e3; extent = 15.0e3; color=Qt::white; transparency=0.0;
00034 messageDebug("setFloorDefaults call on grid system is obsolete.");}
00035
00037
00039
00040 virtual ~VP1GuideLineSystem();
00041 void buildPermanentSceneGraph(StoreGateSvc* detstore, SoSeparator *root);
00042 void buildEventSceneGraph(StoreGateSvc*, SoSeparator *);
00043 void systemuncreate();
00044 QWidget * buildController();
00045 QByteArray saveState();
00046 void restoreFromState(QByteArray ba);
00047
00049
00051
00052 public slots:
00053
00054
00055
00056
00057
00058
00059
00060 void setIDDetTypesUsingProjections( InDetProjFlags::DetTypeFlags );
00061
00062
00063 void possiblyEmit_ApplicableProjectionsChanged();
00064
00065 signals:
00066
00067
00068
00069
00070
00071 void applicableProjectionsChanged( InDetProjFlags::InDetProjPartsFlags pixel,
00072 InDetProjFlags::InDetProjPartsFlags sct,
00073 InDetProjFlags::InDetProjPartsFlags trt );
00074
00075 private:
00076 class Imp;
00077 Imp * d;
00078 };
00079
00080 #endif