Public Member Functions

RendParamDlg Class Reference

Search for all occurrences

Detailed Description

An instance of this class is created by Renderer::CreateParamDlg().

Since this dialog is modeless and non-interactive, as the user changes parameters in the dialog, the renderer does not need to update its state. When the user is through, they may choose 'OK' or 'Cancel' from the dialog. If the user selects OK then the AcceptParams() method will be called. If the user selects Cancel, then the RejectParams() method is called.

See also:
Class Renderer.

#include <render.h>

Inheritance diagram for RendParamDlg:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual  ~RendParamDlg ()
  Destructor.
virtual void  AcceptParams ()=0
  If the user selects OK from the dialog, this method will be called, at which time the renderer can read the parameters out of the UI and modify its state.
virtual void  RejectParams ()
  If this method is called, typically the renderer will not have to do anything since it has not yet modified its state, but if for some reason it has, it should restore its state.
virtual void  DeleteThis ()=0
  Deletes this instance of the class.

Constructor & Destructor Documentation

virtual ~RendParamDlg ( ) [inline, virtual]

Destructor.

{ }

Member Function Documentation

virtual void AcceptParams ( ) [pure virtual]

If the user selects OK from the dialog, this method will be called, at which time the renderer can read the parameters out of the UI and modify its state.

virtual void RejectParams ( ) [inline, virtual]

If this method is called, typically the renderer will not have to do anything since it has not yet modified its state, but if for some reason it has, it should restore its state.

Default Implementation:
{}
{}
virtual void DeleteThis ( ) [pure virtual]

Deletes this instance of the class.

The instance is allocated by Renderer::CreateParamDialog().


RendParamDlg RendParamDlg RendParamDlg RendParamDlg RendParamDlg RendParamDlg RendParamDlg RendParamDlg RendParamDlg RendParamDlg
RendParamDlg RendParamDlg RendParamDlg RendParamDlg RendParamDlg RendParamDlg RendParamDlg RendParamDlg RendParamDlg RendParamDlg