Version: 8.3.0
SMESHGUI_PatternWidget Class Reference

#include <SMESHGUI_PatternWidget.h>

Inheritance diagram for SMESHGUI_PatternWidget:

Public Member Functions

 SMESHGUI_PatternWidget (QWidget *=0)
 
 ~SMESHGUI_PatternWidget ()
 
void SetPoints (const PointVector &, const QVector< int > &, const ConnectivityVector &)
 

Protected Member Functions

void paintEvent (QPaintEvent *)
 

Private Member Functions

QPoint mapCoords (const double, const double)
 

Private Attributes

PointVector myPoints
 
QVector< intmyKeys
 
ConnectivityVector myConnections
 
double myMinU
 
double myMaxU
 
double myMinV
 
double myMaxV
 

Constructor & Destructor Documentation

SMESHGUI_PatternWidget::SMESHGUI_PatternWidget ( QWidget parent = 0)

References myMaxU, myMaxV, myMinU, and myMinV.

SMESHGUI_PatternWidget::~SMESHGUI_PatternWidget ( )

Member Function Documentation

QPoint SMESHGUI_PatternWidget::mapCoords ( const double  u,
const double  v 
)
private

References Border, myMaxU, myMaxV, myMinU, and myMinV.

Referenced by paintEvent().

void SMESHGUI_PatternWidget::paintEvent ( QPaintEvent *  )
protected
void SMESHGUI_PatternWidget::SetPoints ( const PointVector thePoints,
const QVector< int > &  theKeys,
const ConnectivityVector theConnections 
)

Field Documentation

ConnectivityVector SMESHGUI_PatternWidget::myConnections
private

Referenced by paintEvent(), and SetPoints().

QVector<int> SMESHGUI_PatternWidget::myKeys
private

Referenced by paintEvent(), and SetPoints().

double SMESHGUI_PatternWidget::myMaxU
private
double SMESHGUI_PatternWidget::myMaxV
private
double SMESHGUI_PatternWidget::myMinU
private
double SMESHGUI_PatternWidget::myMinV
private
PointVector SMESHGUI_PatternWidget::myPoints
private

Referenced by paintEvent(), and SetPoints().