OpenCOVER
vruiHit.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 VRUI_HIT_H
9#define VRUI_HIT_H
10
11#include <util/coTypes.h>
12#include <util/coVector.h>
13
14namespace vrui
15{
16using covise::coVector;
17
18class vruiNode;
19
20class OPENVRUIEXPORT vruiHit
21{
22
23public:
25 {
26 }
27
28 virtual ~vruiHit();
29
30 virtual coVector &getLocalIntersectionPoint() const = 0;
31 virtual coVector &getWorldIntersectionPoint() const = 0;
32 virtual coVector &getWorldIntersectionNormal() const = 0;
33 virtual bool isMouseHit() const = 0;
34
35 virtual vruiNode *getNode() = 0;
36};
37}
38#endif
collaborative interface manager
Definition: coVRCommunication.h:41
Definition: vruiHit.h:21
virtual coVector & getLocalIntersectionPoint() const =0
virtual bool isMouseHit() const =0
virtual coVector & getWorldIntersectionNormal() const =0
virtual coVector & getWorldIntersectionPoint() const =0
vruiHit()
Definition: vruiHit.h:24
virtual ~vruiHit()
virtual vruiNode * getNode()=0
Definition: vruiNode.h:22