Go to the documentation of this file.
28 #ifndef LATTICES_LCINTERSECTION_H
29 #define LATTICES_LCINTERSECTION_H
32 #include <casacore/casa/aips.h>
33 #include <casacore/lattices/LRegions/LCRegionMulti.h>
LCIntersection(Bool takeOver, const PtrBlock< const LCRegion * > ®ions)
Construct from multiple regions given as a Block.
Specify which elements to extract from an n-dimensional array.
void defineBox()
Make the bounding box and determine the offsets.
A Vector of integers, for indexing into Array<T> objects.
LCIntersection(const LCIntersection &other)
Copy constructor (copy semantics).
virtual ~LCIntersection()
A drop-in replacement for Block<T*>.
virtual LCRegion * doTranslate(const Vector< Float > &translateVector, const IPosition &newLatticeShape) const
Construct another LCRegion (for e.g.
Block< IPosition > itsOffsets
LCIntersection(Bool takeOver, const LCRegion *region1, const LCRegion *region2=0, const LCRegion *region3=0, const LCRegion *region4=0, const LCRegion *region5=0, const LCRegion *region6=0, const LCRegion *region7=0, const LCRegion *region8=0, const LCRegion *region9=0, const LCRegion *region10=0)
Construct from multiple regions.
A hierarchical collection of named fields of various types.
virtual TableRecord toRecord(const String &tableName) const
Convert the (derived) object to a record.
virtual LCRegion * cloneRegion() const
Make a copy of the derived object.
const PtrBlock< const LCRegion * > & regions() const
Get the contributing regions.
static String className()
Get the class name (to store in the record).
Make the intersection of 2 or more regions.
Make the intersection of 2 or more regions.
Abstract base class to define a region of interest in lattice coordinates.
LCIntersection(const LCRegion ®ion1, const LCRegion ®ion2)
Construct the intersection of the given regions.
this file contains all the compiler specific defines
virtual Bool operator==(const LCRegion &other) const
Comparison.
LCIntersection & operator=(const LCIntersection &other)
Assignment (copy semantics).
static LCIntersection * fromRecord(const TableRecord &, const String &tableName)
Convert correct object from a record.
virtual String type() const
Get the region type.
String: the storage and methods of handling collections of characters.
bool Bool
Define the standard types used by Casacore.
virtual void multiGetSlice(Array< Bool > &buffer, const Slicer §ion)
Do the actual getting of the mask.