Class Reference

DK_Canvas

DK_Canvas is the base class for DK_ImageCanvas and DK_TimeSplineCanvas. It is a GUI class that defines a canvas into which your tool can draw.

frame

virtual void frame ( void );
Frames the objects in the canvas by zooming and panning.

redraw

virtual void redraw ( void );
Redraws the canvas.

raiseGraphic

virtual void raiseGraphic( DK_Graphic &);
Brings the specified graphic to the front.

show

virtual void show ( void );
Displays the canvas.

hide

virtual void hide ( void );
Hides the canvas.

CanvasMode

enum CanvasMode { CM_NONE, 
                  CM_NORMAL, 
                  CM_PICKING };
Data type that enumerates the modes that the canvas can assume:

setMode

void setMode ( CanvasMode );
Sets the canvas mode.

getScreenMap

DK_ScreenMap getScreenMap( void );
Returns the screen map. See DK_ScreenMap.

init_DK_Canvas

void init_DK_Canvas( DK_ToolGUI &, 
                     GLCanvas *, 
                     Widget );
Initializes the canvas. This must be called as the last statement in the constructors of subclasses directly derived from DK_Canvas.

frame
redraw
raiseGraphic
show
hide
CanvasMode
setMode
getScreenMap
init_DK_Canvas

SOFTIMAGE Eddie 3.5 - 10 JAN 1997