VPTissue Reference Manual
WallItem.h
Go to the documentation of this file.
1 #ifndef WALLITEM_H_
2 #define WALLITEM_H_
3 /*
4  * Copyright 2011-2016 Universiteit Antwerpen
5  *
6  * Licensed under the EUPL, Version 1.1 or as soon they will be approved by
7  * the European Commission - subsequent versions of the EUPL (the "Licence");
8  * You may not use this work except in compliance with the Licence.
9  * You may obtain a copy of the Licence at: http://ec.europa.eu/idabc/eupl5
10  *
11  * Unless required by applicable law or agreed to in writing, software
12  * distributed under the Licence is distributed on an "AS IS" basis,
13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  * See the Licence for the specific language governing
15  * permissions and limitations under the Licence.
16  */
22 #include <QGraphicsScene>
23 #include <QGraphicsPolygonItem>
24 #include <array>
25 
26 namespace SimPT_Sim { class Wall; }
27 
28 namespace SimPT_Shell {
29 
34 {
35 public:
36  WallItem(SimPT_Sim::Wall* w, int wallnumber, QGraphicsScene* canvas, double outlinewidth,
37  double magnification, std::array<double, 3> offset);
38 
39  virtual ~WallItem() {}
40 
41 private:
42  void setColor();
43  void setColorWallStrength();//DDV
44  void setColor4Test();//DDV
45 
46 private:
47  SimPT_Sim::Wall* m_wall;
48  int m_wall_number;
49  QPolygonF m_poly;
50 };
51 
52 } // namespace
53 
54 #endif // end_of_include_guard
Namespace for SimPT shell package.
Definition: Client.cpp:50
see the online Qt documentation
Namespace for the core simulator.
A cell wall, runs between cell corner points and consists of wall elements.
Definition: Wall.h:48
WallItem shows transporter concentrations at one side of the wall.
Definition: WallItem.h:33