Fade2.5D Documentation pages v1.97
Delaunay Features
Label.h
Go to the documentation of this file.
1 // Copyright (C) Geom Software e.U, Bernhard Kornberger, Graz/Austria
2 //
3 // This file is part of the Fade2D library. The student license is free
4 // of charge and covers personal non-commercial research. Licensees
5 // holding a commercial license may use this file in accordance with
6 // the Commercial License Agreement.
7 //
8 // This software is provided AS IS with NO WARRANTY OF ANY KIND,
9 // INCLUDING THE WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS
10 // FOR A PARTICULAR PURPOSE.
11 //
12 // Please contact the author if any conditions of this licensing are
13 // not clear to you.
14 //
15 // Author: Bernhard Kornberger, bkorn (at) geom.at
16 // http://www.geom.at
17 
19 #pragma once
20 
21 
22 #include "Point2.h"
23 #include "common.h"
24 #if GEOM_PSEUDO3D==GEOM_TRUE
25  namespace GEOM_FADE25D {
26 #elif GEOM_PSEUDO3D==GEOM_FALSE
27  namespace GEOM_FADE2D {
28 #else
29  #error GEOM_PSEUDO3D is not defined
30 #endif
31 
32 struct LDat; // FWD
33 
40 class CLASS_DECLSPEC Label
41 {
42 
43 public:
51  Label(const Point2& p_,const char* s_,bool bWithMark_=true,int fontSize_=8);
52  Label(const Label& other);
53  Label& operator=(const Label& other);
54  ~Label();
55  const char* getCS() const;
56  // Data
57  LDat* pDat;
58  Point2 p;
59  bool bWithMark;
60  int fontSize;
61 
62 };
63 
64 
65 
66 } // (namespace)
Label is a Text-Label for Visualization.
Definition: Label.h:41
Label(const Point2 &p_, const char *s_, bool bWithMark_=true, int fontSize_=8)
Constructs a Text-Label.
Point.
Definition: Point2.h:43