Added beginnings of new osgUI library, a replacement for osgWidget that works fully in 3D/stereo and is scriptable.
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user