1 #ifndef visdepthtabplanedragger_h 2 #define visdepthtabplanedragger_h 16 #include "visbasemod.h" 21 namespace osgGeo {
class TabPlaneDragger; }
22 namespace osg {
class Switch; }
30 class PlaneDraggerCallbackHandler;
38 friend class PlaneDraggerCallbackHandler;
43 void removeScaleTabs();
47 void setCenter( const
Coord3&,
bool alldims = true );
52 Coord3 center() const;
54 void setSize( const Coord3&,
bool alldims=true );
69 void setSpaceLimits( const
Interval<
float>& x,
72 void getSpaceLimits(
Interval<
float>& x,
76 void setWidthLimits( const
Interval<
float>& x,
79 void getWidthLimits(
Interval<
float>& x,
83 void setDisplayTransformation( const
mVisTrans* );
84 const mVisTrans* getDisplayTransformation() const;
86 void showDraggerBorder(
bool yn=true);
87 bool isDraggerBorderShown() const;
89 void showPlane(
bool yn=true);
90 bool isPlaneShown() const;
92 void setTransDragKeys(
bool depth,
int keys);
98 int getTransDragKeys(
bool depth) const;
113 ~DepthTabPlaneDragger();
115 void setOsgMatrix(const Coord3& worldscale,
116 const Coord3& worldtrans);
118 void initOsgDragger();
127 osg::Switch* osgdraggerplane_;
128 PlaneDraggerCallbackHandler* osgcallbackhandler_;
#define mExpClass(module)
Definition: commondefs.h:160
A collection of geoscientific extensions to OpenSceneGraph.
Definition: visannot.h:38
Interval of values.
Definition: commontypes.h:31
Definition: callback.h:254
Set of (small) copyable elements.
Definition: commontypes.h:30
#define mVisTrans
Definition: visdata.h:31
Interval with step.
Definition: commontypes.h:33
Definition: visdepthtabplanedragger.h:36
A cartesian coordinate in 3D space.
Definition: coord.h:72
static DepthTabPlaneDragger * create()
Definition: visdepthtabplanedragger.h:41
Definition: visannot.h:43
Open Scene Graph.
Definition: visannot.h:29
#define mCreateDataObj(clss)
Definition: visdata.h:209
Definition: visobject.h:72