1 #ifndef vistopbotimage_h 2 #define vistopbotimage_h 16 #include "visbasemod.h" 20 namespace OD{
class RGBImage; }
21 namespace osgGeo {
class LayeredTexture;
class TexturePlaneNode; }
34 void setDisplayTransformation(const
mVisTrans*);
35 const mVisTrans* getDisplayTransformation() const;
37 const
Coord3& topLeft()
const {
return pos0_; }
40 void setImageFilename(
const char*);
41 const char* getImageFilename()
const;
42 void setRGBImageFromFile(
const char*);
44 void setTransparency(
float);
45 float getTransparency()
const;
47 bool getImageInfo(
int& w,
int& h,
int& pixsz)
const;
48 const unsigned char* getTextureData()
const;
68 static const char* sKeyTopLeftCoord();
69 static const char* sKeyBottomRightCoord();
70 static const char* sKeyFileNameStr();
71 static const char* sKeyTransparencyStr();
#define mExpClass(module)
Definition: commondefs.h:160
Coord3 pos1_
Definition: vistopbotimage.h:65
int layerid_
Definition: vistopbotimage.h:73
void usePar(const IOPar &iop, ODPolygon< T > &poly, const char *inpkey)
Definition: polygon.h:188
Coord3 pos0_
Definition: vistopbotimage.h:64
BufferString filenm_
Definition: vistopbotimage.h:66
A collection of geoscientific extensions to OpenSceneGraph.
Definition: visannot.h:38
const Coord3 & bottomRight() const
Definition: vistopbotimage.h:38
Generalized set of parameters of the keyword-value type.
Definition: iopar.h:47
#define mVisTrans
Definition: visdata.h:31
osgGeo::TexturePlaneNode * texplane_
Definition: vistopbotimage.h:75
void fillPar(IOPar &iop, const ODPolygon< T > &poly, const char *inpkey)
Definition: polygon.h:175
A cartesian coordinate in 3D space.
Definition: coord.h:72
Definition: visannot.h:43
OD::String with its own variable length buffer. The buffer has a guaranteed minimum size...
Definition: bufstring.h:40
osgGeo::LayeredTexture * laytex_
Definition: vistopbotimage.h:74
Definition: vistopbotimage.h:28
const visBase::Transformation * trans_
Definition: vistopbotimage.h:63
OpendTect.
Definition: commontypes.h:29
Class for Red, Green, Blue image.
Definition: odimage.h:28
#define mCreateDataObj(clss)
Definition: visdata.h:209
Definition: visobject.h:72
static TopBotImage * create()
Definition: vistopbotimage.h:31