-
class
OverlayView
: public GraphicView
(Return to index)
-
base class for graphic view of an OverlayComp.
Type:
Base Classes:
Derived Classes
Include file:
Public:
- virtual void
AdjustForPan (float dx, float dy)
called once per OverlayView before each pan, to let
fixed location graphics adjust accordingly.
- virtual void
AdjustForZoom (float factor, Coord cx, Coord cy)
called once per OverlayView before each zoom, to let
fixed size graphics adjust accordingly.
- virtual Manipulator*
CreateManipulator (Viewer*,Event&,Transformer*,Tool*)
create move tool manipulator.
- Manipulator*
CreateStretchManip (Viewer*, Event&, Transformer*, Tool*)
- virtual boolean
Desensitizable ()
- virtual void
Desensitize ()
desensitize the graphic (ignore mouse events)
- virtual boolean
Desensitized ()
- virtual void
DrawHandles ()
draw tic mark handles and highlight some things with a new graphic state.
- virtual ComponentView*
Duplicate ()
- virtual void
EraseHandles ()
erase tic mark handles and unhighlight some things by replacing their
old graphic state.
- void
FixLocation ()
enable fixing of graphic location.
- void
FixSize (float factor=1.0)
fix size of graphic, with optional factor to reduce or increase effect.
- boolean
FixedLocation ()
return flag to indicate if graphic is of fixed location.
- boolean
FixedSize ()
return flag to indicate if graphic is of fixed size.
- virtual ClassId
GetClassId ()
- OverlayComp*
GetOverlayComp ()
- virtual boolean
Hidable ()
- virtual boolean
Hidden ()
- virtual void
Hide ()
- virtual void
Highlight ()
cause highlighting by graphic state to happen.
- virtual Graphic*
HighlightGraphic ()
graphic used to highlight by changing graphic state.
A nil returned from this method disables the mechanism.
- virtual void
HighlightGraphic (Graphic* hilite_gs)
graphic used to highlight by changing graphic state.
A nil returned from this method disables the mechanism.
- virtual boolean
Highlightable ()
true if set up to be highlighted with a graphic state.
- virtual boolean
Highlighted ()
true if highlighted with a graphic state.
- virtual void
InitHandles ()
initialize tic mark handles and set up to highlight some things with a new
graphic state.
- virtual void
Interpret (Command*)
interpret hide-view, desensitize-view, (un)fix-size, and (un)fix-location
commands.
- virtual boolean
IsA (ClassId)
- virtual Selection*
MakeSelection ()
- virtual void
RedrawHandles ()
redraw tic mark handles and highlight some things with a new graphic state.
- virtual void
Sensitize ()
resensitize the graphic (pay attention to mouse events)
- virtual void
Show ()
- void
UnfixLocation ()
disable fixing of graphic location.
- void
UnfixSize ()
disable fixing of graphic size.
- virtual void
Unhighlight ()
undo any highlighting by graphic state to happen.
- virtual void
Uninterpret (Command*)
uninterpret hide-view, desensitize-view, (un)fix-size, and (un)fix-location
commands.
- static LeakChecker*
_leakchecker
- virtual
~OverlayView ()
Protected:
(more documentation)