16 #include "visbasemod.h" 23 namespace osgGeo {
class MarkerSet; }
58 void setMarkersSingleColor(
const Color& singlecolor);
61 Color getMarkersSingleColor()
const;
62 bool usesSingleColor()
const;
75 void setScreenSize(
float);
79 float getScreenSize()
const;
82 void setMarkerHeightRatio(
float);
83 float getMarkerHeightRatio()
const;
85 void setMinimumScale(
float);
86 float getMinimumScale()
const;
88 void setMaximumScale(
float);
89 float getMaximumScale()
const;
93 void setRotationForAllMarkers(
const Coord3&,
const float);
94 void setSingleMarkerRotation(
const Quaternion&,
int);
95 void applyRotationToAllMarkers(
bool);
98 void doFaceCamera(
bool yn);
101 bool facesCamera()
const;
103 void setDisplayTransformation(
const mVisTrans* );
104 const mVisTrans* getDisplayTransformation()
const;
106 void setPixelDensity(
float);
109 void removeMarker(
int idx);
113 void turnMarkerOn(
unsigned int idx,
bool);
114 void turnAllMarkersOn(
bool);
115 bool markerOn(
unsigned int);
117 int findClosestMarker(
const Coord3&,
bool scenespace=
false);
119 bool scenespace =
false);
121 void setMarkerResolution(
float res);
126 int addPos(
const Coord3&,
bool draw =
true);
127 void setPos(
int,
const Coord3&,
bool draw =
true);
128 void insertPos(
int,
const Coord3&,
bool draw =
true);
129 void forceRedraw(
bool);
130 void addPolygonOffsetNodeState();
131 void removePolygonOffsetNodeState();
Quaternion is an extension to complex numbers.
Definition: trigonometry.h:328
#define mExpClass(module)
Definition: commondefs.h:160
To be able to send and/or receive CallBacks, inherit from this class.
Definition: callback.h:272
float getPixelDensity() const
Definition: vismarkerset.h:107
float rotationangle_
Definition: vismarkerset.h:145
Definition: vismarkerset.h:44
const MarkerStyle3D & getMarkerStyle() const
Definition: vismarkerset.h:70
Definition: vismarkerset.h:43
A collection of geoscientific extensions to OpenSceneGraph.
Definition: visannot.h:38
Definition: vismarkerset.h:42
PolygonOffset * offset_
Definition: vismarkerset.h:147
Definition: visnormals.h:32
RefMan< Coordinates > coords_
Definition: vismarkerset.h:137
#define mVisTrans
Definition: visdata.h:31
osgGeo::MarkerSet * markerset_
Definition: vismarkerset.h:140
Definition: vismaterial.h:37
const Coordinates * getCoordinates() const
Definition: vismarkerset.h:52
A cartesian coordinate in 3D space.
Definition: coord.h:72
static MarkerSet * create()
Definition: vismarkerset.h:48
RefMan< const visBase::Transformation > displaytrans_
Definition: vismarkerset.h:139
Type
Definition: draw.h:92
A set of coordinates. The coordinates will be transformed by the transformation before given to Coin...
Definition: viscoord.h:46
float pixeldensity_
Definition: vismarkerset.h:143
Definition: visannot.h:43
static float cDefaultScreenSize()
Definition: vismarkerset.h:80
AutoRotateMode
Definition: vismarkerset.h:40
Coord3 rotationvec_
Definition: vismarkerset.h:146
osg::Array * onoffarr_
Definition: vismarkerset.h:148
Color is an RGB color object, with a transparancy. The storage is in a 4-byte integer, similar to Qt.
Definition: color.h:26
#define mCreateDataObj(clss)
Definition: visdata.h:209
Definition: vispolygonoffset.h:25
Definition: visobject.h:72
MarkerStyle3D markerstyle_
Definition: vismarkerset.h:141
MarkerSet is a set of basic pickmarker with a constant size on screen. Size and shape are settable...
Definition: vismarkerset.h:36
RefMan< Normals > normals_
Definition: vismarkerset.h:138
MarkerStyle3D & getMarkerStyle()
Definition: vismarkerset.h:69