Added beginnings of new osgUI library, a replacement for osgWidget that works fully in 3D/stereo and is scriptable.

This commit is contained in:
Robert Osfield
2014-05-12 11:27:54 +00:00
parent 490b351330
commit ead92353fe
27 changed files with 1438 additions and 9 deletions

View File

@@ -3,7 +3,7 @@ SET(TARGET_SRC
osgtransferfunction.cpp
)
SET(TARGET_ADDED_LIBRARIES osgVolume osgManipulator)
SET(TARGET_ADDED_LIBRARIES osgVolume osgUI osgManipulator)
#### end var setup ###
SETUP_EXAMPLE(osgtransferfunction)

View File

@@ -17,14 +17,14 @@
#include <osg/Group>
#include <osg/TransferFunction>
#include <osgGA/Widget>
#include <osgUI/Widget>
#define OSGUI_EXPORT
namespace osgUI
{
class OSGUI_EXPORT TransferFunctionWidget : public osgGA::Widget
class OSGUI_EXPORT TransferFunctionWidget : public osgUI::Widget
{
public:
TransferFunctionWidget(osg::TransferFunction1D* tf=0);