| 
    BornAgain
    1.19.79
    
   Simulate and fit neutron and x-ray scattering at grazing incidence 
   | 
 
Definition at line 23 of file MaskItemCatalog.h.
Public Types | |
| using | CatalogedType = MaskItem | 
| enum class | Type : uint8_t {  RegionOfInterest = 0 , Rectangle = 1 , Polygon = 2 , VerticalLine = 3 , HorizontalLine = 4 , MaskAll = 5 }  | 
Static Public Member Functions | |
| static MaskItem * | create (Type type) | 
| Creates the item of the given type.  More... | |
| static Type | type (const MaskItem *item) | 
| Returns the enum type of the given item.  More... | |
| static QVector< Type > | types () | 
| Available types of items.  More... | |
Definition at line 25 of file MaskItemCatalog.h.
      
  | 
  strong | 
| Enumerator | |
|---|---|
| RegionOfInterest | |
| Rectangle | |
| Polygon | |
| VerticalLine | |
| HorizontalLine | |
| MaskAll | |
Definition at line 28 of file MaskItemCatalog.h.
Creates the item of the given type.
Definition at line 19 of file MaskItemCatalog.cpp.
References HorizontalLine, MaskAll, Polygon, Rectangle, RegionOfInterest, type(), and VerticalLine.
      
  | 
  static | 
Returns the enum type of the given item.
Definition at line 44 of file MaskItemCatalog.cpp.
References HorizontalLine, MaskAll, Polygon, Rectangle, RegionOfInterest, and VerticalLine.
Referenced by create().
      
  | 
  static | 
Available types of items.
Definition at line 38 of file MaskItemCatalog.cpp.
References HorizontalLine, MaskAll, Polygon, Rectangle, RegionOfInterest, and VerticalLine.