20 namespace osgGeo {
class MarkerSet; }
55 void setMarkersSingleColor(
const Color& singlecolor);
58 Color getMarkersSingleColor()
const;
59 bool usesSingleColor()
const;
72 void setScreenSize(
float);
76 float getScreenSize()
const;
79 void setMarkerHeightRatio(
float);
80 float getMarkerHeightRatio()
const;
82 void setMinimumScale(
float);
83 float getMinimumScale()
const;
85 void setMaximumScale(
float);
86 float getMaximumScale()
const;
90 void setRotationForAllMarkers(
const Coord3&,
const float);
91 void setSingleMarkerRotation(
const Quaternion&,
int);
92 void applyRotationToAllMarkers(
bool);
95 void doFaceCamera(
bool yn);
98 bool facesCamera()
const;
100 void setDisplayTransformation(
const mVisTrans* );
101 const mVisTrans* getDisplayTransformation()
const;
103 void setPixelDensity(
float);
106 void removeMarker(
int idx);
110 void turnMarkerOn(
unsigned int idx,
bool);
111 bool markerOn(
unsigned int);
112 void turnAllMarkersOn(
bool);
114 int findClosestMarker(
const Coord3&,
bool scenespace=
false);
116 bool scenespace =
false);
118 void setMarkerResolution(
float res);
123 int addPos(
const Coord3&,
bool draw =
true);
124 void setPos(
int,
const Coord3&,
bool draw =
true);
125 void insertPos(
int,
const Coord3&,
bool draw =
true);
126 void forceRedraw(
bool);
127 void addPolygonOffsetNodeState();
128 void removePolygonOffsetNodeState();
Quaternion is an extension to complex numbers.
Definition: trigonometry.h:329
#define mExpClass(module)
Definition: commondefs.h:157
Inherit from this class to be able to send and/or receive CallBacks.
Definition: callback.h:182
float getPixelDensity() const
Definition: vismarkerset.h:104
float rotationangle_
Definition: vismarkerset.h:143
Definition: vismarkerset.h:41
Definition: vismarkerset.h:40
A collection of geoscientific extensions to OpenSceneGraph.
Definition: visannot.h:35
Type
Definition: draw.h:95
Definition: vismarkerset.h:39
OD::MarkerStyle3D & getMarkerStyle()
Definition: vismarkerset.h:66
const OD::MarkerStyle3D & getMarkerStyle() const
Definition: vismarkerset.h:67
3D point or vector
Definition: commontypes.h:57
PolygonOffset * offset_
Definition: vismarkerset.h:145
Definition: visnormals.h:29
RefMan< Coordinates > coords_
Definition: vismarkerset.h:134
#define mVisTrans
Definition: visdata.h:25
osgGeo::MarkerSet * markerset_
Definition: vismarkerset.h:138
Definition: vismaterial.h:36
const Coordinates * getCoordinates() const
Definition: vismarkerset.h:49
static MarkerSet * create()
Definition: vismarkerset.h:45
A set of coordinates. The coordinates will be transformed by the transformation before given to Coin...
Definition: viscoord.h:45
float pixeldensity_
Definition: vismarkerset.h:141
Definition: visannot.h:40
static float cDefaultScreenSize()
Definition: vismarkerset.h:77
ConstRefMan< visBase::Transformation > displaytrans_
Definition: vismarkerset.h:137
AutoRotateMode
Definition: vismarkerset.h:37
Coord3 rotationvec_
Definition: vismarkerset.h:144
osg::Array * onoffarr_
Definition: vismarkerset.h:135
Color is an RGB color object, with a transparancy. The storage is in a 4-byte integer, similar to Qt.
Definition: color.h:24
#define mCreateDataObj(clss)
Definition: visdata.h:210
Definition: vispolygonoffset.h:22
Definition: visobject.h:67
OD::MarkerStyle3D markerstyle_
Definition: vismarkerset.h:139
MarkerSet is a set of basic pickmarker with a constant size on screen. Size and shape are settable...
Definition: vismarkerset.h:33
RefMan< Normals > normals_
Definition: vismarkerset.h:136