28 #ifndef TRIALDISPLAY_DDDHANDLE_H
29 #define TRIALDISPLAY_DDDHANDLE_H
casacore::Matrix< casacore::Double > getHandle() const
A class to draw and detect handles on a DDDObject.
virtual casacore::Bool underCursor(casacore::Double posx, casacore::Double posy) const
This function returns true when the input poistion is within the handle.
virtual void move(casacore::Double dx, casacore::Double dy)
move the handle to a new position
DDDHandle::Size itsSize
the size
virtual casacore::Double blcX() const
utility funtions to retrieve blc/trc of the handle or the handle corners
virtual void resize(const DDDHandle::Size &size)
give the handle a new size
virtual casacore::Double trcX() const
virtual casacore::Double blcY() const
virtual casacore::Double trcY() const
casacore::Matrix< casacore::Double > itsCorners
the corners
DDDHandle()
Default constructor.
void operator=(const DDDHandle &)
bool Bool
Define the standard types used by Casacore.
Size
enum describing the size of the handle
virtual ~DDDHandle()
Destructor.
void createHandle(casacore::Double x, casacore::Double y)
set up the handle