16 #include "visbasemod.h" 59 void showText(
bool yn);
60 bool isTextShown() const;
62 void showScale(
bool yn);
63 bool isScaleShown() const;
65 bool canShowGridLines() const;
66 void showGridLines(
bool yn);
67 bool isGridLinesShown() const;
73 const TrcKeyZSampling& getTrcKeyZSampling() const;
74 void setScale(const TrcKeyZSampling&);
77 const TrcKeyZSampling& getScale() const;
79 void setScaleFactor(
int dim,
int scale);
81 void setText(
int dim,const
uiString&);
85 void setDisplayTransformation(const
mVisTrans*);
86 const mVisTrans* getDisplayTransformation()
const 87 {
return displaytrans_; }
88 virtual void setPixelDensity(
float);
92 void setScene(
Scene*);
98 void updateGridLines();
101 void getAxisCoords(
int,osg::Vec3f&,osg::Vec3f&)
const;
102 void setCorner(
int,
float,
float,
float );
122 static const char* textprefixstr();
123 static const char* cornerprefixstr();
124 static const char* showtextstr();
125 static const char* showscalestr();
#define mExpClass(module)
Definition: commondefs.h:160
To be able to send and/or receive CallBacks, inherit from this class.
Definition: callback.h:272
osg::Geometry * box_
Definition: visannot.h:109
Definition: visdatagroup.h:27
void usePar(const IOPar &iop, ODPolygon< T > &poly, const char *inpkey)
Definition: polygon.h:188
void allowShading(bool yn)
Definition: visannot.h:93
A collection of geoscientific extensions to OpenSceneGraph.
Definition: visannot.h:38
Definition: uistring.h:89
Data needed to make an actual font.
Definition: fontdata.h:20
static Annotation * create()
Definition: visannot.h:56
osg::Geode * geode_
Definition: visannot.h:111
const Text2 * getAnnotTexts() const
Definition: visannot.h:89
const visBase::Transformation * displaytrans_
Definition: visannot.h:117
Generalized set of parameters of the keyword-value type.
Definition: iopar.h:47
RefMan< Text2 > axisnames_
Definition: visannot.h:113
#define mVisTrans
Definition: visdata.h:31
RefMan< Text2 > axisannot_
Definition: visannot.h:114
TrcKeyZSampling tkzsdefaultscale_
Definition: visannot.h:107
Hor+Vert sampling in 3D surveys.
Definition: trckeyzsampling.h:35
visBase::Scene * scene_
Definition: visannot.h:115
bool allowshading_
Definition: visannot.h:120
void fillPar(IOPar &iop, const ODPolygon< T > &poly, const char *inpkey)
Definition: polygon.h:175
TrcKeyZSampling tkzs_
Definition: visannot.h:106
Definition: visannot.h:43
Scene manages all DataObjects and has some managing functions such as the selection management and va...
Definition: visscene.h:40
virtual void setFont(const QFont &)
override Qt
Definition: i_uiobjqtbody.h:32
Open Scene Graph.
Definition: visannot.h:29
Color is an RGB color object, with a transparancy. The storage is in a 4-byte integer, similar to Qt.
Definition: color.h:26
Annotation is a simple wireframe box with text on its axis.
Definition: visannot.h:53
osgGeo::OneSideRender * gridlines_
Definition: visannot.h:112
TrcKeyZSampling scale_
Definition: visannot.h:108
#define mCreateDataObj(clss)
Definition: visdata.h:209
Definition: visobject.h:72
Color annotcolor_
Definition: visannot.h:119
Definition: arraytesselator.h:21
FixedString Geometry()
Definition: keystrs.h:69
osg::Array * gridlinecoords_
Definition: visannot.h:110