OpenCOVER
VruiPartnerMenuItem.h
Go to the documentation of this file.
1/* This file is part of COVISE.
2
3 You can use it under the terms of the GNU Lesser General Public License
4 version 2.1 or later, see lgpl-2.1.txt.
5
6 * License: LGPL 2+ */
7
8#ifndef CO_PARTNERMENUITEM_H
9#define CO_PARTNERMENUITEM_H
10
25#include <osg/Vec3>
26
27namespace osgUtil
28{
29class Hit;
30}
31
32namespace opencover
33{
38{
39protected:
41
42public:
43 VruiPartnerMenuItem(const std::string &name, bool on, vrui::coCheckboxGroup * = NULL);
45 int hit(vrui::vruiHit *hit) override;
46 void miss() override;
47 void buttonEvent(vrui::coButton *button) override;
48
50 const char *getClassName() const override;
52 bool isOfClassName(const char *) const override;
53};
54}
55#endif
Definition: ARToolKit.h:33
Definition: coIntersection.h:28
Definition: VruiPartnerMenuItem.h:38
int hit(vrui::vruiHit *hit) override
bool isOfClassName(const char *) const override
check if the Element or any ancestor is this classname
VruiPartnerMenuItem(const std::string &name, bool on, vrui::coCheckboxGroup *=NULL)
void buttonEvent(vrui::coButton *button) override
const char * getClassName() const override
get the Element's classname
vrui::coButton * viewpoint
actual button which is used for interaction
Definition: VruiPartnerMenuItem.h:40
Definition: coButton.h:37
Definition: coCheckboxGroup.h:27
Definition: coCheckboxMenuItem.h:31
Definition: vruiHit.h:21