OpendTect  6.6
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  RCS: $Id$
10 ________________________________________________________________________
11 
12 
13 -*/
14 
15 #include "visbasemod.h"
16 #include "sets.h"
17 #include "visshape.h"
18 #include "position.h"
19 
20 namespace visBase
21 {
22 
23 class DrawStyle;
24 
26 {
27 public:
28  static PointSet* create()
30 
31  void setPointSize(int);
32  int getPointSize() const;
33 
34  int addPoint(const Coord3&);
35  const Coord3 getPoint(int posidx) const;
36  const Coord3 getPoint(int,bool scenespace) const;
40  void removeAllPoints();
41  int size() const ;
42 
43  void setDisplayTransformation( const mVisTrans* );
47  void clear();
48 protected:
50 
51  DrawStyle* drawstyle_;
52 };
53 
54 } // namespace visBase
55 
56 
Coord3
A cartesian coordinate in 3D space.
Definition: coord.h:72
visBase
Definition: visannot.h:43
mExpClass
#define mExpClass(module)
Definition: commondefs.h:177
visBase::VertexShape
Definition: visshape.h:83
visBase::PointSet::create
static PointSet * create()
Definition: vispointset.h:28
position.h
mVisTrans
#define mVisTrans
Definition: visdata.h:28
visBase::PointSet
Definition: vispointset.h:26
mCreateDataObj
#define mCreateDataObj(clss)
Definition: visdata.h:214
sets.h
visBase::DrawStyle
Definition: visdrawstyle.h:33
StrmOper::clear
void clear(std::ios &)
visshape.h

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