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

VisuGUI_CutSegmentDlg Class Reference

#include <VisuGUI_CutSegmentDlg.h>

Inheritance diagram for VisuGUI_CutSegmentDlg:
Inheritance graph

Public Member Functions

 VisuGUI_CutSegmentDlg (SalomeApp_Module *theModule)
 ~VisuGUI_CutSegmentDlg ()
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 onPreviewCheck (bool thePreview)
void onAllCurvesInvertedCheck (bool theInvert)
void onPointModified ()

Private Member Functions

void createPlanes ()
void deletePlanes ()
void updateGlyphs (bool update)
void updatePoints (bool update)

Private Attributes

QCheckBox * myCreateTable
QCheckBox * myCurvesCheck
bool hasInit
QList< SalomeApp_DoubleSpinBox * > myPoint1
QList< SalomeApp_DoubleSpinBox * > myPoint2
SALOME::GenericObjPtr
< VISU::CutSegment_i
myCutSegment
QTabWidget * myTabBox
VisuGUI_InputPanemyInputPane
SALOME_ActormyPreviewActor
SALOME_ActormyPreviewActorGlyphs
SALOME_ActormyPreviewActorPoints
QCheckBox * myPreviewCheck
QCheckBox * myAllCurvesInvertedCheck
QCheckBox * myUseAbsoluteLengthCheck
SALOME::GenericObjPtr
< VISU::CutSegment_i
myPrsCopy

Constructor & Destructor Documentation

VisuGUI_CutSegmentDlg::VisuGUI_CutSegmentDlg ( SalomeApp_Module theModule)
VisuGUI_CutSegmentDlg::~VisuGUI_CutSegmentDlg ( )

Destructor

References deletePlanes().


Member Function Documentation

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

References myCreateTable.

bool VisuGUI_CutSegmentDlg.isGenerateCurves ( )

References myCreateTable, and myCurvesCheck.

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

Implements VisuGUI_Prs3dDlg.

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

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

Reimplemented from VisuGUI_ScalarBarBaseDlg.

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

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

Reimplemented from VisuGUI_ScalarBarBaseDlg.

void VisuGUI_CutSegmentDlg::onPreviewCheck ( bool  thePreview) [private, slot]

References createPlanes(), and deletePlanes().

void VisuGUI_CutSegmentDlg::onAllCurvesInvertedCheck ( bool  theInvert) [private, slot]
void VisuGUI_CutSegmentDlg::onPointModified ( ) [private, slot]
void VisuGUI_CutSegmentDlg::createPlanes ( ) [private]
void VisuGUI_CutSegmentDlg::deletePlanes ( ) [private]
void VisuGUI_CutSegmentDlg::updateGlyphs ( bool  update) [private]
void VisuGUI_CutSegmentDlg::updatePoints ( bool  update) [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

QList<SalomeApp_DoubleSpinBox*> VisuGUI_CutSegmentDlg.myPoint1 [private]
QList<SalomeApp_DoubleSpinBox*> VisuGUI_CutSegmentDlg.myPoint2 [private]
QTabWidget* VisuGUI_CutSegmentDlg.myTabBox [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