OpenCOVER
coMeasurement.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_MEASUREMENT_H
9#define CO_MEASUREMENT_H
10
11#include <osg/Vec3>
12#include <osg/Vec4>
13#include <osg/Group>
14#include <osg/Geometry>
15
16namespace opencover
17{
18
19class coVRLabel;
20
22{
23public:
26
27 void start();
28 void update();
29
30 void preFrame();
31
32private:
33 osg::Vec3 measureStartHitWorld_;
34 osg::ref_ptr<osg::Group> measureGroup_;
35 osg::ref_ptr<osg::Geometry> measureGeometry_;
36 osg::ref_ptr<osg::Vec3Array> measureVertices_;
37 coVRLabel *measureLabel_;
38 coVRLabel *measureOrthoLabel_;
39 float measureScale_;
40 std::string measureUnit_;
41};
42}
43#endif
Definition: ARToolKit.h:33
Definition: coMeasurement.h:22
Definition: coVRLabel.h:52