Choreonoid  1.8
CoordinateAxesOverlay.h
Go to the documentation of this file.
1 
5 #ifndef CNOID_BASE_COORDINATE_AXES_OVERLAY_H
6 #define CNOID_BASE_COORDINATE_AXES_OVERLAY_H
7 
8 #include "SceneDrawables.h"
9 #include "exportdecl.h"
10 
11 namespace cnoid {
12 
13 class SceneRenderer;
14 
15 class CNOID_EXPORT CoordinateAxesOverlay : public SgViewportOverlay
16 {
17  const double length = 15;
18  const double width = 4;
19  SgPosTransformPtr axesTransform;
20  int superClassId;
21 
22 public:
24  virtual void calcViewVolume(double viewportWidth, double viewportHeight, ViewVolume& io_volume) override;
25  void render(SceneRenderer* renderer);
26 };
27 
28 }
29 
30 #endif
SceneDrawables.h
cnoid::CoordinateAxesOverlay
Definition: CoordinateAxesOverlay.h:15
cnoid::ref_ptr< SgPosTransform >
cnoid
Definition: AbstractSceneLoader.h:11
cnoid::SgViewportOverlay::ViewVolume
Definition: SceneDrawables.h:759
cnoid::SgViewportOverlay
Definition: SceneDrawables.h:752
cnoid::SceneRenderer
Definition: SceneRenderer.h:15