diff options
author | Stefan Radomski <radomski@tk.informatik.tu-darmstadt.de> | 2013-01-20 17:34:02 (GMT) |
---|---|---|
committer | Stefan Radomski <radomski@tk.informatik.tu-darmstadt.de> | 2013-01-20 17:34:02 (GMT) |
commit | a0666b3ab907c0036f5e3f036b32e9ec5a6e551d (patch) | |
tree | d3db8b6beb8622fa41b87b0934d4702cf0b61819 /src/uscxml/plugins/invoker/graphics/openscenegraph/OSGInvoker.h | |
parent | f4f05b40c8c464daf1e11df6fcdb63d05766ed1f (diff) | |
download | uscxml-a0666b3ab907c0036f5e3f036b32e9ec5a6e551d.zip uscxml-a0666b3ab907c0036f5e3f036b32e9ec5a6e551d.tar.gz uscxml-a0666b3ab907c0036f5e3f036b32e9ec5a6e551d.tar.bz2 |
Regenerated V8 DOM and beautified code
Diffstat (limited to 'src/uscxml/plugins/invoker/graphics/openscenegraph/OSGInvoker.h')
-rw-r--r-- | src/uscxml/plugins/invoker/graphics/openscenegraph/OSGInvoker.h | 110 |
1 files changed, 55 insertions, 55 deletions
diff --git a/src/uscxml/plugins/invoker/graphics/openscenegraph/OSGInvoker.h b/src/uscxml/plugins/invoker/graphics/openscenegraph/OSGInvoker.h index aca54ec..e65bff8 100644 --- a/src/uscxml/plugins/invoker/graphics/openscenegraph/OSGInvoker.h +++ b/src/uscxml/plugins/invoker/graphics/openscenegraph/OSGInvoker.h @@ -35,64 +35,64 @@ public: virtual void cancel(const std::string sendId); virtual void invoke(const InvokeRequest& req); virtual void sendToParent(const SendRequest& req); - virtual void handleEvent(Arabica::DOM::Events::Event<std::string>& event); + virtual void handleEvent(Arabica::DOM::Events::Event<std::string>& event); - virtual void runOnMainThread(); + virtual void runOnMainThread(); protected: - void processDisplay(const Arabica::DOM::Node<std::string>& element); - void updateDisplay(osg::Node* node, Arabica::DOM::Events::Event<std::string>& event); - void processViewport(const Arabica::DOM::Node<std::string>& element); - void updateViewport(osg::Node* node, Arabica::DOM::Events::Event<std::string>& event); - void processCamera(const Arabica::DOM::Node<std::string>& element); - void updateCamera(osg::Node* node, Arabica::DOM::Events::Event<std::string>& event); - - void processTranslation(const Arabica::DOM::Node<std::string>& element); - void updateTranslation(osg::Node* node, Arabica::DOM::Events::Event<std::string>& event); - - void processRotation(const Arabica::DOM::Node<std::string>& element); - void updateRotation(osg::Node* node, Arabica::DOM::Events::Event<std::string>& event); - static osg::Matrix rotationFromElement(const Arabica::DOM::Node<std::string>& element); - - void processScale(const Arabica::DOM::Node<std::string>& element); - void updateScale(osg::Node* node, Arabica::DOM::Events::Event<std::string>& event); - void processNode(const Arabica::DOM::Node<std::string>& element); - void updateNode(osg::Node* node, Arabica::DOM::Events::Event<std::string>& event); - - void processChildren(const std::set<std::string>& validChildren, const Arabica::DOM::Node<std::string>& element); - - void getViewport(const Arabica::DOM::Node<std::string>& element, - unsigned int& x, - unsigned int& y, - unsigned int& width, - unsigned int& height, - int& screenId); - - void getViewport(const Arabica::DOM::Node<std::string>& element, - unsigned int& x, - unsigned int& y, - unsigned int& width, - unsigned int& height, - CompositeDisplay* display); - - void getViewport(const Arabica::DOM::Node<std::string>& element, - unsigned int& x, - unsigned int& y, - unsigned int& width, - unsigned int& height, - unsigned int fullWidth, - unsigned int fullHeight); - - osgViewer::View* getView(const Arabica::DOM::Node<std::string>& element); - - std::map<Arabica::DOM::Node<std::string>, CompositeDisplay*> _displays; - typedef std::map<Arabica::DOM::Node<std::string>, CompositeDisplay*> _displays_t; - - std::map<Arabica::DOM::Node<std::string>, osgViewer::View*> _views; - typedef std::map<Arabica::DOM::Node<std::string>, osgViewer::View*> _views_t; - - std::map<Arabica::DOM::Node<std::string>, osg::Node*> _nodes; - typedef std::map<Arabica::DOM::Node<std::string>, osg::Node*> _nodes_t; + void processDisplay(const Arabica::DOM::Node<std::string>& element); + void updateDisplay(osg::Node* node, Arabica::DOM::Events::Event<std::string>& event); + void processViewport(const Arabica::DOM::Node<std::string>& element); + void updateViewport(osg::Node* node, Arabica::DOM::Events::Event<std::string>& event); + void processCamera(const Arabica::DOM::Node<std::string>& element); + void updateCamera(osg::Node* node, Arabica::DOM::Events::Event<std::string>& event); + + void processTranslation(const Arabica::DOM::Node<std::string>& element); + void updateTranslation(osg::Node* node, Arabica::DOM::Events::Event<std::string>& event); + + void processRotation(const Arabica::DOM::Node<std::string>& element); + void updateRotation(osg::Node* node, Arabica::DOM::Events::Event<std::string>& event); + static osg::Matrix rotationFromElement(const Arabica::DOM::Node<std::string>& element); + + void processScale(const Arabica::DOM::Node<std::string>& element); + void updateScale(osg::Node* node, Arabica::DOM::Events::Event<std::string>& event); + void processNode(const Arabica::DOM::Node<std::string>& element); + void updateNode(osg::Node* node, Arabica::DOM::Events::Event<std::string>& event); + + void processChildren(const std::set<std::string>& validChildren, const Arabica::DOM::Node<std::string>& element); + + void getViewport(const Arabica::DOM::Node<std::string>& element, + unsigned int& x, + unsigned int& y, + unsigned int& width, + unsigned int& height, + int& screenId); + + void getViewport(const Arabica::DOM::Node<std::string>& element, + unsigned int& x, + unsigned int& y, + unsigned int& width, + unsigned int& height, + CompositeDisplay* display); + + void getViewport(const Arabica::DOM::Node<std::string>& element, + unsigned int& x, + unsigned int& y, + unsigned int& width, + unsigned int& height, + unsigned int fullWidth, + unsigned int fullHeight); + + osgViewer::View* getView(const Arabica::DOM::Node<std::string>& element); + + std::map<Arabica::DOM::Node<std::string>, CompositeDisplay*> _displays; + typedef std::map<Arabica::DOM::Node<std::string>, CompositeDisplay*> _displays_t; + + std::map<Arabica::DOM::Node<std::string>, osgViewer::View*> _views; + typedef std::map<Arabica::DOM::Node<std::string>, osgViewer::View*> _views_t; + + std::map<Arabica::DOM::Node<std::string>, osg::Node*> _nodes; + typedef std::map<Arabica::DOM::Node<std::string>, osg::Node*> _nodes_t; tthread::recursive_mutex _mutex; std::string _invokeId; |