#include <SMESHGUI_PatternWidget.h>
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< int > | myKeys |
ConnectivityVector | myConnections |
double | myMinU |
double | myMaxU |
double | myMinV |
double | myMaxV |
SMESHGUI_PatternWidget::SMESHGUI_PatternWidget | ( | QWidget * | parent = 0 | ) |
SMESHGUI_PatternWidget::~SMESHGUI_PatternWidget | ( | ) |
|
private |
|
protected |
References mapCoords(), myConnections, myKeys, myPoints, Radius, Shift, SMESH::PointStruct::x, and SMESH::PointStruct::y.
void SMESHGUI_PatternWidget::SetPoints | ( | const PointVector & | thePoints, |
const QVector< int > & | theKeys, | ||
const ConnectivityVector & | theConnections | ||
) |
References myConnections, myKeys, myMaxU, myMaxV, myMinU, myMinV, and myPoints.
Referenced by SMESHGUI_CreatePatternDlg::displayPreview(), SMESHGUI_MeshPatternDlg::displayPreview(), SMESHGUI_CreatePatternDlg::erasePreview(), and SMESHGUI_MeshPatternDlg::erasePreview().
|
private |
Referenced by paintEvent(), and SetPoints().
|
private |
Referenced by paintEvent(), and SetPoints().
|
private |
Referenced by mapCoords(), SetPoints(), and SMESHGUI_PatternWidget().
|
private |
Referenced by mapCoords(), SetPoints(), and SMESHGUI_PatternWidget().
|
private |
Referenced by mapCoords(), SetPoints(), and SMESHGUI_PatternWidget().
|
private |
Referenced by mapCoords(), SetPoints(), and SMESHGUI_PatternWidget().
|
private |
Referenced by paintEvent(), and SetPoints().