OpendTect  6.3
visimagerect.h
Go to the documentation of this file.
1 #pragma once
2 
3 /*+
4 ________________________________________________________________________
5 
6  (C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
7  Author: Kristofer Tingdahl
8  Date: Feb 2007
9 ________________________________________________________________________
10 
11 
12 -*/
13 
14 #include "visobject.h"
15 
16 namespace OD { class RGBImage; }
17 namespace Pick { class Location; }
18 namespace osgGeo { class LayeredTexture; class TexturePlaneNode; }
19 
20 namespace visBase
21 {
22 
23 class PolygonOffset;
24 
28 {
29 public:
30  static ImageRect* create()
32 
33  void setPick(const Pick::Location&);
34 
35  void setCenterPos(const Coord3&);
36  void setCornerPos(const Coord3& tl,const Coord3& br);
37 
38  void setRGBImage(const OD::RGBImage&);
39  void setDisplayTransformation(const mVisTrans*);
40 
41 protected:
42  ~ImageRect();
43 
44  const mVisTrans* trans_;
45  int layerid_;
46  osgGeo::LayeredTexture* laytex_;
47  osgGeo::TexturePlaneNode* texplane_;
48  visBase::PolygonOffset* polyoffset_;
49 };
50 
51 
52 }; // namespace visBase
#define mExpClass(module)
Definition: commondefs.h:157
Definition: visimage.h:47
Definition: visimagerect.h:27
A collection of geoscientific extensions to OpenSceneGraph.
Definition: visannot.h:35
3D point or vector
Definition: commontypes.h:57
#define mVisTrans
Definition: visdata.h:25
Definition: visannot.h:40
static ImageRect * create()
Definition: visimagerect.h:30
Definition: picklocation.h:19
OpendTect.
Definition: commontypes.h:25
#define mCreateDataObj(clss)
Definition: visdata.h:210
Definition: vispolygonoffset.h:22
Definition: visobject.h:67

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