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

EventDisplay/GfxStripListCfg.h

Go to the documentation of this file.
00001 
00017 #ifndef GFXSTRIPLISTCFG_H
00018 #define GFXSTRIPLISTCFG_H
00019 
00020 #include "GfxCfg.h"
00021 #include <Conventions/PlaneView.h>
00022 
00023 class GfxStripListCfg : public GfxCfg
00024 {
00025 
00026 public:
00027 
00028     // Config with a key of the enum name, less the "_t".
00029     // For the value, use the enum element less the "k".
00030     // First value is default.
00031 
00032     // Multiply size by this factor.  Use "SizeFactor" in the
00033     // Registry.
00034     double GetSizeFactor();
00035     
00036     typedef enum {
00037         kFull=0,                // draw full extent of strip
00038         kHalf,                  // +/- ends above/below
00039         kBit,                   // +end + -end >= 1 ? ON : OFF
00040         kBowTie                // +/- ends diagonally opposed
00041     } StripEnd_t;
00042     StripEnd_t GetStripEnd();
00043 //    void SetStripEnd(StripEnd_t se);
00044 
00045     typedef enum {
00046         kTime=0,                // Measure represents time 
00047         kCharge                 // Measure represents charge
00048     } MeasureScale_t;
00049     MeasureScale_t GetSizeIs();
00050 //    void SetSizeIs(MeasureScale_t si);
00051 
00052     typedef enum {
00053         kAbsolute,              // scale hits in pixels or
00054         kRelative               // in relative units
00055     } ScaleIs_t;
00056     ScaleIs_t GetScaleIs();
00057 
00058     typedef enum {              // How to size the strips
00059         kArea=0,                // width*height propto charge
00060         kFixed,                 // fixed, physical size (-epsilon)
00061         kLinear,                // width/height propto charge
00062         kLogLinear,             // log of above
00063         kLogArea                // log of above
00064     } SizeBy_t;
00065     SizeBy_t GetSizeBy();
00066 //    void SetSizeBy(SizeBy_t sb); 
00067 
00068     typedef enum {
00069         kRectangle,             // use rectable for strip shape
00070         kEllipse                // use ellipse for strip shape
00071     } ShapeIs_t;
00072     ShapeIs_t GetShapeIs();
00073 //    void SetShapeIs(ShapeIs_t si);
00074 
00075     GfxStripListCfg(Registry* initial_config = 0);
00076     ~GfxStripListCfg();
00077 
00078 };                              // end of class GfxStripListCfg
00079 
00080 #endif  // GFXSTRIPLISTCFG_H

Generated on Mon Feb 15 11:06:46 2010 for loon by  doxygen 1.3.9.1