OpendTect-6_4  6.4
vispointsetdisplay.h
Go to the documentation of this file.
1 #ifndef vispointsetdisplay_h
2 #define vispointsetdisplay_h
3 
4 /*+
5 ________________________________________________________________________
6 
7  (C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
8  Author: Satyaki Maitra
9  Date: March 2009
10  RCS: $Id$
11 ________________________________________________________________________
12 
13 
14 -*/
15 
16 #include "vissurveymod.h"
17 #include "dpsdispmgr.h"
18 #include "visobject.h"
19 #include "vissurvobj.h"
20 #include "vistransform.h"
21 
22 class DataPointSet;
23 class Executor;
24 
25 namespace visBase { class PointSet; class Transformation; }
26 
27 namespace visSurvey
28 {
29 
30 
32  public visSurvey::SurveyObject
33 {
34 public:
38  "PointSetDisplay",
39  toUiString(sFactoryKeyword()) );
40 
41  void setPointSize(int);
42  int getPointSize() const;
43 
44  void setDispProp(const DataPointSetDisplayProp*);
45  bool hasColor() const { return true; }
46 
47  void update(TaskRunner*);
48  Executor* getUpdater();
49  void updateColors();
50  bool setDataPack(int);
51  const DataPointSet* getDataPack() const { return data_; }
52  void setDisplayTransformation(const mVisTrans*);
53  const mVisTrans* getDisplayTransformation() const;
54  const visBase::PointSet* getPointSet() const { return pointset_; }
55 
56  const char* errMsg() const { return errmsg_.str(); }
57 
58  bool removeSelections(TaskRunner*);
59  bool selectable() const { return true; }
60  bool canRemoveSelection() const { return true; }
61  bool allowMaterialEdit() const { return true; }
62  virtual void setPixelDensity(float);
63 
64  virtual void getMousePosInfo(const visBase::EventInfo&,
65  Coord3& xyzpos,
66  BufferString& val,
67  BufferString& info) const;
69  IOPar& iop ) const
70  { return SurveyObject::getMousePosInfo(ei,iop);}
71 
72 protected:
73  ~PointSetDisplay();
78 
79 };
80 
81 };
82 
83 
84 #endif
#define mExpClass(module)
Definition: commondefs.h:160
const char * str() const
Definition: odstring.h:48
Set of data points with group selection.
Definition: datapointset.h:48
DataPointSet * data_
Definition: vispointsetdisplay.h:76
Export_Basic uiString toUiString(ViewStyle)
Definition: vispointset.h:26
#define mDefaultFactoryInstantiation(baseclss, clss, keywrd, usernm)
Definition: factory.h:289
Definition: vispointsetdisplay.h:31
Used for displaying a polyline, preview for a random line created throught well path.
Definition: visarrowdisplay.h:20
void getMousePosInfo(const visBase::EventInfo &ei, IOPar &iop) const
Definition: vispointsetdisplay.h:68
VisualObjectImpl
Definition: visobject.h:128
const DataPointSet * getDataPack() const
Definition: vispointsetdisplay.h:51
Generalized set of parameters of the keyword-value type.
Definition: iopar.h:47
Class that can execute a task.
Definition: task.h:169
#define mVisTrans
Definition: visdata.h:31
const char * errMsg() const
Definition: vispointsetdisplay.h:56
Interface for DataPointSet Displays.
Definition: dpsdispmgr.h:37
const mVisTrans * transformation_
Definition: vispointsetdisplay.h:77
bool canRemoveSelection() const
Definition: vispointsetdisplay.h:60
const visBase::PointSet * getPointSet() const
Definition: vispointsetdisplay.h:54
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
bool allowMaterialEdit() const
Definition: vispointsetdisplay.h:61
BufferString errmsg_
Definition: horizontracker.h:119
bool hasColor() const
Definition: vispointsetdisplay.h:45
Base class for all 'Display' objects.
Definition: vissurvobj.h:58
Definition: visevent.h:44
visBase::PointSet * pointset_
Definition: vispointsetdisplay.h:75
DataPointSetDisplayProp * dpsdispprop_
Definition: vispointsetdisplay.h:74
bool selectable() const
Definition: vispointsetdisplay.h:59
Specification to enable chunkwise execution of a process.
Definition: executor.h:39

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