A cell of the 3d design. More...
| string | cellName |
| void | deleteSelect() |
| void | deselectAll() |
| elementList3d* | firstElement |
| void | invertSelect() |
| void | meshDeselect() |
| void | meshSelect() |
| void | mirrorSelect(int plane) |
| void | moveSelect(int x, int y,int z) |
| void | rotateSelect(double angle,int x, int y,int z) |
| void | selectAll() |
| void | selectCellref(string cellname) |
| void | selectVisible() |
A cell3d is one cell of the 3d design, analogous to a 2d cell. The cell you see and edit is layout3d->drawing->currentCell; every cell in the 3d file is also on the linked list that starts at layout3d->drawing->firstCell, a cellList3d you walk with nextCell and thisCell. Inside a cell, firstElement is an elementList3d: follow nextElement and read thisElement for each element3d. selectAll, selectVisible, meshSelect and selectCellref mark elements; deleteSelect, moveSelect, rotateSelect and mirrorSelect then act on that set. cellName is the name of this cell. There are no addBox helpers here: geometry arrives from view3dModule or from mesh members on element3d.
Example:
cell3d *c = layout3d->drawing->currentCell;
if (c != NULL) {
c->deselectAll();
c->meshSelect();
c->moveSelect(0, 0, 1000);
}
The name of this 3d cell.
Deletes every selected element of this cell.
Clears the selection of every element in this cell.
Head of the linked list of element3d objects in this cell.
Selected elements become unselected and the others become selected.
Deselects all mesh elements. Cell references are left as they are.
Selects all mesh elements. Cell references are left as they are.
Mirrors selected elements through the plane given by plane: 0 is yz (x), 1 is xz (y), 2 is xy (z).
Moves selected elements by the offsets x, y and z.
| Parameter: | |
|---|---|
| x | offset in x |
| y | offset in y |
| z | offset in z |
Rotates selected elements by angle degrees around the axis through the origin along (x, y, z).
| Parameter: | |
|---|---|
| angle | rotation in degrees |
| x | x component of the axis |
| y | y component of the axis |
| z | z component of the axis |
Selects every element in this cell.
Selects cell references whose referred cell is named cellname.
Selects every visible element in this cell.