MorphoGraphX  2.0-1-227
CellData.hpp
Go to the documentation of this file.
1 //
2 // This file is part of MorphoGraphX - http://www.MorphoGraphX.org
3 // Copyright (C) 2012-2015 Richard S. Smith and collaborators.
4 //
5 // If you use MorphoGraphX in your work, please cite:
6 // http://dx.doi.org/10.7554/eLife.05864
7 //
8 // MorphoGraphX is free software, and is licensed under under the terms of the
9 // GNU General (GPL) Public License version 2.0, http://www.gnu.org/licenses.
10 //
11 #ifndef CELL_DATA_HPP
12 #define CELL_DATA_HPP
13 
20 #include <Config.hpp>
21 #include <Geometry.hpp>
22 #include <VVGraph.hpp>
23 #include <VertexData.hpp>
24 #include <EdgeData.hpp>
25 #include <Colors.hpp>
26 
27 namespace mgx
28 {
34  class CellData
35  {
36  public:
39  double area;
40  double volume;
41  intptr_t vId;
42  int label;
44  int saveId;
46 
47  // Constructor, set initial values
48  CellData() : pos(0, 0, 0), nrml(0, 0, 0), area(0), volume(0), vId(0),
49  label(0), color(0,0,0,0), saveId(0) {}
50 
51  ~CellData() {}
52  };
53 }
54 
55 #endif
EdgeData.hpp
mgx::CellData
Definition: CellData.hpp:34
mgx::CellData::area
double area
Area of the cell.
Definition: CellData.hpp:39
mgx::CellData::vId
intptr_t vId
Vertex id in main S graph.
Definition: CellData.hpp:41
mgx::CellData::S
VVGraph< VertexData, EdgeData > S
Graph for the cell.
Definition: CellData.hpp:45
VertexData.hpp
mgx::CellData::saveId
int saveId
Used when saving.
Definition: CellData.hpp:44
Colors.hpp
VVGraph.hpp
Geometry.hpp
mgx
Distributed matrix library.
Definition: Assert.hpp:26
mgx::CellData::label
int label
Cell label.
Definition: CellData.hpp:42
mgx::CellData::nrml
Point3d nrml
Cell normal.
Definition: CellData.hpp:38
mgx::Vector< 3, double >
mgx::CellData::color
Colorb color
Cell center color.
Definition: CellData.hpp:43
mgx::CellData::volume
double volume
Volume for a 3D cell.
Definition: CellData.hpp:40
mgx::CellData::~CellData
~CellData()
Definition: CellData.hpp:51
mgx::Color< uchar >
mgx::VVGraph< VertexData, EdgeData >
mgx::CellData::pos
Point3d pos
Center position of the cell.
Definition: CellData.hpp:37
mgx::CellData::CellData
CellData()
Definition: CellData.hpp:48