Robert Osfield
290adbe7ab
From Ole-Morten Duesund, added IgnoreUsedEventsMask.
2007-09-14 10:26:14 +00:00
Robert Osfield
b20d542317
From David Callu, improved consistency of Version strings and add version support
...
for osgIntrospection and osgManipulator.
2007-09-05 17:12:24 +00:00
Robert Osfield
6831940851
Added setCurrentEventState method
2007-07-13 11:31:56 +00:00
Robert Osfield
b2535d55c6
Introduced new GUIEventAdatper singleton for sharing the current state between
...
multiple GraphicsWindows, this singleton is accessable via GUIEventEvent::getAccumulatedEventState().
Added use of this new singleton in GraphicsWindow* implementations.
Added WindowSizeHandler to osgkeyboard to help with debugging of event state
between windows.
2007-07-13 11:17:41 +00:00
Robert Osfield
095da72020
Fixed typo
2007-07-11 16:06:04 +00:00
Robert Osfield
691a49d0fa
From Paul Melis, fixes to spelling mistakes/typos.
2007-07-11 15:51:17 +00:00
Robert Osfield
e3747b1004
From Rafa Giatan and Robert Osfield, added support for User defined events, by adding
...
UserData to Events.
2007-05-19 13:39:55 +00:00
Robert Osfield
6d7b5e7ebd
From Eric Wing, pedantic warning fixes
2007-04-06 15:36:13 +00:00
Robert Osfield
a01cade782
Added setHandled/getHandled to osgGA::GUIEventAdapter
2007-01-24 12:21:29 +00:00
Robert Osfield
055abec7a3
Added osg::StateSet* parameter to constructor to make it more convinient to set
...
up the StateSetManipulator and moved the initialization of locally cached states
into the handle method to ensure a representative version of the StateSet is captured
2007-01-23 16:26:15 +00:00
Robert Osfield
c4279bd5f1
Ported following examples to osgViewer:
...
osgparticleeffects
osgphotoalbum
osgpick
osgpoints
osgpointsprite
osgprecipitation
osgprerender
osgprerendercubemap
osgreflect
osgscalarbar
osgscribe
osgsequence
osgplanets
2007-01-10 13:52:22 +00:00
Robert Osfield
16d1c00a3d
Changed the return types of makeCurrent to bool, and added a bool GraphicsContext::releaseContext method
...
along with implementations in osgViewer.
2007-01-08 19:29:59 +00:00
Robert Osfield
7155f7d1b0
Various work on osgViewer library, including warp point and graphics window resize support
2007-01-01 18:20:10 +00:00
Robert Osfield
84d22f9999
Added new adapter methods to EventQueue to allow the time value of the
...
event to be specified.
2006-12-26 17:37:58 +00:00
Robert Osfield
2255771b74
Further work osgViewer::Viewer and related classes.
2006-12-20 21:13:29 +00:00
Robert Osfield
c24289315a
Fixed comment
2006-11-15 20:24:09 +00:00
Robert Osfield
e0f395fd07
Moved SimpleViewer and GraphicsWindow into their own osgViewer library, updated simpleviewer examples to reflect this change
2006-11-02 12:27:15 +00:00
Robert Osfield
f95a913daa
Removed osgGA::GUIEventHandlerVisitor and osgGA::SetSceneVistor classes/headers as
...
this classes weren't being actively used the distribution, effectively being noops.
2006-10-06 09:54:45 +00:00
Robert Osfield
632df7f3ff
Added osgGA::GraphicsWindow base class that derives from osg::GraphicsContext but
...
adds default overrides its pure virtue methods, and an EventQueue.
2006-10-05 10:06:19 +00:00
Robert Osfield
e0599f652e
Added releaseGLObjects to NodeCallbacks, Drawable::DrawCallbacks and wired up
...
osgProducer to use it when doing cleanup_frame.
2006-10-02 15:38:31 +00:00
Robert Osfield
ba7d27c9b2
From Chris Hanson, "These changes break out the implementation of the fill/wireframe/point, texture,
...
lighting and backface culling settings from the event handling code in StatesetManipulator
into public methods. The event handler now calls the public methods. This allows user code
to invoke this same functionality from non-keyboard event inputs without clashing with the
keyboard-invoked functionality."
From Robert Osfield, tweaks to the above to kepp the coding style the same as the rest of the OSG, also
made getPolygonMode() const, and updated the wrappers.
2006-10-01 19:19:31 +00:00
Robert Osfield
2ed98b56c9
Added subclassing from osg::Referenced to allow the SimpleViewer to be safely managed on the heap.
2006-09-30 14:10:15 +00:00
Robert Osfield
5c0eb0b013
Added bare bones osgGA::SimpleViewer class to help simplify OSG setup when embedding the OSG
...
into existing GUI applications, and for one one a single camera, single window is required.
2006-09-25 16:25:53 +00:00
Robert Osfield
6f23173c05
Added comments on the meaning of button value
2006-08-21 20:29:32 +00:00
Robert Osfield
553d017fd9
From Daniel Trstenjak, build fixes for Hpux 11.11, Irix 6.5, Solaris 8 and Aix
2006-08-02 10:43:26 +00:00
Robert Osfield
c0c5e73ff9
From Michael Polak, double click fixes/additions
2006-07-27 12:32:40 +00:00
Robert Osfield
f1c2694c17
Updated copyright years.
2006-07-18 15:21:48 +00:00
Robert Osfield
519157aeab
From Vincent Vivanloc, Removed commas from end of enum lists, and removed semi-colon
...
from end of namespace.
2006-07-12 09:50:45 +00:00
Robert Osfield
e7d9e91525
From Stephan Huber,
...
"attached you'll find some modifications to Producer, osgGA and
osgProducer to enable Mac OS X support for
+ scrollwheels,
+ mightymouse-srollballs
+ new tracking-pads with scroll feature
+ tablet-support (pressure, proximity and pointertype) (Wacom only tested)
I think there was a bug in the windows-implementation of scroll-wheel
support (wrong order of ScrollingMotion-enum, casting problem) which is
fixed now.
The scrollwheel-code is a bit klunky across platforms, some devices on
OS X can report an absolute delta in pixel-coordinates not only the
direction, so for now there is scrollingMotion (which describes the
direction) and scrolldeltax and scrolldeltay. I decided to leave the
scrollingmotion-stuff to not break old code relying on this."
2006-07-04 14:18:44 +00:00
Robert Osfield
46ad44a9e7
Fixed typo.
2006-06-16 09:28:35 +00:00
Robert Osfield
85edf40fcb
Added createEvent() convinience method.
2006-03-15 15:49:21 +00:00
Robert Osfield
d43dbaeadd
Build fixes
2006-03-14 13:18:21 +00:00
Robert Osfield
1a16d6d6b0
Added an EventQueue directly into osgProducer::Viewer.
2006-03-13 13:19:37 +00:00
Robert Osfield
fa5ff9d169
Added EventQueue.
2006-03-08 15:40:02 +00:00
Robert Osfield
dbbabf87c6
Converted osgGA::GUIEventAdapter into a concrete class capable of respresenting
...
keyboard and mouse events.
Added osgGA::EventQueue class to support a thread safe event queue and adaption
of keyboard and mouse events.
Removed osgProducer::EventAdapter as GUIEventAdapter replaces it.
Adapted osgProducer and examples to work with the new changes to osgGA.
2006-03-08 14:09:47 +00:00
Robert Osfield
c448e4d791
Began work on making EventVisitor capable of adapting events directly.
2006-03-05 20:46:59 +00:00
Robert Osfield
abed6b7951
Ported NodeTrackCallback and NodeTrackManipulator across to use oberserver_ptr
...
instead of RefNodePath.
Removed now redundent RefNodePath.
2006-02-27 19:49:47 +00:00
Robert Osfield
0347895c96
Fixed typo in comments and onscreen help.
2005-12-09 20:03:04 +00:00
Robert Osfield
b0869a6f60
Added s/getCenter and s/getRotation methods, and updated wrapper.
2005-11-18 15:00:34 +00:00
Robert Osfield
38a9dc51f8
From Toshiyuki Takeahei, addition of s/getDistance() methods
2005-11-18 14:49:05 +00:00
Robert Osfield
9c93332c03
From Rodger James, changed the Win32 static library compilation support to use
...
OSG_LIBRARY_STATIC to avoid problems with building libs when not required.
2005-11-18 09:52:24 +00:00
Robert Osfield
35fcaf7bde
Convert tabs to spaces.
2005-11-17 17:44:48 +00:00
Robert Osfield
b15b677cc3
From Mikkel Gjøl, addition of paramter set/get methods to osgGA::*Manipulators,
...
change of ' ' to GUIEventAdapter::KEY_Space, fix to url in Matrix_implementation.cpp.
Syntax fixes by Robert Osfield to above submission fix inconsistencies with normal
OSG coding style.
2005-11-17 11:03:20 +00:00
Robert Osfield
48b69d5b13
From Toshiyuki Takehei, typo fix of getTrackerMode().
2005-11-14 11:08:16 +00:00
Robert Osfield
9d8fd69fa9
Change the KeySwitchMatrixManipulator so that it two sets of getMatrixManipulator
...
methods, two that takes an index,two that takes a key value. Updated the ViewEventHandler
so the it now uses the getMatrixManipulatorWithIndex() method to avoid previous ambiguity.
2005-11-14 11:00:36 +00:00
Robert Osfield
e5685bc1ac
Added s/getMaxNumOfTextureUnits control to osgGA::StateSetManipulator, and set the default to 4.
2005-11-11 14:22:57 +00:00
Robert Osfield
258425d649
Bumped the version numbers up to 1.0 in preparation for 1.0-rc1.
2005-11-09 10:49:56 +00:00
Robert Osfield
f26c3da074
From Chris Hanson, "The following files are drop-in replacements for the include/*/Export files to permit
...
building statically linked osg libraries under Win32."
2005-09-28 14:05:05 +00:00
Robert Osfield
d154c2a4cd
From Eric Sokolowsky, warning fixes for g++ 4.0 under Fedora Core 4.
2005-08-25 17:53:01 +00:00
Robert Osfield
72a59527f5
From Marco Jez, added setEventHandled() and getEventHandled() to osgGA::EventVisitor.
2005-07-27 09:37:26 +00:00
Robert Osfield
cf06b40891
Added pragma to remove warnings under VS.8.0
2005-05-24 18:57:13 +00:00
Robert Osfield
b8b6ed8e34
Fixed doxygen comments.
2005-05-20 21:01:57 +00:00
Robert Osfield
dce2fbf7ec
From Marco Jez, change of Doxygen docs name of class from UFOManipulator to
...
osgGA::UFOManipulator, done to avoid automated wrapper issues.
2005-05-14 14:31:37 +00:00
Robert Osfield
03232ec667
Moved osg::Impostor to osgSim::Impostor, as Impostor isn't a core feature.
2005-05-01 19:48:49 +00:00
Robert Osfield
bc83e63bb4
Futher work on adding event and update callbacks to StateSet, Uniform and StateAttributes
2005-04-25 11:05:02 +00:00
Robert Osfield
bba76cfa31
From Tree, removed dependency on Producer
2005-04-22 14:40:06 +00:00
Robert Osfield
678b22ce83
Updated Copyright notices to 1998-2005.
2005-04-14 21:41:28 +00:00
Robert Osfield
476a83bb9c
Added MatrixManipulator::s/getIntersectTraversalMask(uint) to allow control
...
of which subgraphs should be used in intersection calculations. Updated
Terrain,Drive and UFO manipulator to use this new flag.
2005-03-22 21:06:06 +00:00
Don BURNS
5d10547ac5
Added getCameraByName method to viewer and home(double currentTime) to
...
MatrixManipulator, UFO, Trackball and ANimation manipulator.
2005-03-20 23:57:17 +00:00
Don BURNS
c332d1f751
Chagned osg::Matrix to osg::Matrixd
2005-03-13 05:02:02 +00:00
Don BURNS
fce7f24347
Added a few things to osgProducer::Viewer to support UFO manipulator and
...
cleaned up UFOManipulator.
2005-03-12 05:31:26 +00:00
Don BURNS
e59284501b
Changed class name to UFO instead of UFOManipulator to conform to the other
...
manipulators
2005-03-11 17:46:12 +00:00
Don BURNS
a7ac8f5992
Added UFO manipulator
2005-03-11 06:09:16 +00:00
Robert Osfield
ce68304f90
Improved support GUIEventHandler's being node event callbacks.
2005-02-25 23:02:23 +00:00
Robert Osfield
0f61af08bd
Added support for new event visitor type into osgGA and osgProducer::Viewer,
...
and event callback into Drawable.
2005-02-25 14:02:48 +00:00
Robert Osfield
10c3f934f1
Added support for control the pitch of the drive manipulator via the
...
up and down cursor keys.
2005-02-22 19:19:50 +00:00
Robert Osfield
79a59e596c
Tweak to comment.
2005-02-15 09:37:20 +00:00
Robert Osfield
89236b46fd
From Mason Menninger, addition of setTrackballSize() parameter.
2005-01-22 16:55:48 +00:00
Robert Osfield
530e08aaa1
Made getHomePosition const.
2004-10-25 17:41:54 +00:00
Robert Osfield
2a904a4dad
Added docs
2004-10-15 09:10:36 +00:00
Robert Osfield
bb7c423849
Updates to NodeTrackerManipulator.cpp
2004-10-14 20:35:55 +00:00
Robert Osfield
792a7fe0d5
Improvements to the NodeTrackManipulator and osgsimulation example
2004-10-14 10:38:29 +00:00
Robert Osfield
5747773096
From Tree, changes to better support Java binding generation
2004-09-28 09:14:04 +00:00
Robert Osfield
790da0776a
Made the computeLocalToWorld etc method to use const NodePath's parameters.
2004-09-09 15:14:33 +00:00
Robert Osfield
543f4493f6
Removed reference to old CmdLineArgs class
2004-09-01 11:05:57 +00:00
Robert Osfield
da5fa4cbcd
Added bool paramter to MatrixManipulator::setHomePosition(,,,bool) to allow
...
the autocomputehomeposition to be controlled.
2004-09-01 10:18:46 +00:00
Robert Osfield
1da72da167
Simplified the TrackMode options
2004-08-31 14:21:46 +00:00
Robert Osfield
08017daf37
Added rescale of quaternion in Matrix::set(Quat), a copy operation in osg::Quat and
...
extra tracking options in NodeTrackerManipulator.
2004-08-31 09:20:31 +00:00
Robert Osfield
6578655ff3
Added trackmode support for handling rotation of tracked node
2004-08-30 18:53:44 +00:00
Robert Osfield
146f4cd573
Remamed TrackerManipulator to NodeTrackerManipulator
2004-08-30 10:03:18 +00:00
Robert Osfield
075c2f94d0
Fixed getHomePosition
2004-08-26 06:41:09 +00:00
Robert Osfield
6524fe1293
From Norman Vine, fixes for Mingw
2004-08-02 09:11:31 +00:00
Robert Osfield
b790fa59a8
Added beginnings of new TrackballManipulator
2004-07-30 15:44:59 +00:00
Robert Osfield
0acbe077fa
Added support for matix manipulator setHomePosition(,,)
2004-07-12 19:54:54 +00:00
Robert Osfield
504dd515d3
Improvements to the handling of coordinate system nodes
2004-07-09 15:21:33 +00:00
Robert Osfield
f96622ebf9
From Matt Burke, typo fix on getMinimumDistance().
2004-06-28 20:47:39 +00:00
Robert Osfield
ba7a7fe638
Updates to FlightManipulator
2004-06-08 12:31:33 +00:00
Robert Osfield
22ec86114d
Updates to the terrain manipulator.
2004-06-08 07:32:08 +00:00
Robert Osfield
ab2b817e61
Made improvements to the handling of small rotations in Quat and
...
TerrainManipulator
2004-05-20 23:25:26 +00:00
Robert Osfield
f02c75f5ea
Added Vec2d, Vec3d and Vec4d classes, and remapped Vec2, Vec3 and Vec4 to
...
Vec2f, Vec3f an Vec4f respectively, with typedef's to the from Vec* to Vec*f.
2004-05-20 10:15:48 +00:00
Robert Osfield
2cd4bd513a
Changed how the rotation and panning are managed, therby improving the
...
handling of the center point going over a pole.
2004-05-17 22:22:24 +00:00
Robert Osfield
a62699b015
Improved the panning support, and added s/getRotationMode(..) to allow
...
users flip between a trackball rotation style and an azim,elevation style.
2004-05-17 15:50:44 +00:00
Robert Osfield
47dd0ece28
Added new TerrainManipulator to osgGA, and new callback for getting the
...
CoordinateFrame for a given X,Y,Z location.
2004-05-06 11:01:16 +00:00
Robert Osfield
7596b3b361
Added getKeyManipMap() method
2004-04-30 09:04:10 +00:00
Robert Osfield
f81447e839
Added support for handling a user define CoordinateFrame in the flight
...
and trackball manipulators with API access via the MatrixManipulator
base class
2004-04-29 22:18:54 +00:00
Robert Osfield
ce79e6f400
Added osgGA::TrackballManipulator::g/setMinimumZoomScale() method.
2004-03-08 11:41:57 +00:00
Robert Osfield
345298badd
Fixed the className() defintations to be const
2004-02-05 12:11:06 +00:00
Robert Osfield
eb4ee3afad
*** empty log message ***
2003-10-27 16:07:21 +00:00
Robert Osfield
f8df9991b2
Improves to CullStack.
...
From M.Grngr. options support for f=switching off internal imagery in .ive files
2003-09-26 11:20:43 +00:00
Robert Osfield
792bba05b9
Added new Matrixf and Matrixd implementations.
...
Made Matrix be a typedef to either Matrixf or Matrixd. Defaults to Matrixf.
Converted the osgGA::MatrixManipulators and osgProducer::Viewer/OsgCameraGroup
across to using exclusively Matrixd for internal computations and passing betwen
Manipulators, Producer and SceneView. Note, SceneView still uses Matrix internally
so will depend on what is set as the default in include/osg/Matrix.
Added the ability to osgProducer::setDone/getDone(), kept done() as the
method that the viewer main loop uses for detecting the exit condition.
2003-09-05 22:35:34 +00:00
Robert Osfield
e2a72f7e72
Fixed typo of getNumMatrixManipulators().
2003-08-19 14:05:53 +00:00
Don BURNS
15f88f35b2
*** empty log message ***
2003-06-24 15:40:09 +00:00
Robert Osfield
00e94b86d8
Removed all KeySwitchCameraManipulator class, replacing it
...
with the KeySwitchMatrixManipulator
2003-05-19 20:18:37 +00:00
Robert Osfield
940ce67133
Removed remaining dependancies on osg::Camera.
2003-05-19 15:15:17 +00:00
Robert Osfield
ba8bf1e94c
From Eric Sokolowsky, support for mouse scroll wheel in osgGA/osgProducer.
2003-05-07 11:13:49 +00:00
Robert Osfield
f543d69881
Improved the handling of Producer's no dimensional mouse coords.
2003-04-14 13:23:12 +00:00
Robert Osfield
c3fd384eb1
From Romano José Magacho da Silva, added 'p' toggle to animation path
...
manipulator to allow animations to be paused and resumed.
Added frame rate stats which are output on each repetition of the path.
2003-04-08 20:06:37 +00:00
Robert Osfield
5f8411ac5c
Changed the KeySwichCameraManipulator::setNode() so it set all camera's
...
attached to it.
2003-04-08 13:10:47 +00:00
Robert Osfield
169bf25f77
Implemented support for float x and y mouse positions, and normalization of
...
mouse coords in osgGA::GUIEventAdapter, and ported osgGA camera manaipulators
to use the new normalized values.
Moved osgProducer across to tracking the window dimensions and ensure that the
internals values in osgProducer::EventAdapter are kept consistent. Moved
the warp pointer in Viewer across to using KeyboardMouse::positionPointer().
2003-04-04 19:10:37 +00:00
Robert Osfield
11053aaa5c
Change the className() functions from non const to const to be consistent with the
...
osg::Object definition.
2003-03-29 22:07:03 +00:00
Robert Osfield
d8c82e17af
Changed private to protected.
2003-03-27 17:20:21 +00:00
Robert Osfield
8779fe20a7
Added help support for display help on screen to osgProducer::Viewer.
2003-03-26 12:50:30 +00:00
Robert Osfield
a03675495a
Added new osgkeyboad example.
2003-03-24 21:17:51 +00:00
Robert Osfield
c2167be67b
Fixed typo.
2003-03-24 15:21:52 +00:00
Robert Osfield
19e2368991
Added osgGA::GUIEventAdapter::KeySymbol enumate list, which is a remapping
...
of the X settings.
Added a pass through of X11 sybmbols from Producer to osgGA::GUIEventAdapter::KeySymbol
in the osgProducer::EventAdapter.
2003-03-24 13:43:22 +00:00
Robert Osfield
6dbc770347
Made the osgGA::GUIEventHandler sublassed from osg::Object as a virtual
...
inheritence to allow handler to also be used as node callbacks.
Fix to UpdateVisitor to make the visitation of Drawable more consistent
with the way that nodes are traversed.
2003-03-24 08:42:35 +00:00
Robert Osfield
21a74223e6
Added getCameraManipulator(unsigned int) method.
2003-03-19 21:14:50 +00:00
Robert Osfield
e87a08f1c3
Fixes to osgcluster demo as new Producer based example.
...
Added extra pragrma remove a warning about float to int cast under VS.NET.
2003-03-16 21:58:27 +00:00
Robert Osfield
0d3f78350a
Added keyboard mouse binding usage to the osg::ApplicationUsage and
...
osgGA::GUIEventHandler and its subclasses.
2003-02-19 10:43:02 +00:00
Robert Osfield
6fd27a4b59
Clean up to the osgProducer lib and demo.
2003-01-22 15:30:17 +00:00
Robert Osfield
48bda9cc79
Added new Copyright/License notice to header and source files.
2003-01-21 16:45:36 +00:00
Robert Osfield
c2c38955c6
Added new getCurrentCamaeraManipulator(), and removed and debugging message.
2003-01-17 14:12:25 +00:00
Robert Osfield
1c602035ef
Added DOUBLECLICK EventType to GUIEventAdapter.
2003-01-16 19:27:30 +00:00
Robert Osfield
af6a6ff9f0
Fixes for Win32 build.
2003-01-14 16:39:41 +00:00
Robert Osfield
59969be08d
From Daniel Sjölie, updates to the GUIEventAdapter and GLUTEventAdapter to handle
...
key and key down, modifiers and funcion keys.
2003-01-14 14:25:56 +00:00
Robert Osfield
5eb65f65cc
Added support for recording camera animation paths in osgGLUT::Viewer, and fixed
...
the osgGA::AnimationPathManipulator to handle it.
Added a new Drawable::ConstAttributeFunctor and make the accept(PrimitiveFunctor)
be a const method so can disallows modification. Added Drawable::supports(...) methods
for each of the AttributeFunctor, ConstAttributeFunctor and PrimitiveFunctor so
that programs can querry whether it is possible to use functors with that object type.
2002-11-06 10:24:33 +00:00
Robert Osfield
ac0de068d9
Changed the private: to protected: to allow easier extension.
2002-10-21 13:02:30 +00:00
Robert Osfield
c59fc9a2b7
Fixed a bug in the Optimizer where BIND_PER_PRIMITIVE_SET primitives where being eroneously merged.
...
Added missing support for reading geometry indices from the .osg format.
Added handling of geometry indices into the primitive functor in osg::Geometry.
Moved the method implementions of AnimationPathManipulator into src/osgGA and added extra convinience
methods for setting the manipulator with an hand built AnimationPath.
FCVS: VisualStudio/osgPlugins/iv/iv.dsp
2002-10-08 14:10:55 +00:00
Don BURNS
588bc1da3c
Solaris didn't like filebuf. Using old FILE
2002-10-08 08:36:48 +00:00
Don BURNS
16e3a3c182
Added AnimationPathManipulator to osgGA and modified sgv to use it.
2002-10-08 07:39:38 +00:00
Robert Osfield
55215651d7
Renamed osg::Primitive to osg::PrimitiveSet which better reflect what it
...
encapsulates.
Added new osg::IndexGeometry implemention, *not* complete yet.
Changed the rest of the OSG to handle the renaming og Primitive to PrimitiveSet.
2002-09-20 14:51:59 +00:00
Robert Osfield
fc5f07acaa
Fixed the numerical accuracy problems in the Drive and Flight Manipulators.
2002-08-29 20:41:19 +00:00
Robert Osfield
44beefa9a5
Fixed numerical accuracy problem in Trackball manipulator.
2002-08-29 16:38:51 +00:00
Robert Osfield
03ee77a315
Updates, from Neil Salter, to comments etc to osgGA which add better
...
explanations of how each of the classes operates.
2002-08-28 14:27:18 +00:00
Robert Osfield
8c0d510571
Several items of work related to adding a manual creation of occluders
...
option to the osgoccluder demo.
First the osgGA classes have been generalised a little to better support
new GUIEventHandler subclasses.
Second osgGLUT has a new option for registering a user defined event handler,
the allows the application to add externally extra options to the osgGLUT viewer.
Third, the osgoccluder demo now works in two modes. The original create
four occluder sides to wrap an loaded model, the second an interactive
mode which allows the users to add occluders to the model by pointing
to points and pressing 'a' to add a point, the 'e' to end the occluder
polygon, polygons must be convex, planer and be defined in an anitclockwise
order. To start the osgoccluder in this mode one simple runs it with the
'-c' option. Run osgoccluder with no parameter to get a list of options.
2002-07-17 10:00:50 +00:00
Robert Osfield
3a964a6b93
Updated docs and added osgGA
2002-07-16 20:07:32 +00:00
Robert Osfield
d91b848a63
Checked in migration from osgUtil based GUIAdapter code to Neil Salter's
...
osgGA (Gui Abstraction). This may break users code, but all it should
require to fix the builds should be a change from
osgUtil::CameraManipulator (etc) to osgGA::CameraManipulator and
include <osgUtil/CameraManipulator (etc) to osgGA/CameraManipulator and
the extra dependency of the link line.
2002-06-09 13:10:09 +00:00
Robert Osfield
f16a539492
Fixes for warnings under VisualStudio
2002-05-29 19:34:01 +00:00
Robert Osfield
a5a267d305
Added pragma to disable warning under VisualStudio.NET.
2002-05-28 16:11:49 +00:00
Robert Osfield
2338b7116a
Updates for Doxygen and osgGA headers from Neil.
2002-05-22 08:50:05 +00:00
Robert Osfield
cf4a3500ec
Added new osgGA - GUI Adapter library submitted by Neil Salter. This will
...
replace the current GUI adapter code inside osgUtil.
2002-05-09 10:31:03 +00:00