OpendTect-6_4  6.4
visaxes.h
Go to the documentation of this file.
1 #ifndef visaxes_h
2 #define visaxes_h
3 
4 /*+
5 ________________________________________________________________________
6 
7  (C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
8  Author: Ranojay Sen
9  Date: January 2013
10  RCS: $Id$
11 ________________________________________________________________________
12 
13 -*/
14 
15 
16 #include "visdata.h"
17 
18 class FontData;
19 namespace osgGeo{ class AxesNode; }
20 
21 namespace visBase
22 {
23 
24 class Camera;
25 
27 {
28 public:
29  static Axes* create()
31  void setRadius(float);
32  float getRadius() const;
33  void setLength(float);
34  float getLength() const;
35  void setPosition(float,float);
36  void setSize(float rad, float len);
37  void setAnnotationColor(const Color&);
38  void setAnnotationTextSize(int);
39  void setAnnotationFont(const FontData&);
40  void setMasterCamera(visBase::Camera*);
41 
42  virtual void setPixelDensity(float dpi);
43 
44 protected:
45  ~Axes();
46 
47  osgGeo::AxesNode* axesnode_;
48  Camera* mastercamera_;
49  bool ison_;
50  float pixeldensity_;
51  int annottextsize_;
52 };
53 
54 } // namespace visBase
55 #endif
#define mExpClass(module)
Definition: commondefs.h:160
keep osg camera status and render info
Definition: viscamera.h:30
static Axes * create()
Definition: visaxes.h:29
DataObject is the base class off all objects that are used in Visualization and ought to be shared in...
Definition: visdata.h:65
A collection of geoscientific extensions to OpenSceneGraph.
Definition: visannot.h:38
Data needed to make an actual font.
Definition: fontdata.h:20
Definition: visaxes.h:26
Definition: visannot.h:43
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

Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B. V. 2019