1 #ifndef visboxdragger_h 2 #define visboxdragger_h 16 #include "visbasemod.h" 21 namespace osgGeo {
class TabBoxDragger; }
22 namespace osg {
class ShapeDrawable; }
29 class BoxDraggerCallbackHandler;
34 friend class BoxDraggerCallbackHandler;
39 void setCenter(const
Coord3&);
40 Coord3 center() const;
42 void setWidth(const Coord3&);
45 void setBoxTransparency(
float);
47 void showScaleTabs(
bool);
49 void setSpaceLimits(const
Interval<
float>&,
53 void setWidthLimits(const
Interval<
float>& x,
57 void showDraggerBorder(
bool yn=true);
58 bool isDraggerBorderShown() const;
60 bool selectable()
const {
return selectable_; }
63 void setDisplayTransformation(
const mVisTrans*);
64 const mVisTrans* getDisplayTransformation()
const;
66 void setPlaneTransDragKeys(
bool depth,
int keys);
74 int getPlaneTransDragKeys(
bool depth)
const;
80 void useInDepthTranslationForResize(
bool);
81 bool isInDepthTranslationUsedForResize()
const;
97 void setOsgMatrix(
const Coord3& worldscale,
#define mExpClass(module)
Definition: commondefs.h:160
void setSelectable(bool yn)
Definition: visboxdragger.h:61
static BoxDragger * create()
Definition: visboxdragger.h:36
Definition: visboxdragger.h:31
Notifier< BoxDragger > motion
Definition: visboxdragger.h:88
A collection of geoscientific extensions to OpenSceneGraph.
Definition: visannot.h:38
Notifier< BoxDragger > finished
Definition: visboxdragger.h:90
Notifier< BoxDragger > started
Definition: visboxdragger.h:87
Interval of values.
Definition: commontypes.h:31
Definition: callback.h:254
Notifier< BoxDragger > changed
Definition: visboxdragger.h:89
#define mVisTrans
Definition: visdata.h:31
bool useindepthtransforresize_
Definition: visboxdragger.h:110
bool selectable_
Definition: visboxdragger.h:109
A cartesian coordinate in 3D space.
Definition: coord.h:72
Definition: visannot.h:43
osg::ShapeDrawable * osgdraggerbox_
Definition: visboxdragger.h:101
BoxDraggerCallbackHandler * osgcallbackhandler_
Definition: visboxdragger.h:102
Open Scene Graph.
Definition: visannot.h:29
#define mCreateDataObj(clss)
Definition: visdata.h:209
RefMan< const visBase::Transformation > transform_
Definition: visboxdragger.h:95
Definition: visobject.h:72
osgGeo::TabBoxDragger * osgboxdragger_
Definition: visboxdragger.h:100