WCSizeControlHandler.h

Classes

WCSizeControlHandler -- Base class defining the interface to controlling the WorldCanvas size. (full description)

class WCSizeControlHandler

Interface

Public Members
WCSizeControlHandler()
virtual Bool executeSizeControl(WorldCanvas *wc) = 0
virtual ~WCSizeControlHandler()

Description

Prerequisite

Etymology

WCSizeControlHandler : WorldCanvas size control handler

Synopsis

The intention of this class is to provide a means of allowing a group of display objects to determine among themselves the optimum size of the display for the rendering required.

The WCSizeControlHandler could, for example, be programmed to fudge the display size to make it more convenient to display images of a certain size.

Motivation

Allow for client programmer to control the size of the WorldCanvas.

Example

none available yet.

To Do

Member Description

WCSizeControlHandler()

Default Constructor Required

virtual Bool executeSizeControl(WorldCanvas *wc) = 0

apply function called by world canvas during refresh

virtual ~WCSizeControlHandler()

Destructor