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

RenderPerformer Class Reference

Perform 3D rendering using the SGI IRIS Performer library. More...

#include <renderpf.h>

Inheritance diagram for RenderPerformer::

Render List of all members.

Public Methods

 RenderPerformer ()
 RenderPerformer (string filepath)
 RenderPerformer (Scene *s, string filepath)
virtual ~RenderPerformer ()
virtual void Init ()
 Initialized the renderer.

virtual void HandleEvents ()
 Process IO events.

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


Protected Methods

virtual void ShowCurrentAnimationFrame ()
 Display the current animation frame in a rendering window.

void LoadEnvironment (pfGroup *env)
void LoadBodies (pfGroup *bodies)
pfNode* LoadNativeModel (string file, int colorindex)
 Load a model that is a list of 2D polygons or 3D triangles.

void MakeBoundingBox (pfGeode *bound)
void MakeControlPanel (pfGroup *con, pfDCS *pad)
void GetCurrentMousePos (double &x, double &y)
void HandleKeyInput ()
void HandleMouseEvents ()
void GetControlPadSize (double &padwidth_l, double &padwidth_r, double &padheight_b, double &padheight_top)
void NormCrossProduct (double v1[3], double v2[3], double out[3])

Static Protected Methods

void DrawChannel (pfChannel *chan, void *data)

Static Protected Attributes

SharedData* Shared

Detailed Description

Perform 3D rendering using the SGI IRIS Performer library.


Constructor & Destructor Documentation

RenderPerformer::RenderPerformer ( )
 

RenderPerformer::RenderPerformer ( string filepath )
 

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

RenderPerformer::~RenderPerformer ( ) [inline, virtual]
 


Member Function Documentation

void RenderPerformer::DrawChannel ( pfChannel * chan,
void * data ) [static, protected]
 

void RenderPerformer::GetControlPadSize ( double & padwidth_l,
double & padwidth_r,
double & padheight_b,
double & padheight_top ) [protected]
 

void RenderPerformer::GetCurrentMousePos ( double & x,
double & y ) [protected]
 

virtual void RenderPerformer::HandleEvents ( ) [virtual]
 

Process IO events.

Reimplemented from Render.

void RenderPerformer::HandleKeyInput ( ) [protected]
 

void RenderPerformer::HandleMouseEvents ( ) [protected]
 

virtual void RenderPerformer::Init ( ) [virtual]
 

Initialized the renderer.

Reimplemented from Render.

void RenderPerformer::LoadBodies ( pfGroup * bodies ) [protected]
 

void RenderPerformer::LoadEnvironment ( pfGroup * env ) [protected]
 

pfNode * RenderPerformer::LoadNativeModel ( string file,
int colorindex ) [protected]
 

Load a model that is a list of 2D polygons or 3D triangles.

void RenderPerformer::MakeBoundingBox ( pfGeode * bound ) [protected]
 

void RenderPerformer::MakeControlPanel ( pfGroup * con,
pfDCS * pad ) [protected]
 

void RenderPerformer::NormCrossProduct ( double v1[3],
double v2[3],
double out[3] ) [protected]
 

virtual void RenderPerformer::ShowCurrentAnimationFrame ( ) [protected, virtual]
 

Display the current animation frame in a rendering window.

Reimplemented from Render.

virtual void RenderPerformer::Terminate ( ) [virtual]
 

Implement functions upon termination of the renderer.

Reimplemented from Render.


Member Data Documentation

SharedData* RenderPerformer::Shared [static, protected]
 


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


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