Version: 6.3.1
Public Member Functions | Protected Slots | Protected Member Functions | Private Slots | Private Member Functions | Private Attributes

VisuGUI_CutLinesDlg Class Reference

#include <VisuGUI_CutLinesDlg.h>

Inheritance diagram for VisuGUI_CutLinesDlg:
Inheritance graph

Public Member Functions

 VisuGUI_CutLinesDlg (SalomeApp_Module *theModule)
 ~VisuGUI_CutLinesDlg ()
virtual void initFromPrsObject (VISU::ColoredPrs3d_i *thePrs, bool theInit)
virtual int storeToPrsObject (VISU::ColoredPrs3d_i *thePrs)
bool isGenerateTable ()
bool isGenerateCurves ()

Protected Slots

void accept ()
void reject ()
void onHelp ()

Protected Member Functions

virtual QString GetContextHelpFilePath ()
VisuGUI_ScalarBarPaneGetScalarPane ()

Private Slots

void onPlaneSelect (int theId)
void onCutSelect (int theId, bool theUpdate=true)
void setBaseDefault (bool theUpdate=true)
void setDefault (int all=-1)
void DrawTable ()
void onValueChanged (int theRow, int theCol)
void onPreviewCheck (bool thePreview)
void onAllCurvesInvertedCheck (bool theInvert)
void onRotation (double theValue)
void onPlanePos (const QString &theValue)

Private Member Functions

void createPlanes ()
void deletePlanes ()
void updateGlyphs (bool update)
VISU::CutPlanes::Orientation getOrientaion (bool IsBasePlane=true)
void setOrientation (const VISU::CutPlanes::Orientation orient)
void setOrientation2 (const VISU::CutPlanes::Orientation orient)

Private Attributes

QButtonGroup * mySelPlane
SalomeApp_DoubleSpinBox * myRotXSpn
SalomeApp_DoubleSpinBox * myRotYSpn
QLabel * myRotXLbl
QLabel * myRotYLbl
SalomeApp_DoubleSpinBox * myPosSpn
QLineEditmyBasePlanePos
QCheckBox * myCBSetDef
QCheckBox * myCreateTable
QCheckBox * myCurvesCheck
QButtonGroup * mySelPlane2
SalomeApp_DoubleSpinBox * myNbSpn
SalomeApp_DoubleSpinBox * myRotXSpn2
SalomeApp_DoubleSpinBox * myRotYSpn2
QLabel * myRotXLbl2
QLabel * myRotYLbl2
SalomeApp_DoubleSpinBox * myPosSpn2
QTableWidget * myPosTable
bool hasInit
QDoubleValidator * mydvalidator
SALOME::GenericObjPtr
< VISU::CutLines_i
myCutLines
QTabWidget * myTabBox
VisuGUI_InputPanemyInputPane
SALOME_ActormyPreviewActor
SALOME_ActormyPreviewActorGlyphs
QCheckBox * myPreviewCheck
QCheckBox * myAllCurvesInvertedCheck
QCheckBox * myUseAbsoluteLengthCheck
SALOME::GenericObjPtr
< VISU::CutLines_i
myPrsCopy

Constructor & Destructor Documentation

VisuGUI_CutLinesDlg::VisuGUI_CutLinesDlg ( SalomeApp_Module theModule)
VisuGUI_CutLinesDlg::~VisuGUI_CutLinesDlg ( )

Destructor

References deletePlanes().


Member Function Documentation

void VisuGUI_CutLinesDlg::initFromPrsObject ( VISU::ColoredPrs3d_i thePrs,
bool  theInit 
) [virtual]
int VisuGUI_CutLinesDlg::storeToPrsObject ( VISU::ColoredPrs3d_i thePrs) [virtual]
bool VisuGUI_CutLinesDlg.isGenerateTable ( )

References myCreateTable.

bool VisuGUI_CutLinesDlg.isGenerateCurves ( )

References myCreateTable, and myCurvesCheck.

QString VisuGUI_CutLinesDlg::GetContextHelpFilePath ( ) [protected, virtual]

Implements VisuGUI_Prs3dDlg.

void VisuGUI_CutLinesDlg::accept ( ) [protected, slot]

Called when <OK> button is clicked, validates data and closes dialog

Reimplemented from VisuGUI_ScalarBarBaseDlg.

void VisuGUI_CutLinesDlg::reject ( ) [protected, slot]

Called when <Cancel> button is clicked, remove preview and closes dialog

Reimplemented from VisuGUI_ScalarBarBaseDlg.

void VisuGUI_CutLinesDlg::onPlaneSelect ( int  theId) [private, slot]
void VisuGUI_CutLinesDlg::onCutSelect ( int  theId,
bool  theUpdate = true 
) [private, slot]
void VisuGUI_CutLinesDlg::setBaseDefault ( bool  theUpdate = true) [private, slot]
void VisuGUI_CutLinesDlg::setDefault ( int  all = -1) [private, slot]

References myCutLines, myNbSpn, and myPosTable.

void VisuGUI_CutLinesDlg::DrawTable ( ) [private, slot]
void VisuGUI_CutLinesDlg::onValueChanged ( int  theRow,
int  theCol 
) [private, slot]
void VisuGUI_CutLinesDlg::onPreviewCheck ( bool  thePreview) [private, slot]

References createPlanes(), and deletePlanes().

void VisuGUI_CutLinesDlg::onAllCurvesInvertedCheck ( bool  theInvert) [private, slot]

Inverting all curves in the table

References myAllCurvesInvertedCheck, myCutLines, myPrsCopy, and updateGlyphs().

void VisuGUI_CutLinesDlg::onRotation ( double  theValue) [private, slot]
void VisuGUI_CutLinesDlg::onPlanePos ( const QString &  theValue) [private, slot]
void VisuGUI_CutLinesDlg::createPlanes ( ) [private]
void VisuGUI_CutLinesDlg::deletePlanes ( ) [private]
void VisuGUI_CutLinesDlg::updateGlyphs ( bool  update) [private]
VISU::CutPlanes::Orientation VisuGUI_CutLinesDlg::getOrientaion ( bool  IsBasePlane = true) [private]
void VisuGUI_CutLinesDlg::setOrientation ( const VISU::CutPlanes::Orientation  orient) [private]
void VisuGUI_CutLinesDlg::setOrientation2 ( const VISU::CutPlanes::Orientation  orient) [private]
VisuGUI_ScalarBarPane * VisuGUI_ScalarBarBaseDlg::GetScalarPane ( ) [protected, inherited]
void VisuGUI_Prs3dDlg::onHelp ( ) [protected, slot, inherited]

Called when <Help> button is clicked, shows the corresponding help page in defined browser

References VisuGUI_Prs3dDlg.GetContextHelpFilePath().


Field Documentation

QButtonGroup* VisuGUI_CutLinesDlg.mySelPlane [private]
SalomeApp_DoubleSpinBox* VisuGUI_CutLinesDlg.myRotXSpn [private]
SalomeApp_DoubleSpinBox* VisuGUI_CutLinesDlg.myRotYSpn [private]
QLabel* VisuGUI_CutLinesDlg.myRotXLbl [private]
QLabel* VisuGUI_CutLinesDlg.myRotYLbl [private]
SalomeApp_DoubleSpinBox* VisuGUI_CutLinesDlg.myPosSpn [private]
QCheckBox* VisuGUI_CutLinesDlg.myCBSetDef [private]
QCheckBox* VisuGUI_CutLinesDlg.myCreateTable [private]
QCheckBox* VisuGUI_CutLinesDlg.myCurvesCheck [private]
QButtonGroup* VisuGUI_CutLinesDlg.mySelPlane2 [private]
SalomeApp_DoubleSpinBox* VisuGUI_CutLinesDlg.myNbSpn [private]
SalomeApp_DoubleSpinBox* VisuGUI_CutLinesDlg.myRotXSpn2 [private]
SalomeApp_DoubleSpinBox* VisuGUI_CutLinesDlg.myRotYSpn2 [private]
QLabel* VisuGUI_CutLinesDlg.myRotXLbl2 [private]
QLabel* VisuGUI_CutLinesDlg.myRotYLbl2 [private]
SalomeApp_DoubleSpinBox* VisuGUI_CutLinesDlg.myPosSpn2 [private]
QTableWidget* VisuGUI_CutLinesDlg.myPosTable [private]
QDoubleValidator* VisuGUI_CutLinesDlg.mydvalidator [private]
QTabWidget* VisuGUI_CutLinesDlg.myTabBox [private]
QCheckBox* VisuGUI_CutLinesDlg.myPreviewCheck [private]
Copyright © 2007-2011 CEA/DEN, EDF R&D, OPEN CASCADE
Copyright © 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS