OpendTect-6_4  6.4
visimagedisplay.h
Go to the documentation of this file.
1 #ifndef visimagedisplay_h
2 #define visimagedisplay_h
3 
4 /*+
5 ________________________________________________________________________
6 
7  (C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
8  Author: N. Hemstra
9  Date: January 2005
10  RCS: $Id$
11 ________________________________________________________________________
12 
13 
14 -*/
15 
16 #include "vislocationdisplay.h"
17 #include "visimagerect.h"
18 
19 namespace OD { class RGBImage; }
20 namespace visSurvey
21 {
22 
28 {
29 public:
30  static ImageDisplay* create()
32 
33  bool setFileName(const char*);
34  const char* getFileName() const;
36 
37  void setSet(Pick::Set*);
38 
39  void setDisplayTransformation(const mVisTrans*);
40  const mVisTrans* getDisplayTransformation() const;
41 
42  void setRGBImage(OD::RGBImage*);
44 
45 protected:
46 
47  visBase::VisualObject* createLocation() const;
48  void setPosition(int,const Pick::Location&,
49  bool add=false);
50  void removePosition(int idx);
51  void setImageDataFromFile(const char* fnm);
52 
53  void dispChg(CallBacker*);
54 
55  bool hasDirection() const { return false; }
56 
57  ~ImageDisplay();
58  void setScene(visSurvey::Scene*);
59  void updateCoords(CallBacker* = 0);
60  virtual int clickedMarkerIndex(
61  const visBase::EventInfo& evi)const;
62 
67 };
68 
69 } // namespace visSurvey
70 
71 #endif
Definition: visobject.h:37
#define mExpClass(module)
Definition: commondefs.h:160
To be able to send and/or receive CallBacks, inherit from this class.
Definition: callback.h:272
Notifier< ImageDisplay > needFileName
Definition: visimagedisplay.h:35
RefMan< visBase::DataObjectGroup > group_
Definition: visimagedisplay.h:66
Pick location in space,.
Definition: picklocation.h:46
Used for displaying a polyline, preview for a random line created throught well path.
Definition: visarrowdisplay.h:20
Definition: callback.h:254
Set of picks with something in common.
Definition: pickset.h:31
#define mVisTrans
Definition: visdata.h:31
Database for 3D objects.
Definition: vissurvscene.h:76
Used for displaying picksets of varying types. The class is not intended for standalone usage...
Definition: vislocationdisplay.h:36
OD::String with its own variable length buffer. The buffer has a guaranteed minimum size...
Definition: bufstring.h:40
static uiHor3DInterpol * create(uiParent *)
bool hasDirection() const
Definition: visimagedisplay.h:55
OpendTect.
Definition: commontypes.h:29
Definition: visevent.h:44
Class for Red, Green, Blue image.
Definition: odimage.h:28
const OD::RGBImage * rgbimage_
Definition: visimagedisplay.h:65
#define mCreateDataObj(clss)
Definition: visdata.h:209
const mVisTrans * displaytransform_
Definition: visimagedisplay.h:63
BufferString imagefnm_
Definition: visimagedisplay.h:64
Image display, owns the RGBImage and distributes it to the child objects.
Definition: visimagedisplay.h:27

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