Refactored preset3D/p3d plugin so that common scene graph extensions and classes now live in a separate osgPresenttation NodeKit.
This commit is contained in:
@@ -36,10 +36,11 @@
|
||||
#include <osgGA/AnimationPathManipulator>
|
||||
#include <osgGA/StateSetManipulator>
|
||||
|
||||
#include <osgPresentation/SlideEventHandler>
|
||||
#include <osgPresentation/SlideShowConstructor>
|
||||
|
||||
#include "ReadShowFile.h"
|
||||
#include "SlideEventHandler.h"
|
||||
#include "PointsEventHandler.h"
|
||||
#include "SlideShowConstructor.h"
|
||||
#include "Cluster.h"
|
||||
#include "ExportHTML.h"
|
||||
|
||||
@@ -346,6 +347,7 @@ int main( int argc, char **argv )
|
||||
bool loopPresentation = false;
|
||||
while (arguments.read("--loop")) loopPresentation = true;
|
||||
|
||||
|
||||
// register the slide event handler - which moves the presentation from slide to slide, layer to layer.
|
||||
osgPresentation::SlideEventHandler* seh = new osgPresentation::SlideEventHandler(&viewer);
|
||||
viewer.addEventHandler(seh);
|
||||
|
||||
Reference in New Issue
Block a user