Public Member Functions | Protected Member Functions

cyber::editor::modes::AmbientLights Class Reference

#include <AmbientLights.h>

Inheritance diagram for cyber::editor::modes::AmbientLights:
cyber::editor::modes::PolyEditingMode cyber::editor::modes::EditingMode

List of all members.

Public Member Functions

 AmbientLights (void)
virtual ~AmbientLights (void)

Protected Member Functions

virtual bool _activate ()
virtual bool _deactivate ()
virtual bool _perform (float time)
virtual bool _render (float time)
virtual bool _complete_poly (const bl7::geometry2::Poly &poly, const ml7::Vector2 &position)

Detailed Description

The editing mode class providing editing actions for setting ambient lights.


Constructor & Destructor Documentation

cyber::editor::modes::AmbientLights::AmbientLights ( void   ) 

Default constructor.

cyber::editor::modes::AmbientLights::~AmbientLights ( void   )  [virtual]

Destructor.


Member Function Documentation

bool cyber::editor::modes::AmbientLights::_activate (  )  [protected, virtual]

Activates this editing mode.

Reimplemented from cyber::editor::modes::PolyEditingMode.

bool cyber::editor::modes::AmbientLights::_complete_poly ( const bl7::geometry2::Poly poly,
const ml7::Vector2 position 
) [protected, virtual]

Will be called after the user completed the definition of a new poly.

Implements cyber::editor::modes::PolyEditingMode.

bool cyber::editor::modes::AmbientLights::_deactivate (  )  [protected, virtual]

Deactivates this editing mode.

Reimplemented from cyber::editor::modes::PolyEditingMode.

bool cyber::editor::modes::AmbientLights::_perform ( float  time  )  [protected, virtual]

Performs editing actions.

Reimplemented from cyber::editor::modes::PolyEditingMode.

bool cyber::editor::modes::AmbientLights::_render ( float  time  )  [protected, virtual]

Draws mode specific editing tools.

Reimplemented from cyber::editor::modes::PolyEditingMode.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines