Main Page   Namespace List   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. More...

virtual void HandleEvents ()
 Process IO events. More...

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


Protected Methods

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

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. More...

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

SharedDataShared

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
 

virtual 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]
 

void RenderPerformer::HandleEvents   [virtual]
 

Process IO events.

Reimplemented from Render.

void RenderPerformer::HandleKeyInput   [protected]
 

void RenderPerformer::HandleMouseEvents   [protected]
 

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]
 

void RenderPerformer::ShowCurrentAnimationFrame   [protected, virtual]
 

Display the current animation frame in a rendering window.

Reimplemented from Render.

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 files: Motion Strategy Library


Web page maintained by Steve LaValle