OpendTect  6.3
vispointset.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: April 2006
9 ________________________________________________________________________
10 
11 
12 -*/
13 
14 #include "visshape.h"
15 #include "sets.h"
16 #include "position.h"
17 
18 namespace visBase
19 {
20 
21 class DrawStyle;
22 
24 {
25 public:
26  static PointSet* create()
28 
29  void setPointSize(int);
30  int getPointSize() const;
31 
32  int addPoint(const Coord3&);
33  const Coord3 getPoint(int posidx,bool scenespace=false) const;
36  void removeAllPoints();
37  int size() const ;
38 
39  void setDisplayTransformation( const mVisTrans* );
43  void clear();
44 
45 protected:
46  ~PointSet();
47 
48  DrawStyle* drawstyle_;
49 };
50 
51 } // namespace visBase
#define mExpClass(module)
Definition: commondefs.h:157
Definition: vispointset.h:23
Definition: visdrawstyle.h:30
void clear(std::ios &)
static PointSet * create()
Definition: vispointset.h:26
3D point or vector
Definition: commontypes.h:57
#define mVisTrans
Definition: visdata.h:25
Definition: visannot.h:40
#define mCreateDataObj(clss)
Definition: visdata.h:210
Definition: visshape.h:73

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