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

SoGlutRenderArea Class Reference

#include <SoGlutRenderArea.h>

List of all members.

Public Methods

 SoGlutRenderArea (Widget parent=NULL, const char *name=NULL, SbBool buildInsideParent=TRUE, SbBool getMouseInput=TRUE, SbBool getKeyboardInput=TRUE)
 ~SoGlutRenderArea ()
virtual void setSceneGraph (SoNode *newScene)
virtual SoNode * getSceneGraph ()
void setBackgroundColor (const SbColor &c)
const SbColor & getBackgroundColor () const
void setViewportRegion (const SbViewportRegion &newRegion)
const SbViewportRegion & getViewportRegion () const
void setTransparencyType (SoGLRenderAction::TransparencyType type)
SoGLRenderAction::TransparencyType getTransparencyType () const
void setAntialiasing (SbBool smoothing, int numPasses)
void getAntialiasing (SbBool &smoothing, int &numPasses) const
void setClearBeforeRender (SbBool trueOrFalse, SbBool zbTrueOrFalse=TRUE)
SbBool isClearBeforeRender () const
SbBool isClearZBufferBeforeRender () const
void setAutoRedraw (SbBool trueOrFalse)
SbBool isAutoRedraw () const
void setRedrawPriority (unsigned long priority)
unsigned long getRedrawPriority () const
void render ()
void scheduleRedraw ()
void setGLRenderAction (SoGLRenderAction *ra)
SoGLRenderAction * getGLRenderAction () const
SoSceneManager * getSceneManager ()
void setDoubleBuffer (SbBool onOrOff)
SbBool isDoubleBuffer ()
Widget getNormalWindow ()
Widget getNormalWidget ()
virtual void show ()
virtual void hide ()
SbBool isVisible ()
Widget getWidget () const
void setSize (const SbVec2s &size)
SbVec2s getSize ()
void setTitle (const char *newTitle)
const char * getTitle () const
void redraw_cb ()
void reshape_cb (int w, int h)
void keyboard_cb (int key, bool down, bool spec, int x, int y)
void mouse_motion_cb (int x, int y)
void mouse_button_cb (SoMouseButtonEvent::Button b, bool down, int x, int y)
void makeCurrent ()

Static Public Methods

unsigned long getDefaultRedrawPriority ()
SoGlutRenderArea * getComponent (Widget w)

Protected Methods

virtual void doShow ()
virtual void doHide ()
void makeEvent (SoEvent *event, int x, int y, int modifiers)
void createMainW ()
void createChildW ()
void destroyMainW ()
void destroyChildW ()

Protected Attributes

int mainW
int childW
SoGlutRenderArea * windowsList
SoSceneManager sceneManager
bool showStatus
char * title
bool defaultTitle
unsigned int mode
SbViewportRegion viewport
SbBool clearColorBuffer
SbBool clearZBuffer
bool autoRedraw
SbBool getMouseInput
SbBool getKeyboardInput


Constructor & Destructor Documentation

SoGlutRenderArea::SoGlutRenderArea Widget    parent = NULL,
const char *    name = NULL,
SbBool    buildInsideParent = TRUE,
SbBool    getMouseInput = TRUE,
SbBool    getKeyboardInput = TRUE
 

SoGlutRenderArea::~SoGlutRenderArea  
 


Member Function Documentation

void SoGlutRenderArea::createChildW   [protected]
 

void SoGlutRenderArea::createMainW   [protected]
 

void SoGlutRenderArea::destroyChildW   [protected]
 

void SoGlutRenderArea::destroyMainW   [protected]
 

virtual void SoGlutRenderArea::doHide   [protected, virtual]
 

virtual void SoGlutRenderArea::doShow   [protected, virtual]
 

void SoGlutRenderArea::getAntialiasing SbBool &    smoothing,
int &    numPasses
const [inline]
 

const SbColor& SoGlutRenderArea::getBackgroundColor   const [inline]
 

SoGlutRenderArea* SoGlutRenderArea::getComponent Widget    w [static]
 

unsigned long SoGlutRenderArea::getDefaultRedrawPriority   [inline, static]
 

SoGLRenderAction* SoGlutRenderArea::getGLRenderAction   const [inline]
 

Widget SoGlutRenderArea::getNormalWidget   [inline]
 

Widget SoGlutRenderArea::getNormalWindow   [inline]
 

unsigned long SoGlutRenderArea::getRedrawPriority   const [inline]
 

virtual SoNode* SoGlutRenderArea::getSceneGraph   [inline, virtual]
 

SoSceneManager* SoGlutRenderArea::getSceneManager   [inline]
 

SbVec2s SoGlutRenderArea::getSize   [inline]
 

const char* SoGlutRenderArea::getTitle   const [inline]
 

SoGLRenderAction::TransparencyType SoGlutRenderArea::getTransparencyType   const
 

const SbViewportRegion& SoGlutRenderArea::getViewportRegion   const
 

Widget SoGlutRenderArea::getWidget   const [inline]
 

virtual void SoGlutRenderArea::hide   [virtual]
 

SbBool SoGlutRenderArea::isAutoRedraw   const [inline]
 

SbBool SoGlutRenderArea::isClearBeforeRender   const [inline]
 

SbBool SoGlutRenderArea::isClearZBufferBeforeRender   const [inline]
 

SbBool SoGlutRenderArea::isDoubleBuffer  
 

SbBool SoGlutRenderArea::isVisible   [inline]
 

void SoGlutRenderArea::keyboard_cb int    key,
bool    down,
bool    spec,
int    x,
int    y
 

void SoGlutRenderArea::makeCurrent  
 

void SoGlutRenderArea::makeEvent SoEvent *    event,
int    x,
int    y,
int    modifiers
[protected]
 

void SoGlutRenderArea::mouse_button_cb SoMouseButtonEvent::Button    b,
bool    down,
int    x,
int    y
 

void SoGlutRenderArea::mouse_motion_cb int    x,
int    y
 

void SoGlutRenderArea::redraw_cb  
 

void SoGlutRenderArea::render   [inline]
 

void SoGlutRenderArea::reshape_cb int    w,
int    h
 

void SoGlutRenderArea::scheduleRedraw   [inline]
 

void SoGlutRenderArea::setAntialiasing SbBool    smoothing,
int    numPasses
[inline]
 

void SoGlutRenderArea::setAutoRedraw SbBool    trueOrFalse [inline]
 

void SoGlutRenderArea::setBackgroundColor const SbColor &    c [inline]
 

void SoGlutRenderArea::setClearBeforeRender SbBool    trueOrFalse,
SbBool    zbTrueOrFalse = TRUE
[inline]
 

void SoGlutRenderArea::setDoubleBuffer SbBool    onOrOff
 

void SoGlutRenderArea::setGLRenderAction SoGLRenderAction *    ra [inline]
 

void SoGlutRenderArea::setRedrawPriority unsigned long    priority [inline]
 

virtual void SoGlutRenderArea::setSceneGraph SoNode *    newScene [inline, virtual]
 

void SoGlutRenderArea::setSize const SbVec2s &    size
 

void SoGlutRenderArea::setTitle const char *    newTitle
 

void SoGlutRenderArea::setTransparencyType SoGLRenderAction::TransparencyType    type
 

void SoGlutRenderArea::setViewportRegion const SbViewportRegion &    newRegion
 

virtual void SoGlutRenderArea::show   [virtual]
 


Member Data Documentation

bool SoGlutRenderArea::autoRedraw [protected]
 

int SoGlutRenderArea::childW [protected]
 

SbBool SoGlutRenderArea::clearColorBuffer [protected]
 

SbBool SoGlutRenderArea::clearZBuffer [protected]
 

bool SoGlutRenderArea::defaultTitle [protected]
 

SbBool SoGlutRenderArea::getKeyboardInput [protected]
 

SbBool SoGlutRenderArea::getMouseInput [protected]
 

int SoGlutRenderArea::mainW [protected]
 

unsigned int SoGlutRenderArea::mode [protected]
 

SoSceneManager SoGlutRenderArea::sceneManager [protected]
 

bool SoGlutRenderArea::showStatus [protected]
 

char* SoGlutRenderArea::title [protected]
 

SbViewportRegion SoGlutRenderArea::viewport [protected]
 

SoGlutRenderArea* SoGlutRenderArea::windowsList [protected]
 


The documentation for this class was generated from the following file:
Generated on Sun Feb 17 21:42:37 2002 for Sector 5 by doxygen1.2.13.1 written by Dimitri van Heesch, © 1997-2001