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