*** empty log message ***
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
// The following symbole has a underscore suffix for compatibility.
|
||||
// The following symbol has a underscore suffix for compatibility.
|
||||
#ifndef OSGGLUT_EXPORT_
|
||||
#define OSGGLUT_EXPORT_ 1
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@ class OSGGLUT_EXPORT GLUTEventAdapter : public osgUtil::GUIEventAdapter
|
||||
/** Get the EventType of the GUI event.*/
|
||||
virtual EventType getEventType() const { return _eventType; }
|
||||
|
||||
/** key pressed, return -1 if inapropriate for this event. */
|
||||
/** key pressed, return -1 if inappropriate for this event. */
|
||||
virtual int getKey() const { return _key; }
|
||||
|
||||
/** button pressed/released, return -1 if inappropriate for this event.*/
|
||||
@@ -70,7 +70,7 @@ class OSGGLUT_EXPORT GLUTEventAdapter : public osgUtil::GUIEventAdapter
|
||||
/** method for adapting keyboard events.*/
|
||||
void adaptKeyboard(float t,unsigned char key, int x, int y );
|
||||
|
||||
/** method for adapting frame events, i.e. iddle/display callback.*/
|
||||
/** method for adapting frame events, i.e. idle/display callback.*/
|
||||
void adaptFrame(float t);
|
||||
|
||||
void copyStaticVariables();
|
||||
|
||||
@@ -8,9 +8,9 @@ extern "C" {
|
||||
|
||||
/**
|
||||
* osgGLUTGetVersion() returns the library version number.
|
||||
* Numbering conventon : osg_src-0.8.31 will return 0.8.31.
|
||||
* Numbering convention : osg_src-0.8.31 will return 0.8.31.
|
||||
*
|
||||
* This C function can be also used to check for the existance of the OpenSceneGraph
|
||||
* This C function can be also used to check for the existence of the OpenSceneGraph
|
||||
* library using autoconf and its m4 macro AC_CHECK_LIB.
|
||||
*
|
||||
* Here is the code to add to your configure.in:
|
||||
|
||||
@@ -29,7 +29,7 @@ namespace osgGLUT{
|
||||
|
||||
/** A basic viewer base class which provides a window, simple keyboard and mouse interaction.
|
||||
* Please note, this viewer class has been developed via a rather haphazard
|
||||
* path and <i>needs</i> a total rewrite. It currently suffices for osg demo's
|
||||
* path and <i>needs</i> a total rewrite. It currently suffices for osg demos
|
||||
* but shouldn't be viewed as the be all and end of osg viewer classes.
|
||||
* Someone please rewrite it :-)
|
||||
*/
|
||||
@@ -83,15 +83,15 @@ class OSGGLUT_EXPORT Viewer : public osgUtil::GUIActionAdapter
|
||||
|
||||
void help(ostream& fout);
|
||||
|
||||
// hande multiple camera.
|
||||
// handle multiple camera.
|
||||
unsigned int registerCameraManipulator(osgUtil::CameraManipulator* cm,
|
||||
unsigned int viewport = 0);
|
||||
void selectCameraManipulator(unsigned int pos,
|
||||
unsigned int viewport = 0);
|
||||
|
||||
// derived from osgUtil::GUIActionAdapter
|
||||
virtual void requestRedraw() {} // redraw always by iddle callback done.
|
||||
virtual void requestContinuousUpdate(bool /*needed*/) {} // continous update always
|
||||
virtual void requestRedraw() {} // redraw always by idle callback done.
|
||||
virtual void requestContinuousUpdate(bool /*needed*/) {} // continuous update always
|
||||
virtual void requestWarpPointer(int x,int y);
|
||||
|
||||
protected:
|
||||
|
||||
Reference in New Issue
Block a user