![]() |
GemaCoreLib
The GeMA Core library
|
Declaration of the GmCellMesh interface class. More...


Go to the source code of this file.
Classes | |
| class | GmCellMesh |
| Base interface class for CellMesh type plugins. More... | |
| struct | GmCellMesh::GmCellEdgeStatistics |
| struct | GmCellMesh::GmCellBboxStatistics |
| class | GmForeachCellHelperClassBase< T > |
| Base helper class for the GmForeachXxxx() family of macros. More... | |
| class | GmForeachCellHelperClass< T, C > |
| Helper class for the GmForeachActiveXxxx() family of macros. More... | |
| class | GmForeachOrderedCellHelperClass< T, C > |
| Helper class for the GmForeachOrderedActiveXxxx() family of macros. More... | |
Macros | |
| #define | GmForeachCellHelper(variable, container, contType, cellType, activeOnly) |
| Helper macro used to traverse all the (active) cells in a generic container. Should NOT be used in user code. | |
| #define | GmForeachOrderedCellHelper(variable, container, contType, cellType, activeOnly, pcr) |
| #define | GmForeachActiveCell(variable, mesh) |
| Macro used to traverse all the active cells in a mesh. | |
| #define | GmForeachCell(variable, mesh, activeOnly) |
| Similar to GmForeachActiveCell but with a flag (activeOnly) controlling if all cells will be traversed or only the active ones. | |
| #define | GmForeachOrderedCell(variable, mesh, activeOnly, modelOrder) |
| Similar to GmForeachCell but with an added parameter (modelOrder) to control if the mesh should be traversed in the original cell model order or not. | |
Declaration of the GmCellMesh interface class.
| #define GmForeachActiveCell | ( | variable, | |
| mesh ) |
Macro used to traverse all the active cells in a mesh.
Can be used as:
| #define GmForeachCell | ( | variable, | |
| mesh, | |||
| activeOnly ) |
Similar to GmForeachActiveCell but with a flag (activeOnly) controlling if all cells will be traversed or only the active ones.
| #define GmForeachCellHelper | ( | variable, | |
| container, | |||
| contType, | |||
| cellType, | |||
| activeOnly ) |
Helper macro used to traverse all the (active) cells in a generic container. Should NOT be used in user code.
The implementation is largely inspired by the implementation of the Qt foreach macro, so it can include break. The container parameter should be a pointer.
From the documentation of the Q_FOREACH macro:
Explanation of the control word:
| #define GmForeachOrderedCell | ( | variable, | |
| mesh, | |||
| activeOnly, | |||
| modelOrder ) |
Similar to GmForeachCell but with an added parameter (modelOrder) to control if the mesh should be traversed in the original cell model order or not.
| #define GmForeachOrderedCellHelper | ( | variable, | |
| container, | |||
| contType, | |||
| cellType, | |||
| activeOnly, | |||
| pcr ) |