a list element for the linked list of all cells in the 3d view. More...
| cellList3d* | nextCell |
| cell3d* | thisCell |
A cellList3d node is one step in the linked list of all 3d cells of a drawingField3d. thisCell points to the cell3d at this node; nextCell points to the following node, or NULL at the end of the list. The head of the list is layout3d->drawing->firstCell; the cell on screen is layout3d->drawing->currentCell. Walk the list when you need every 3d cell, not only the one in view. The example below visits each cell and skips empty thisCell pointers.
Example:
cellList3d *cl = layout3d->drawing->firstCell;
while (cl != NULL) {
if (cl->thisCell != NULL) {
// e.g. debug(cl->thisCell->cellName);
}
cl = cl->nextCell;
}
The next node in the list, or NULL after the last 3d cell.
The cell3d stored at this node.