20 namespace osgGeo{
class PolygonSelection; }
27 class SelectionCallBack;
51 bool hasPolygon()
const;
52 bool singleSelection()
const;
53 bool isSelfIntersecting()
const;
54 bool isInside(
const Coord3&,
55 bool displayspace=
false)
const;
57 char includesRange(
const Coord3& start,
59 bool displayspace )
const;
68 void setUTMCoordinateTransform(
const mVisTrans*);
76 bool rayPickThrough(
const Coord3& worldpos,
78 int depthidx=0)
const;
79 void setMasterCamera(
Camera*);
80 void setHUDCamera(
Camera*);
85 const osgGeo::PolygonSelection*);
111 const char* selectorType()
const;
113 bool hasPolygon()
const;
114 bool includes(
const Coord3&)
const;
116 char includesRange(
const Coord3& start,
117 const Coord3& stop)
const;
#define mExpClass(module)
Definition: commondefs.h:157
Inherit from this class to be able to send and/or receive CallBacks.
Definition: callback.h:182
keep osg camera status and render info
Definition: viscamera.h:27
Camera * mastercamera_
Definition: vispolygonselection.h:99
Lock that permits multiple readers to lock the object at the same time, but it will not allow any rea...
Definition: thread.h:141
SelectionType
Definition: vispolygonselection.h:43
Threads::ReadWriteLock polygonlock_
Definition: vispolygonselection.h:95
(Closed) sequence of connected 2-D coordinates.
Definition: polygon.h:25
A collection of geoscientific extensions to OpenSceneGraph.
Definition: visannot.h:35
Definition: visdrawstyle.h:30
const PolygonSelection & vissel_
Definition: vispolygonselection.h:122
const visBase::Transformation * utm2disptransform_
Definition: vispolygonselection.h:91
osgGeo::PolygonSelection * selector_
Definition: vispolygonselection.h:98
Class to help setup a callback handling.
Definition: notify.h:121
bool canDoRange() const
Definition: vispolygonselection.h:115
static PolygonSelection * create()
Definition: vispolygonselection.h:41
3D point or vector
Definition: commontypes.h:57
Definition: vispolygonselection.h:37
#define mVisTrans
Definition: visdata.h:25
SelectionCallBack * selectorcb_
Definition: vispolygonselection.h:100
Interface for classes that select on basis of a key.
Definition: selector.h:23
Definition: visannot.h:40
Definition: vispolygonselection.h:104
ODPolygon< double > * polygon_
Definition: vispolygonselection.h:94
void copy(TypeSetBase< T, I > &to, const TypeSetBase< S, I > &from)
Definition: typeset.h:221
#define mCreateDataObj(clss)
Definition: visdata.h:210
Definition: visobject.h:67
Definition: seistype.h:25
DrawStyle * drawstyle_
Definition: vispolygonselection.h:93