Mesh information computor. More...
#include <SMESHGUI_MeshInfo.h>

Public Types | |
| enum | { GrpSize , GrpNbNodes } |
Public Slots | |
| void | compute () |
| Compute requested information. More... | |
Signals | |
| void | computed () |
Public Member Functions | |
| InfoComputor (QObject *, const SMESH::SelectionProxy &, int) | |
| Constructor. More... | |
Private Attributes | |
| SMESH::SelectionProxy | myProxy |
| int | myOperation |
Mesh information computor.
The class is created for different computation operations. Currently it is used to compute size and number of underlying nodes for given group.
| InfoComputor::InfoComputor | ( | QObject * | parent, |
| const SMESH::SelectionProxy & | proxy, | ||
| int | operation | ||
| ) |
Constructor.
| parent | Parent object. |
| proxy | Object to compute information on (group). |
| item | Tree widget item, referenced by this computer. |
| operation | Value to compute. |
|
slot |
Compute requested information.
References computed(), GrpNbNodes, GrpSize, SMESH::SelectionProxy::load(), myOperation, myProxy, SMESH::SelectionProxy::nbNodes(), and SMESH::SelectionProxy::size().
|
signal |
Referenced by compute().
|
private |
Referenced by compute().
|
private |
Referenced by compute().