COPASI API  4.16.103
CGraphCurve.h
Go to the documentation of this file.
1 // Begin CVS Header
2 // $Source: /Volumes/Home/Users/shoops/cvs/copasi_dev/copasi/layoutUI/CGraphCurve.h,v $
3 // $Revision: 1.6 $
4 // $Name: $
5 // $Author: shoops $
6 // $Date: 2008/01/11 15:12:31 $
7 // End CVS Header
8 
9 // Copyright (C) 2008 by Pedro Mendes, Virginia Tech Intellectual
10 // Properties, Inc., EML Research, gGmbH, University of Heidelberg,
11 // and The University of Manchester.
12 // All rights reserved.
13 
14 // Copyright (C) 2001 - 2007 by Pedro Mendes, Virginia Tech Intellectual
15 // Properties, Inc. and EML Research, gGmbH.
16 // All rights reserved.
17 
18 #ifndef CGRAPHCURVE_H_
19 #define CGRAPHCURVE_H_
20 
21 #include <string>
22 
23 #include "copasi.h"
24 
25 #include "layout/CLGlyphs.h"
26 #include "layout/CLCurve.h"
27 #include "layout/CLReactionGlyph.h"
28 
29 #include "layoutUI/CArrow.h"
30 
31 class CGraphCurve : public CLCurve
32  {
33  private:
35  bool mHasArrow;
37 
38  public:
39 
40  CGraphCurve();
41 
42  CGraphCurve(const CLCurve & c);
43 
44  /**
45  * copy constructor (should make deep copy)
46  */
47  CGraphCurve(const CGraphCurve & c);
48 
49  bool hasArrowP(){return mHasArrow;}
50  void setArrowP(bool b){mHasArrow = b;}
51  void setArrow(CArrow ar){mArrow = ar;}
54  CArrow getArrow(){return mArrow;}
55 
56  void scale (const double & scaleFactor);
57  void invertOrderOfPoints();
58  };
59 
60 #endif
CLMetabReferenceGlyph::Role getRole()
Definition: CGraphCurve.h:53
void setArrow(CArrow ar)
Definition: CGraphCurve.h:51
Definition: CArrow.h:29
Header file of class CArrow.
CArrow mArrow
Definition: CGraphCurve.h:34
void setArrowP(bool b)
Definition: CGraphCurve.h:50
CArrow getArrow()
Definition: CGraphCurve.h:54
void setRole(CLMetabReferenceGlyph::Role r)
Definition: CGraphCurve.h:52
bool hasArrowP()
Definition: CGraphCurve.h:49
void invertOrderOfPoints()
Definition: CGraphCurve.cpp:62
CLMetabReferenceGlyph::Role mRole
Definition: CGraphCurve.h:36
bool mHasArrow
Definition: CGraphCurve.h:35
void scale(const double &scaleFactor)
Definition: CGraphCurve.cpp:49