Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members

esve::engine::dim3::Camera Class Reference

A Display with a Frame. More...

#include <esve/engine/dim3/Camera.hxx>

Inheritance diagram for esve::engine::dim3::Camera:

esve::engine::dim3::Camera_Details_Stowed esve::engine::dim3::Frame_Stowed esve::ui::base::Display esve::ui::base::Display_Details_Stowed esve::kernel::Catcher esve::kernel::Emitter esve::message::Update_Receiver esve::message::Compute_Sender_Stowed esve::message::Draw_Sender_Stowed esve::components::dim3::Camera esve::engine::dim3::impl::Camera esve::components::dim3::impl::Camera esve::viewers::dim3::Camera esve::components::dim3::impl::Camera List of all members.

Public Member Functions

virtual void reinitialize ()=0
 Call send_draw_initialize() on the next draw cycle.

virtual message::Compute_Senderpeek_compute_sender ()=0
 Peek at the compute() message sender.

virtual message::Draw_Senderpeek_draw_sender ()=0
 Peek at the draw() message sender.

virtual const engine::dim3::Camera_Detailspeek_camera_details () const =0
 Peek at the camera details.

virtual engine::dim3::Camera_Detailspeek_camera_details ()=0
 Peek at the camera details.

virtual const engine::dim3::Framepeek_frame () const =0
 Peek at the frame.

virtual engine::dim3::Framepeek_frame ()=0
 Peek at the frame.

virtual const ui::base::Display_Detailspeek_display_details () const =0
 Peek at the display details.

virtual ui::base::Display_Detailspeek_display_details ()=0
 Peek at the display details.

virtual void add_handler (kernel::Handler &)=0
 Child handlers.

virtual void remove_handler (kernel::Handler &)=0
 Child handlers.

virtual void remove_all_handlers ()=0
 Child handlers.


Protected Member Functions

virtual void update ()=0
 Receive the update() message.

virtual void update (double dt)=0
 Receive the update() message.


Detailed Description

A Display with a Frame.

Camera derives multiply from Frame and Display. Its update() method calls both Frame::update() and Display::update(), marking the Frame as dirty and marking the Display for redrawing.

Camera computes its projection matrix after its compute tree has been called (see message::Compute_Receiver).

If two cameras are part of the same frame hierarchy, one call to the root frame's update() will suffice for redrawing both displays.


Generated on Tue May 30 11:40:55 2006 for esve by doxygen 1.3.4