OpenTwin 0.1
OpenTwin
 
Loading...
Searching...
No Matches
ClipPlaneManipulator.h
Go to the documentation of this file.
1#pragma once
2
3class Viewer;
4class HandleArrow;
5
6#include <osg/Vec3>
7
8#include "HandlerBase.h"
9
11{
12public:
13 ClipPlaneManipulator(Viewer *viewer, osg::Vec3 &point, osg::Vec3 &normal);
14 virtual ~ClipPlaneManipulator();
15
16 virtual void handlerInteraction(HandlerBase *handler) override;
17
18
19private:
20 void updateHandlers(void);
21
22 Viewer *viewer3D;
23
24 HandleArrow *arrowForward;
25 HandleArrow *arrowBackward;
26
27 osg::Vec3 planePoint;
28 osg::Vec3 planeNormal;
29};
30
@ point
Definition MonitorSettings.h:19
Definition ClipPlaneManipulator.h:11
virtual void handlerInteraction(HandlerBase *handler) override
Definition ClipPlaneManipulator.cpp:40
virtual ~ClipPlaneManipulator()
Definition ClipPlaneManipulator.cpp:28
ClipPlaneManipulator(Viewer *viewer, osg::Vec3 &point, osg::Vec3 &normal)
Definition ClipPlaneManipulator.cpp:8
Definition HandleArrow.h:8
Definition HandlerBase.h:29
Definition HandlerBase.h:20
Simple 3D viewer.
Definition Viewer.h:41