Version: 9.16.0
InfoComputor Class Reference

Mesh information computor. More...

#include <SMESHGUI_MeshInfo.h>

Inheritance diagram for InfoComputor:

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
 

Detailed Description

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.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
GrpSize 
GrpNbNodes 

Constructor & Destructor Documentation

◆ InfoComputor()

InfoComputor::InfoComputor ( QObject parent,
const SMESH::SelectionProxy proxy,
int  operation 
)

Constructor.

Parameters
parentParent object.
proxyObject to compute information on (group).
itemTree widget item, referenced by this computer.
operationValue to compute.

Member Function Documentation

◆ compute

void InfoComputor::compute ( )
slot

◆ computed

void InfoComputor::computed ( )
signal

Referenced by compute().

Field Documentation

◆ myOperation

int InfoComputor::myOperation
private

Referenced by compute().

◆ myProxy

SMESH::SelectionProxy InfoComputor::myProxy
private

Referenced by compute().