Version: 8.3.0
GrpComputor Class Reference

Mesh information computer. More...

#include <SMESHGUI_MeshInfo.h>

Inheritance diagram for GrpComputor:

Public Slots

void compute ()
 Compute function. More...
 

Public Member Functions

 GrpComputor (SMESH::SMESH_GroupBase_ptr, QTreeWidgetItem *, QObject *, bool=false)
 Contructor. More...
 
QTreeWidgetItem * getItem ()
 

Private Attributes

SMESH::SMESH_GroupBase_var myGroup
 
QTreeWidgetItem * myItem
 
bool myToComputeSize
 

Detailed Description

Mesh information computer.

The class is created for different computation operation. Currently it is used to compute number of underlying nodes for the groups.

Constructor & Destructor Documentation

GrpComputor::GrpComputor ( SMESH::SMESH_GroupBase_ptr  grp,
QTreeWidgetItem *  item,
QObject parent,
bool  toComputeSize = false 
)

Contructor.

References myGroup.

Member Function Documentation

void GrpComputor::compute ( )
slot

Compute function.

References myGroup, myItem, and myToComputeSize.

QTreeWidgetItem* GrpComputor::getItem ( )

References myItem.

Field Documentation

SMESH::SMESH_GroupBase_var GrpComputor::myGroup
private

Referenced by compute(), and GrpComputor().

QTreeWidgetItem* GrpComputor::myItem
private

Referenced by compute(), and getItem().

bool GrpComputor::myToComputeSize
private

Referenced by compute().