Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

RenderLeda Class Reference

Perform 2D rendering using LEDA. More...

#include <renderleda.h>

Inheritance diagram for RenderLeda:

Render List of all members.

Public Methods

 RenderLeda ()
 RenderLeda (string filepath)
 RenderLeda (Scene *s, string filepath)
virtual ~RenderLeda ()
virtual void ShowCurrentAnimationFrame ()
 Display the current animation frame in a rendering window.

virtual void Init ()
 Initialized the renderer.

virtual void Reset ()
 Reset the renderer.

virtual void HandleEvents ()
 Process IO events.

virtual void Terminate ()
 Implement functions upon termination of the renderer.

void InitData ()
void DrawBodies (const vector &x)
void DrawEnv ()
virtual void DrawPath ()
 Display an entire path (the specific renderer determines how).


Public Attributes

int TransformDim

Protected Attributes

window* W
array<list<polygon> > Env
array<list<polygon> > Bodies
bool FirstFrameDisplayed
vector PreviousFrame

Detailed Description

Perform 2D rendering using LEDA.


Constructor & Destructor Documentation

RenderLeda::RenderLeda ( )
 

RenderLeda::RenderLeda ( string filepath = "" )
 

RenderLeda::RenderLeda ( Scene * s,
string filepath )
 

RenderLeda::~RenderLeda ( ) [virtual]
 


Member Function Documentation

void RenderLeda::DrawBodies ( const vector & x )
 

void RenderLeda::DrawEnv ( )
 

void RenderLeda::DrawPath ( ) [virtual]
 

Display an entire path (the specific renderer determines how).

Reimplemented from Render.

void RenderLeda::HandleEvents ( ) [virtual]
 

Process IO events.

Reimplemented from Render.

void RenderLeda::Init ( ) [virtual]
 

Initialized the renderer.

Reimplemented from Render.

void RenderLeda::InitData ( )
 

void RenderLeda::Reset ( ) [virtual]
 

Reset the renderer.

Reimplemented from Render.

void RenderLeda::ShowCurrentAnimationFrame ( ) [virtual]
 

Display the current animation frame in a rendering window.

Reimplemented from Render.

void RenderLeda::Terminate ( ) [virtual]
 

Implement functions upon termination of the renderer.

Reimplemented from Render.


Member Data Documentation

array< list< polygon > > RenderLeda::Bodies [protected]
 

array< list< polygon > > RenderLeda::Env [protected]
 

bool RenderLeda::FirstFrameDisplayed [protected]
 

vector RenderLeda::PreviousFrame [protected]
 

int RenderLeda::TransformDim
 

window * RenderLeda::W [protected]
 


The documentation for this class was generated from the following files: Motion Strategy Library


Web page maintained by Steve LaValle
Partial support provided by NSF CAREER Award IRI-970228 (LaValle), Honda Research, and Iowa State University.
Contributors: Anna Atramentov, Peng Cheng, James Kuffner, Steve LaValle, and Libo Yang.