18 namespace osgGeo {
class TabPlaneDragger; }
19 namespace osg {
class Switch; }
27 class PlaneDraggerCallbackHandler;
35 friend class PlaneDraggerCallbackHandler;
40 void removeScaleTabs();
44 void setCenter( const
Coord3&,
bool alldims = true );
49 Coord3 center() const;
51 void setSize( const Coord3&,
bool alldims=true );
66 void setSpaceLimits( const
Interval<
float>& x,
69 void getSpaceLimits(
Interval<
float>& x,
73 void setWidthLimits( const
Interval<
float>& x,
76 void getWidthLimits(
Interval<
float>& x,
80 void setDisplayTransformation( const
mVisTrans* );
81 const mVisTrans* getDisplayTransformation() const;
83 void showDraggerBorder(
bool yn=true);
84 bool isDraggerBorderShown() const;
86 void showPlane(
bool yn=true);
87 bool isPlaneShown() const;
89 void setTransDragKeys(
bool depth,
int keys);
95 int getTransDragKeys(
bool depth) const;
111 ~DepthTabPlaneDragger();
113 void setOsgMatrix(const Coord3& worldscale,
114 const Coord3& worldtrans);
116 void initOsgDragger();
125 osg::Switch* osgdraggerplane_;
126 PlaneDraggerCallbackHandler* osgcallbackhandler_;
#define mExpClass(module)
Definition: commondefs.h:157
A collection of geoscientific extensions to OpenSceneGraph.
Definition: visannot.h:35
Interval of values.
Definition: commontypes.h:27
Class to help setup a callback handling.
Definition: notify.h:121
3D point or vector
Definition: commontypes.h:57
Set of (small) copyable elements.
Definition: commontypes.h:26
#define mVisTrans
Definition: visdata.h:25
Interval with step.
Definition: commontypes.h:29
Definition: visdepthtabplanedragger.h:33
static DepthTabPlaneDragger * create()
Definition: visdepthtabplanedragger.h:38
Definition: visannot.h:40
Open Scene Graph.
Definition: visannot.h:26
#define mCreateDataObj(clss)
Definition: visdata.h:210
Definition: visobject.h:67