29 #ifndef TRIALDISPLAY_DDDPOLYGON_H
30 #define TRIALDISPLAY_DDDPOLYGON_H
virtual casacore::Record description()
Return a record describing this object.
casacore::Vector< casacore::Double > itsPixelX
DrawingDisplayData * owner()
Return the owner of this object.
casacore::Double itsBaseMoveY
void updateWorldValues()
Update private world parameters from current pixel values.
Class which stores WorldCanvas refresh event information.
void listWorld()
Debugging routines.
DisplayData which provides interactive drawing capabilities.
casacore::Quantum< casacore::Vector< casacore::Double > > itsWorldX
Define x and y.
WorldCanvas * itsWorldCanvasPtr
pointer to world canvas (shallow copy)
casacore::Double itsBaseMoveX
Store for movement bases.
virtual ~DDDPolygon()
Destructor.
virtual void operator()(const WCRefreshEvent &)
Event handlers.
casacore::Matrix< casacore::Double > itsCorners
Rotated Rectangle Corners to draw in screen pixel.
ostream-like interface to creating log messages.
void convertToPixel()
COnvert parameters from world to pixel.
void decode(const casacore::RecordInterface &description, casacore::Bool required)
Decode record into private data.
virtual void setDescription(const casacore::Record &rec)
Update this object based on the information in the provided Record.
casacore::Block< DDDHandle > itsHandles
casacore::List of handles
DisplayCoordinateSystem itsCoordinateSystem
DisplayCoordinateSystem in screen pixel coordinates.
casacore::Bool itsRecompute
In function draw(), recompute all pixel coordinates when true else use what is currently set...
virtual void draw(const Display::RefreshReason &reason, WorldCanvas *worldcanvas)
Draw this rectangle object for the given reason on the provided WorldCanvas.
Class which stores WorldCanvas motion event information.
Implementation of aan ellipse object for DrawingDisplayData class.
void createCorners()
compute corners of rectangle of bounding box of polygon
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.
casacore::Quantum< casacore::Vector< casacore::Double > > itsWorldY
DDDPolygon()
(Required) default constructor.
casacore::LogIO itsLogger
LOgger.
casacore::uInt itsNPoints
casacore::Vector< casacore::Double > itsPixelY
void createHandles()
create handles, one per vertex
DDDObject::Mode itsMode
Mode.
Quantities (i.e. dimensioned values)
void operator=(const DDDPolygon &other)
(Required) copy assignment.
RefreshReason
Callback reasons for PCRefreshEvent and WCRefreshEvent.
Class which stores WorldCanvas position event information.
Implementation of drawing in world coordinates on top of a PixelCanvas.
casacore::Bool itsOutline
Fill style.
Abstract base class for Record classes.
void encode(casacore::RecordInterface &description) const
Encode private data into record.
casacore::Bool itsFracX
Fractional indicators.
#define casacore
<X11/Intrinsic.h> #defines true, false, casacore::Bool, and String.