1 #ifndef vispolygonselection_h 2 #define vispolygonselection_h 16 #include "visbasemod.h" 23 namespace osgGeo{
class PolygonSelection; }
30 class SelectionCallBack;
53 bool hasPolygon()
const;
54 bool singleSelection()
const;
55 bool isSelfIntersecting()
const;
56 bool isInside(
const Coord3&,
57 bool displayspace=
false)
const;
59 char includesRange(
const Coord3& start,
61 bool displayspace )
const;
70 void setUTMCoordinateTransform(
const mVisTrans*);
78 bool rayPickThrough(
const Coord3& worldpos,
80 int depthidx=0)
const;
81 void setMasterCamera(
Camera*);
82 void setHUDCamera(
Camera*);
87 const osgGeo::PolygonSelection*);
113 const char* selectorType()
const;
115 bool hasPolygon()
const;
116 bool includes(
const Coord3&)
const;
118 char includesRange(
const Coord3& start,
119 const Coord3& stop)
const;
#define mExpClass(module)
Definition: commondefs.h:160
To be able to send and/or receive CallBacks, inherit from this class.
Definition: callback.h:272
keep osg camera status and render info
Definition: viscamera.h:30
Camera * mastercamera_
Definition: vispolygonselection.h:101
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:45
Threads::ReadWriteLock polygonlock_
Definition: vispolygonselection.h:97
(Closed) sequence of connected 2-D coordinates.
Definition: polygon.h:27
A collection of geoscientific extensions to OpenSceneGraph.
Definition: visannot.h:38
Definition: visdrawstyle.h:33
const PolygonSelection & vissel_
Definition: vispolygonselection.h:125
const visBase::Transformation * utm2disptransform_
Definition: vispolygonselection.h:93
osgGeo::PolygonSelection * selector_
Definition: vispolygonselection.h:100
Definition: callback.h:254
bool canDoRange() const
Definition: vispolygonselection.h:117
static PolygonSelection * create()
Definition: vispolygonselection.h:43
Definition: vispolygonselection.h:40
#define mVisTrans
Definition: visdata.h:31
SelectionCallBack * selectorcb_
Definition: vispolygonselection.h:102
Interface for classes that select on basis of a key.
Definition: selector.h:25
A cartesian coordinate in 3D space.
Definition: coord.h:72
Definition: visannot.h:43
Definition: vispolygonselection.h:106
ODPolygon< double > * polygon_
Definition: vispolygonselection.h:96
void copy(TypeSetBase< T, I > &to, const TypeSetBase< S, I > &from)
Definition: typeset.h:212
#define mCreateDataObj(clss)
Definition: visdata.h:209
Definition: visobject.h:72
Definition: seistype.h:26
DrawStyle * drawstyle_
Definition: vispolygonselection.h:95