OpenCOVER
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 
27 namespace osgUtil
28 {
29 class Hit;
30 }
31 
32 namespace opencover
33 {
38 {
39 protected:
41 
42 public:
43  VruiPartnerMenuItem(const std::string &name, bool on, vrui::coCheckboxGroup * = NULL);
44  ~VruiPartnerMenuItem() override;
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
vrui::coButton * viewpoint
actual button which is used for interaction
Definition: VruiPartnerMenuItem.h:40
Definition: vruiHit.h:20
Definition: coButton.h:36
Definition: coCheckboxMenuItem.h:30
Definition: VruiPartnerMenuItem.h:37
Definition: coCheckboxGroup.h:26