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

RenderIv Class Reference

Perform 3D rendering using the OpenInventor library. More...

#include <renderiv.h>

Inheritance diagram for RenderIv:

Render List of all members.

Public Methods

 RenderIv ()
 RenderIv (string filepath)
 RenderIv (Scene *s, string filepath)
virtual ~RenderIv ()
virtual void Reset ()
 Reset the renderer. More...

virtual void Init ()
 Initialized the renderer. More...

virtual void MainLoop (Gui *g)
 If ControlFreak = true, then MainLoop is entered here. More...

Protected Methods

void _IdleFunction ()
SoSeparator * _ReadIvFile (const char *filename)
SoSeparator * _InitObject (const string &fname)
bool _InitBoundsDisplay ()
bool _InitPathDisplay ()
SoSeparator * _InitTriangleGeom (list< MSLTriangle > &triangles)
bool _InitData ()
void _SetSwitch (SoSwitch *pSwitch, bool bFlag)
void _UpdatePathDisplay ()
void _SetTransform (SoTransform *pTrans, double tx, double ty, double tz, double rx, double ry, double rz)
void _UpdateBodies (const MSLVector &qConfig)

Static Protected Methods

void _TimerCB (void *userData, SoSensor *)

Protected Attributes

SoXtExaminerViewer * _viewer
SoSeparator * _ivRoot
SoSeparator * _ivData
SoSwitch * _ivBoundsSwitch
bool _bDisplayBounds
SoSwitch * _ivPathSwitch
SoVertexProperty * _pPathVertexProp
int _pathFrames
bool _bDisplayPath
list< SoTransform * > _bodyTrans
int camToggle
bool _bAttachedCamera
SoSwitch * CamSwitch
SoPerspectiveCamera * defCam
SoPerspectiveCamera * attachedCam
SoPointLight * lightSource
float _ivPosition [3]
float _ivOrientation [3]
float _ivBoundingBoxMin [3]
float _ivBoundingBoxMax [3]
float _ivSceneCenter [3]
float CamPosX
float CamPosY
float CamPosZ
float CamViewX
float CamViewY
float CamViewZ
float _ivViewLength
float _ivFocalDist
float _ivNearDist
float _ivFarDist
float LightPosX
float LightPosY
float LightPosZ
float CamUpX
float CamUpY
float CamUpZ
bool _bMultipleViews
SoSeparator * _ivTopLeftObject
SoSeparator * _ivTopRightObject
SoSeparator * _ivBottomLeftObject
SoSeparator * _ivBottomRightObject
int MultipleViewsToggle
SoXtExaminerViewer * TopLeftViewer
SoXtExaminerViewer * TopRightViewer
SoXtExaminerViewer * BottomLeftViewer
SoXtExaminerViewer * BottomRightViewer
Widget mainWindow
SoOrthographicCamera * TopLeftCamera
SoOrthographicCamera * TopRightCamera
SoOrthographicCamera * BottomLeftCamera
SoPerspectiveCamera * BottomRightCamera

Detailed Description

Perform 3D rendering using the OpenInventor library.

Constructor & Destructor Documentation


RenderIv::RenderIv string    filepath

RenderIv::RenderIv Scene   s,
string    filepath

RenderIv::~RenderIv   [virtual]

Member Function Documentation

void RenderIv::_IdleFunction   [inline, protected]

bool RenderIv::_InitBoundsDisplay   [protected]

bool RenderIv::_InitData   [protected]

SoSeparator * RenderIv::_InitObject const string &    fname [protected]

bool RenderIv::_InitPathDisplay   [protected]

SoSeparator * RenderIv::_InitTriangleGeom list< MSLTriangle > &    triangles [protected]

SoSeparator * RenderIv::_ReadIvFile const char *    filename [protected]

void RenderIv::_SetSwitch SoSwitch *    pSwitch,
bool    bFlag
[inline, protected]

void RenderIv::_SetTransform SoTransform *    pTrans,
double    tx,
double    ty,
double    tz,
double    rx,
double    ry,
double    rz
[inline, protected]

void RenderIv::_TimerCB void *    userData,
SoSensor *   
[static, protected]

void RenderIv::_UpdateBodies const MSLVector   qConfig [inline, protected]

void RenderIv::_UpdatePathDisplay   [inline, protected]

void RenderIv::Init   [virtual]

Initialized the renderer.

Reimplemented from Render.

void RenderIv::MainLoop Gui   g [virtual]

If ControlFreak = true, then MainLoop is entered here.

Reimplemented from Render.

void RenderIv::Reset   [virtual]

Reset the renderer.

Reimplemented from Render.

Member Data Documentation

bool RenderIv::_bAttachedCamera [protected]

bool RenderIv::_bDisplayBounds [protected]

bool RenderIv::_bDisplayPath [protected]

bool RenderIv::_bMultipleViews [protected]

list<SoTransform*> RenderIv::_bodyTrans [protected]

SoSeparator* RenderIv::_ivBottomLeftObject [protected]

SoSeparator* RenderIv::_ivBottomRightObject [protected]

float RenderIv::_ivBoundingBoxMax[3] [protected]

float RenderIv::_ivBoundingBoxMin[3] [protected]

SoSwitch* RenderIv::_ivBoundsSwitch [protected]

SoSeparator* RenderIv::_ivData [protected]

float RenderIv::_ivFarDist [protected]

float RenderIv::_ivFocalDist [protected]

float RenderIv::_ivNearDist [protected]

float RenderIv::_ivOrientation[3] [protected]

SoSwitch* RenderIv::_ivPathSwitch [protected]

float RenderIv::_ivPosition[3] [protected]

SoSeparator* RenderIv::_ivRoot [protected]

float RenderIv::_ivSceneCenter[3] [protected]

SoSeparator* RenderIv::_ivTopLeftObject [protected]

SoSeparator* RenderIv::_ivTopRightObject [protected]

float RenderIv::_ivViewLength [protected]

int RenderIv::_pathFrames [protected]

Gui* RenderIv::_pGui [protected]

SoVertexProperty* RenderIv::_pPathVertexProp [protected]

SoXtExaminerViewer* RenderIv::_viewer [protected]

SoPerspectiveCamera* RenderIv::attachedCam [protected]

SoOrthographicCamera* RenderIv::BottomLeftCamera [protected]

SoXtExaminerViewer* RenderIv::BottomLeftViewer [protected]

SoPerspectiveCamera* RenderIv::BottomRightCamera [protected]

SoXtExaminerViewer* RenderIv::BottomRightViewer [protected]

float RenderIv::CamPosX [protected]

float RenderIv::CamPosY [protected]

float RenderIv::CamPosZ [protected]

SoSwitch* RenderIv::CamSwitch [protected]

int RenderIv::camToggle [protected]

float RenderIv::CamUpX [protected]

float RenderIv::CamUpY [protected]

float RenderIv::CamUpZ [protected]

float RenderIv::CamViewX [protected]

float RenderIv::CamViewY [protected]

float RenderIv::CamViewZ [protected]

SoPerspectiveCamera* RenderIv::defCam [protected]

float RenderIv::LightPosX [protected]

float RenderIv::LightPosY [protected]

float RenderIv::LightPosZ [protected]

SoPointLight* RenderIv::lightSource [protected]

Widget RenderIv::mainWindow [protected]

int RenderIv::MultipleViewsToggle [protected]

SoOrthographicCamera* RenderIv::TopLeftCamera [protected]

SoXtExaminerViewer* RenderIv::TopLeftViewer [protected]

SoOrthographicCamera* RenderIv::TopRightCamera [protected]

SoXtExaminerViewer* RenderIv::TopRightViewer [protected]

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

Web page maintained by Steve LaValle