29 #ifndef REGION_POINT_H_
30 #define REGION_POINT_H_
46 class QtRegionSourceKernel;
61 Rectangle(
"point", wc, factory->dock( ), x, y, x, y,
79 unsigned int mouseMovement(
double x,
double y,
bool other_selected );
101 std::vector<std::pair<double,double> > &world_pts )
const;
unsigned int mouseMovement(double x, double y, bool other_selected)
returns mouse movement state
Base class for annotations.
AnnotationBase * annotation() const
std::list< std::shared_ptr< RegionInfo > > * generate_dds_centers()
void resize(double, double)
region::PointInfo checkPoint(double x, double y) const
returns point state (Region::PointLocation)
int clickHandle(double, double) const
bool degenerate() const
points cannot be degenerate...
void draw_arrow(PixelCanvas *, int, int, int, int, int, int)
Base class defining interface to pixel-based output devices.
virtual void fetch_region_details(region::RegionTypes &type, std::vector< std::pair< int, int > > &pixel_pts, std::vector< std::pair< double, double > > &world_pts) const
All regions are specified in "linear coordinates", not "pixel coordinates".
bool clickWithin(double x, double y) const
Point(WorldCanvas *wc, QtRegionDock *d, double x, double y, QtMouseToolNames::PointRegionSymbols sym)
void setRegion(Region *r)
QtMouseToolNames::PointRegionSymbols marker_
Implementation of drawing in world coordinates on top of a PixelCanvas.
region::RegionTypes type() const
fetch region type...
bool setMarker(QtMouseToolNames::PointRegionSymbols sym)
All regions are specified in "linear coordinates", not "pixel coordinates".
Point(QtRegionSourceKernel *factory, WorldCanvas *wc, double x, double y, bool hold_signals=false, QtMouseToolNames::PointRegionSymbols sym=QtMouseToolNames::SYM_DOT)
carry over from QtRegion...
virtual bool output_region(ds9writer &out, WorldCanvas *wc, const std::vector< std::pair< double, double > > &pts) const