28 #ifndef LATTICES_LCBOX_H
29 #define LATTICES_LCBOX_H
A Vector of integers, for indexing into Array<T> objects.
Class to define a rectangular box of interest.
static String className()
Get the class name (to store in the record).
static Bool verify(IPosition &blc, IPosition &trc, IPosition &inc, const IPosition &shape)
Verify a box specification.
virtual String type() const
Get the region type.
virtual TableRecord toRecord(const String &tableName) const
Convert the (derived) object to a record.
Abstract base class to define a fixed region.
virtual LCRegion * doTranslate(const Vector< Float > &translateVector, const IPosition &newLatticeShape) const
Construct another LCBox (for e.g.
void fillBlcTrc()
Fill the blc and trc vector from IPositions.
LCBox & operator=(const LCBox &other)
Assignment (copy semantics).
virtual Bool operator==(const LCRegion &other) const
Comparison.
static LCBox * fromRecord(const TableRecord &, const String &tablename)
Convert correct object from a record.
virtual LCRegion * cloneRegion() const
Make a copy of the derived object.
const IPosition & latticeShape() const
Give the full lattice shape.
bool Bool
Define the standard types used by Casacore.
virtual IPosition shape() const
Return the shape of the region (i.e.
A hierarchical collection of named fields of various types.
Specify which elements to extract from an n-dimensional array.
Vector< Float > trc() const
Get the box trc.
Vector< Float > blc() const
Get the box blc.
String: the storage and methods of handling collections of characters.
void setSlicerBox(const IPosition &blc, const IPosition &trc)
Make a box from the blc,trc such that it does not exceed the lattice boundaries.
Abstract base class to define a region of interest in lattice coordinates.