Argl::ControlDialog Class Reference

ControlDialog displays a popup window controlling refinement and rendering parameters. More...

Collaboration diagram for Argl::ControlDialog:

Collaboration graph
[legend]
List of all members.

Public Member Functions

void enableDisableSteps ()
void updateColors ()

Static Public Member Functions

static ControlDialogcreate (Argl &, HWND, HINSTANCE)
 creates a ControlDialog instance and dialog box with given parent window, instance and Argl reference
static bool destroy ()
 destroys the current ControlDialog instance as well as the dialog box

Protected Member Functions

 ControlDialog (Argl &, HWND)
 constructs ControlDialog with previously created window handle and Argl reference
virtual ~ControlDialog ()
 destructs ControlDialog
void onSteps (HWND)
 forwards keyframe steps change as reaction on control events, performing controls update
void onTime (HWND)
 updates keyframe time as reaction on control events, performing controls update
void onSlope (HWND)
 updates slow-in slow-out slope as reaction on control events, performing controls update
void onFishEye (HWND)
 updates fish-eye slope as reaction on control events, performing controls update
void onStepsTrack (HWND, WORD)
 updates controls depending on tracking mode on steps slider
void onTimeTrack (HWND, WORD)
 updates controls depending on tracking mode on time slider
void onSlopeTrack (HWND, WORD)
 updates controls depending on tracking mode on slope slider
void onFishEyeTrack (HWND, WORD)
 updates controls depending on tracking mode on fish-eye slider
void onColorUpdate (HWND)
 forwards color definition change as reaction on control events, performing rerendering
void onCamera (HWND, CameraType)
 forwards camera type change as reaction on control events, performing rerendering and controls update
void onPlacementConsistencyHint (HWND, bool)
 forwards placement consistency hint change as reaction on control events, performing controls update

Static Protected Member Functions

static BOOL CALLBACK DialogProc (HWND, UINT, WPARAM, LPARAM)
 dialog box procedure, redirecting received windows messages to proper methods
static BOOL onInit (HWND, Argl *)
 initializes dialog box, presetting controls to values in Argl instance
static void setSteps (HWND, Argl *)
 updates steps controls according to the value in the Argl instance
static void setTime (HWND, Argl *)
 updates time controls according to the value in the Argl instance
static void setSlope (HWND, Argl *)
 updates slope controls according to the value in the Argl instance
static void setFishEye (HWND, Argl *)
 updates fish-eye controls according to the value in the Argl instance
static void setStepsText (HWND, unsigned short)
 updates steps controls according to given refinement step value
static void setTimeText (HWND, float)
 updates time controls according to given keyframe time value
static void setSlopeText (HWND, float)
 updates slope controls according to given keyframe time value
static void setFishEyeText (HWND, float)
 updates fish-eye controls according to given keyframe time value

Private Member Functions

 ControlDialog (ControlDialog &)
void operator= (ControlDialog &)

Private Attributes

Arglargl
HWND hWnd

Static Private Attributes

static ControlDialogpControlDialog = 0

Detailed Description

ControlDialog displays a popup window controlling refinement and rendering parameters.


Constructor & Destructor Documentation

Argl::ControlDialog::ControlDialog ( Argl ,
HWND   
) [protected]

constructs ControlDialog with previously created window handle and Argl reference

Argl::ControlDialog::~ControlDialog (  )  [protected, virtual]

destructs ControlDialog

Argl::ControlDialog::ControlDialog ( ControlDialog  )  [private]


Member Function Documentation

Argl::ControlDialog * Argl::ControlDialog::create ( Argl ,
HWND  ,
HINSTANCE   
) [static]

creates a ControlDialog instance and dialog box with given parent window, instance and Argl reference

bool Argl::ControlDialog::destroy (  )  [static]

destroys the current ControlDialog instance as well as the dialog box

void Argl::ControlDialog::enableDisableSteps (  ) 

void Argl::ControlDialog::updateColors (  ) 

BOOL CALLBACK Argl::ControlDialog::DialogProc ( HWND  ,
UINT  ,
WPARAM  ,
LPARAM   
) [static, protected]

dialog box procedure, redirecting received windows messages to proper methods

BOOL Argl::ControlDialog::onInit ( HWND  ,
Argl  
) [static, protected]

initializes dialog box, presetting controls to values in Argl instance

void Argl::ControlDialog::onSteps ( HWND   )  [protected]

forwards keyframe steps change as reaction on control events, performing controls update

void Argl::ControlDialog::onTime ( HWND   )  [protected]

updates keyframe time as reaction on control events, performing controls update

void Argl::ControlDialog::onSlope ( HWND   )  [protected]

updates slow-in slow-out slope as reaction on control events, performing controls update

void Argl::ControlDialog::onFishEye ( HWND   )  [protected]

updates fish-eye slope as reaction on control events, performing controls update

void Argl::ControlDialog::onStepsTrack ( HWND  ,
WORD   
) [protected]

updates controls depending on tracking mode on steps slider

void Argl::ControlDialog::onTimeTrack ( HWND  ,
WORD   
) [protected]

updates controls depending on tracking mode on time slider

void Argl::ControlDialog::onSlopeTrack ( HWND  ,
WORD   
) [protected]

updates controls depending on tracking mode on slope slider

void Argl::ControlDialog::onFishEyeTrack ( HWND  ,
WORD   
) [protected]

updates controls depending on tracking mode on fish-eye slider

void Argl::ControlDialog::onColorUpdate ( HWND   )  [protected]

forwards color definition change as reaction on control events, performing rerendering

void Argl::ControlDialog::onCamera ( HWND  ,
CameraType   
) [protected]

forwards camera type change as reaction on control events, performing rerendering and controls update

void Argl::ControlDialog::onPlacementConsistencyHint ( HWND  ,
bool   
) [protected]

forwards placement consistency hint change as reaction on control events, performing controls update

void Argl::ControlDialog::setSteps ( HWND  ,
Argl  
) [static, protected]

updates steps controls according to the value in the Argl instance

void Argl::ControlDialog::setTime ( HWND  ,
Argl  
) [static, protected]

updates time controls according to the value in the Argl instance

void Argl::ControlDialog::setSlope ( HWND  ,
Argl  
) [static, protected]

updates slope controls according to the value in the Argl instance

void Argl::ControlDialog::setFishEye ( HWND  ,
Argl  
) [static, protected]

updates fish-eye controls according to the value in the Argl instance

void Argl::ControlDialog::setStepsText ( HWND  ,
unsigned  short 
) [static, protected]

updates steps controls according to given refinement step value

void Argl::ControlDialog::setTimeText ( HWND  ,
float   
) [static, protected]

updates time controls according to given keyframe time value

void Argl::ControlDialog::setSlopeText ( HWND  ,
float   
) [static, protected]

updates slope controls according to given keyframe time value

void Argl::ControlDialog::setFishEyeText ( HWND  ,
float   
) [static, protected]

updates fish-eye controls according to given keyframe time value

void Argl::ControlDialog::operator= ( ControlDialog  )  [private]


Member Data Documentation

Argl::ControlDialog * Argl::ControlDialog::pControlDialog = 0 [static, private]

Argl& Argl::ControlDialog::argl [private]

HWND Argl::ControlDialog::hWnd [private]


The documentation for this class was generated from the following files:
Generated on Wed Jun 27 00:31:51 2007 for ARGL by  doxygen 1.5.2