29 #ifndef TRIALDISPLAY_DDDELLIPSE_H
30 #define TRIALDISPLAY_DDDELLIPSE_H
casacore::Block< DDDHandle > itsHandles
casacore::List of handles
A 1-D Specialization of the Array class.
DrawingDisplayData * owner()
Return the owner of this object.
casacore::LogIO itsLogger
Logger.
casacore::Bool itsDoRef
Do world/pixel conversions at reference location ?
Class which stores WorldCanvas refresh event information.
void operator=(const DDDEllipse &other)
(Required) copy assignment.
void decode(const casacore::RecordInterface &description, casacore::Bool required)
Decode record into private data.
void convertToPixel()
COnvert parameters from world to pixel.
casacore::Vector< casacore::Double > itsPixelShape
DisplayData which provides interactive drawing capabilities.
casacore::Bool itsRectangle
are we drawing a rectangle or an ellipse ?
WorldCanvas * itsWorldCanvasPtr
pointer to world canvas (shallow copy)
ostream-like interface to creating log messages.
casacore::Vector< casacore::Double > itsPixelCenter
Define center x, center y, major, minor, pa (radians) in screen pixel.
Implementation of an ellipse/rectangle object for DrawingDisplayData class.
casacore::Matrix< casacore::Double > itsCorners
Rotated Rectangle Corners to draw in screen pixel.
void encode(casacore::RecordInterface &description) const
Encode private data into record.
virtual void draw(const Display::RefreshReason &reason, WorldCanvas *worldcanvas)
Draw this object for the given reason on the provided WorldCanvas.
virtual ~DDDEllipse()
Destructor.
casacore::Bool itsFracX
Fractional indicators.
casacore::Double itsBaseMoveX
Store for movement bases.
Class which stores WorldCanvas motion event information.
casacore::Double itsBaseMoveY
virtual void operator()(const WCRefreshEvent &ev)
Event handlers.
Base class describing interface for objects supported by DrawingDisplayData.
A hierarchical collection of named fields of various types.
bool Bool
Define the standard types used by Casacore.
DisplayCoordinateSystem itsCoordinateSystem
DisplayCoordinateSystem in screen pixel coordinates.
void listWorld()
Debugging routines.
virtual void setDescription(const casacore::Record &rec)
Update this object based on the information in the provided Record.
RefreshReason
Callback reasons for PCRefreshEvent and WCRefreshEvent.
Class which stores WorldCanvas position event information.
DDDObject::Mode itsMode
Mode.
virtual casacore::Record description()
Return a record describing this object.
Implementation of drawing in world coordinates on top of a PixelCanvas.
DDDEllipse()
(Required) default constructor.
void createCorners()
compute corners of rectangle
casacore::Bool itsOutline
Fill style.
casacore::Matrix< casacore::Double > itsPixelOffsets
casacore::Vector< casacore::Quantum< casacore::Double > > itsWorldParameters
Define center x, center y, major, minor, pa in world.
Abstract base class for Record classes.
casacore::Matrix< casacore::Int > toIntPixel(const casacore::Matrix< casacore::Double > &points)
void updateWorldValues()
Update private world parameters from current pixel values.
#define casacore
<X11/Intrinsic.h> #defines true, false, casacore::Bool, and String.