|
| PlotSelectTool (PlotCoordinate::System system=PlotCoordinate::WORLD) |
| Constructor which takes the tool's coordinate system. More...
|
|
| PlotSelectTool (PlotAxis xAxis, PlotAxis yAxis, PlotCoordinate::System system=PlotCoordinate::WORLD) |
| Constructor which takes the tool's axes and coordinate system. More...
|
|
virtual | ~PlotSelectTool () |
| Destructor. More...
|
|
virtual void | addNotifier (PlotSelectToolNotifier *notifier) |
| Adds the given notifier. More...
|
|
virtual void | setSelectLine (PlotLinePtr line) |
| Sets the selection line to the given. More...
|
|
virtual void | setSubtractLine (PlotLinePtr line) |
|
virtual void | setSelectLine (bool on=true) |
|
virtual void | setDrawRects (bool on=true) |
| Sets the attributes for drawing selected regions. More...
|
|
virtual void | setRectLine (PlotLinePtr line) |
|
virtual void | setRectFill (PlotAreaFillPtr fill) |
|
virtual unsigned int | numSelectedRects () const |
| Selected regions. More...
|
|
virtual void | getSelectedRects (std::vector< double > &upperLeftXs, std::vector< double > &upperLeftYs, std::vector< double > &lowerRightXs, std::vector< double > &lowerRightYs, PlotCoordinate::System system=PlotCoordinate::WORLD) const |
|
virtual std::vector< PlotRegion > | getSelectedRects (PlotCoordinate::System system=PlotCoordinate::WORLD) const |
|
virtual void | clearSelectedRects () |
|
virtual int | getSelectedRectCount () |
|
virtual void | setActive (bool active=true) |
| Overrides PlotTool::setActive(). More...
|
|
virtual void | handleMouseEvent (const PlotEvent &event) |
| Implements PlotMouseTool::handleMouseEvent(). More...
|
|
bool | inSubtractionMode () |
|
| PlotMouseTool (PlotCoordinate::System coordSys=PlotCoordinate::WORLD) |
| Constructor which takes the tool's coordinate system. More...
|
|
| PlotMouseTool (PlotAxis xAxis, PlotAxis yAxis, PlotCoordinate::System coordSys=PlotCoordinate::WORLD) |
| Constructor which takes the tool's axes and coordinate system. More...
|
|
virtual | ~PlotMouseTool () |
| Destructor. More...
|
|
virtual void | handleSelect (const PlotSelectEvent &event) |
| Event handling methods. More...
|
|
virtual void | handleClick (const PlotClickEvent &event) |
| Handle the given event. More...
|
|
virtual void | handleMousePress (const PlotMousePressEvent &event) |
| Handle the given event. More...
|
|
virtual void | handleMouseRelease (const PlotMouseReleaseEvent &event) |
| Handle the given event. More...
|
|
virtual void | handleMouseDrag (const PlotMouseDragEvent &event) |
| Handle the given event. More...
|
|
virtual void | handleMouseMove (const PlotMouseMoveEvent &event) |
| Handle the given event. More...
|
|
virtual void | handleWheel (const PlotWheelEvent &event) |
| Handle the given event. More...
|
|
| PlotTool (PlotCoordinate::System sys=PlotCoordinate::WORLD) |
| Constructor which takes which coordinate system events should be processed in. More...
|
|
| PlotTool (PlotAxis xAxis, PlotAxis yAxis, PlotCoordinate::System sys=PlotCoordinate::WORLD) |
| Constructor which takes the two axes and the coordinate system which events should be processed in. More...
|
|
virtual | ~PlotTool () |
| Destructor. More...
|
|
virtual bool | isActive () const |
| Returns whether this tool is currently active or not. More...
|
|
virtual bool | isBlocking () const |
| Returns whether this tool is blocking or not. More...
|
|
virtual void | setBlocking (bool blocking=true) |
| Sets whether this tool is blocking or not. More...
|
|
virtual PlotAxis | getXAxis () const |
| Gets the axes on which the tool operates. More...
|
|
virtual PlotAxis | getYAxis () const |
|
virtual PlotCoordinate::System | getCoordinateSystem () const |
| Gets the coordinate system in which the tool wants to process events. More...
|
|
virtual bool | lastEventWasHandled () const |
| Returns whether the last event was handled or not. More...
|
|
virtual void | reset () |
| Resets any internal state such as history/stacks. More...
|
|
Public Member Functions inherited from casa::PlotSelectEventHandler |
| PlotSelectEventHandler () |
|
virtual | ~PlotSelectEventHandler () |
|
Public Member Functions inherited from casa::PlotClickEventHandler |
| PlotClickEventHandler () |
|
virtual | ~PlotClickEventHandler () |
|
Public Member Functions inherited from casa::PlotMousePressEventHandler |
| PlotMousePressEventHandler () |
|
virtual | ~PlotMousePressEventHandler () |
|
Public Member Functions inherited from casa::PlotMouseReleaseEventHandler |
| PlotMouseReleaseEventHandler () |
|
virtual | ~PlotMouseReleaseEventHandler () |
|
Public Member Functions inherited from casa::PlotMouseDragEventHandler |
| PlotMouseDragEventHandler () |
|
virtual | ~PlotMouseDragEventHandler () |
|
Public Member Functions inherited from casa::PlotMouseMoveEventHandler |
| PlotMouseMoveEventHandler () |
|
virtual | ~PlotMouseMoveEventHandler () |
|
Public Member Functions inherited from casa::PlotWheelEventHandler |
| PlotWheelEventHandler () |
|
virtual | ~PlotWheelEventHandler () |
|
A PlotSelectTool is a concrete subclass of PlotMouseTool that mainly handles select events.
Note that plotting implementations may wish to override this class with an implementation-specific version that may be more efficient. PlotSelectTool is responsible for: 1) managing the select line (the line show while the user is click-dragging to select a region on the canvas) and cursors, 2) keeping track of selected regions, 3) showing/hiding the regions on the canvas, and 4) notifying any interested classes whenever the selected regions changes.
Definition at line 255 of file PlotTool.h.