OpenCOVER
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
coIntersecCheckboxMenuItem.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_INTERSEC_CHECKBOX_MENUITEM_H_
9 #define _CO_INTERSEC_CHECKBOX_MENUITEM_H_
10 
12 #include <util/coTypes.h>
13 
14 namespace covise
15 {
16 class coCheckboxGroup;
17 }
18 
19 namespace opencover
20 {
21 class PLUGIN_UTILEXPORT coIntersecCheckboxMenuItem : public coCheckboxMenuItem
22 {
23 public:
24  coIntersecCheckboxMenuItem(const char *, bool, coCheckboxGroup * = NULL);
25  virtual ~coIntersecCheckboxMenuItem();
26  //virtual int hit(osg::Vec3&, pfHit*);
27  virtual int hit(vruiHit *hit);
28  virtual void miss();
29  bool isIntersected() const;
30 
31 private:
32  bool _isIntersected;
33 };
34 }
35 #endif
Definition: coIntersecCheckboxMenuItem.h:21