|
CellModules
|
Public Types | |
| using | Base = MecaCell::ConnectableCell< VolCell, ContactSurfaceBody > |
| using | body_t = ContactSurfaceBody< VolCell > |
| using | embedded_plugin_t = typename body_t::embedded_plugin_t |
Public Member Functions | |
| double | getAdhesionWith (const VolCell *, const MecaCell::Vec &) const |
| template<typename W > | |
| void | updateBehavior (W &) |
| void | eraseConnectedCell (VolCell *cell) |
| disconnect a neighboring cell More... | |
| void | addConnectedCell (VolCell *c) |
| void | clearConnectedCells () |
| bool | isConnectedTo (VolCell *c) |
| size_t | getId () const |
| void | die () |
| flags the cell as dead so it can be cleanly removed from the world More... | |
| bool | isDead () |
| Vector3D | getPosition () const |
| void | setColorRGB (size_t r, size_t g, size_t b) |
| void | setColorRGB (std::array< int, 3 > rgb) |
| void | setColorRGB (std::array< double, 3 > rgb) |
| void | setColorHSV (double H, double S, double V) |
| void | setColorHSV (std::array< double, 3 > hsv) |
| void | setVisible (bool v) |
| should a viewer displpay this cell ? More... | |
| string | toString () |
| dumps internal infos More... | |
| body_t & | getBody () |
| const body_t & | getConstBody () const |
| double | getBoundingBoxRadius () const |
| double | getColor (unsigned int i) const |
| const std::vector< VolCell * > & | getConnectedCells () const |
| bool | getVisible () |
| int | getNbConnections () const |
| EXPORTABLE (ConnectableCell, KV(body), KV(id)) | |
Public Attributes | |
| friend | body_t |
| friend | embedded_plugin_t |
| size_t | id |
Protected Member Functions | |
| VolCell * | selfptr () |
| VolCell & | self () |
| const VolCell & | selfconst () const |
Protected Attributes | |
| body_t | body |
| bool | dead |
| bool | isVisible |
| array< double, 3 > | color |
| unique_vector< VolCell * > | connectedCells |
|
inherited |
Definition at line 36 of file connectablecell.hpp.
|
inherited |
Definition at line 37 of file connectablecell.hpp.
|
inlineinherited |
Definition at line 70 of file connectablecell.hpp.
|
inlineinherited |
Definition at line 71 of file connectablecell.hpp.
|
inlineinherited |
flags the cell as dead so it can be cleanly removed from the world
Definition at line 118 of file connectablecell.hpp.
|
inlineinherited |
disconnect a neighboring cell
removes it from the connectedCells contianer
| cell | pointer to the cell to be disconnected |
Definition at line 69 of file connectablecell.hpp.
|
inherited |
|
inline |
|
inlineinherited |
Definition at line 152 of file connectablecell.hpp.
|
inlineinherited |
Definition at line 154 of file connectablecell.hpp.
|
inlineinherited |
Definition at line 155 of file connectablecell.hpp.
|
inlineinherited |
Definition at line 159 of file connectablecell.hpp.
|
inlineinherited |
Definition at line 153 of file connectablecell.hpp.
|
inlineinherited |
Definition at line 75 of file connectablecell.hpp.
|
inlineinherited |
Definition at line 163 of file connectablecell.hpp.
|
inlineinherited |
Definition at line 120 of file connectablecell.hpp.
|
inlineinherited |
Definition at line 162 of file connectablecell.hpp.
|
inlineinherited |
Definition at line 72 of file connectablecell.hpp.
|
inlineinherited |
Definition at line 119 of file connectablecell.hpp.
|
inlineprotectedinherited |
Definition at line 58 of file connectablecell.hpp.
|
inlineprotectedinherited |
Definition at line 59 of file connectablecell.hpp.
|
inlineprotectedinherited |
Definition at line 57 of file connectablecell.hpp.
|
inlineinherited |
Definition at line 128 of file connectablecell.hpp.
|
inlineinherited |
Definition at line 129 of file connectablecell.hpp.
|
inlineinherited |
Definition at line 122 of file connectablecell.hpp.
|
inlineinherited |
Definition at line 127 of file connectablecell.hpp.
|
inlineinherited |
Definition at line 126 of file connectablecell.hpp.
|
inlineinherited |
should a viewer displpay this cell ?
| v |
Definition at line 136 of file connectablecell.hpp.
|
inlineinherited |
|
inline |
|
protectedinherited |
Definition at line 43 of file connectablecell.hpp.
|
inherited |
Definition at line 39 of file connectablecell.hpp.
|
protectedinherited |
Definition at line 51 of file connectablecell.hpp.
|
protectedinherited |
Definition at line 54 of file connectablecell.hpp.
|
protectedinherited |
Definition at line 44 of file connectablecell.hpp.
|
inherited |
Definition at line 40 of file connectablecell.hpp.
|
inherited |
Definition at line 74 of file connectablecell.hpp.
|
protectedinherited |
Definition at line 49 of file connectablecell.hpp.