Go to the documentation of this file.
6 #ifndef CNOID_UTIL_SCENE_MARKERS_H
7 #define CNOID_UTIL_SCENE_MARKERS_H
10 #include "exportdecl.h"
31 void updateMarker(
bool doNotify =
false);
33 const Vector3f& color()
const;
34 void setColor(
const Vector3f& c);
35 float emission()
const;
36 void setEmission(
float r);
37 double transparency()
const;
38 void setTransparency(
float t);
57 CrossMarker(
double size,
const Vector3f& color,
double lineWidth = 1.0);
58 void setSize(
double size);
72 SphereMarker(
double radius,
const Vector3f& color,
float transparency = 0.0);
73 void setRadius(
double r);
74 void setColor(
const Vector3f& c);
76 void initialize(
double radius,
const Vector3f& color,
float transparency);
91 void create(
const BoundingBox& bbox,
const Vector3f& color,
float transparency,
double width);
92 void addMarker(
SgShape* shape,
double x,
double y,
double z);
@ CROSS_MARKER
Definition: SceneMarkers.h:21
ref_ptr< BoundingBoxMarker > BoundingBoxMarkerPtr
Definition: SceneMarkers.h:95
Definition: SceneGraph.h:357
Definition: SceneMarkers.h:84
ref_ptr< SphereMarker > SphereMarkerPtr
Definition: SceneMarkers.h:81
Definition: SceneGraph.h:220
@ SPHERE_MARKER
Definition: SceneMarkers.h:22
Definition: SceneMarkers.h:14
@ NO_MARKER
Definition: SceneMarkers.h:20
Definition: SceneMarkers.h:54
double markerSize() const
Definition: SceneMarkers.h:29
void setMarkerSize(double size)
Definition: SceneMarkers.h:30
void setMarkerType(int type)
Definition: SceneMarkers.h:28
Definition: AbstractSceneLoader.h:11
ref_ptr< SceneMarker > SceneMarkerPtr
Definition: SceneMarkers.h:51
int markerType() const
Definition: SceneMarkers.h:27
Definition: SceneDrawables.h:530
@ AXES_MARKER
Definition: SceneMarkers.h:23
ref_ptr< CrossMarker > CrossMarkerPtr
Definition: SceneMarkers.h:65
Definition: BoundingBox.h:17
MarkerType
Definition: SceneMarkers.h:19