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

VisuGUI_DeformedShapeAndScalarMapDlg Class Reference

#include <VisuGUI_DeformedShapeAndScalarMapDlg.h>

Inheritance diagram for VisuGUI_DeformedShapeAndScalarMapDlg:
Inheritance graph

Public Member Functions

 VisuGUI_DeformedShapeAndScalarMapDlg (SalomeApp_Module *theModule)
 ~VisuGUI_DeformedShapeAndScalarMapDlg ()
double getFactor () const
void setFactor (double theFactor)
virtual void initFromPrsObject (VISU::ColoredPrs3d_i *thePrs, bool theInit)
virtual int storeToPrsObject (VISU::ColoredPrs3d_i *thePrs)
int getCurrentScalarFieldNamePos ()
QString getCurrentScalarFieldName ()
int getCurrentScalarNbIterations ()
VISU::Entity getCurrentScalarEntity ()
void SetScalarField (int theIter, QString theFieldName=QString(""), const bool=true)
bool IsScalarFieldValid () const

Protected Slots

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

Protected Member Functions

virtual QString GetContextHelpFilePath ()
void UpdateScalarField ()
void SetScalarField (const bool=true)
void AddAllFieldNames ()
void AddAllTimes (const QString &theFieldName)
QString GetFloatValueOfTimeStamp (VISU::Entity theEntity, const std::string &theFieldName, int theTimeStampNumber)
void updateControls ()
VisuGUI_ScalarBarPaneGetScalarPane ()

Private Types

typedef std::map< int, QString > TTimeStampNumber2Time
typedef std::map< QString,
TTimeStampNumber2Time
TFieldName2TimeStamps
typedef std::map< VISU::Entity,
TFieldName2TimeStamps
TEntity2Fields

Private Slots

void onFieldChanged (int i=0)
void onTimeStampChanged (int i=0)

Private Member Functions

 _PTR (SObject) mySelectionObj

Private Attributes

SalomeApp_DoubleSpinBox * ScalFact
QTabWidget * myTabBox
VisuGUI_ScalarBarPanemyScalarPane
VisuGUI_InputPanemyInputPane
QComboBox * myFieldsCombo
QComboBox * myTimeStampsCombo
QPushButton * myButtonOk
TEntity2Fields myEntity2Fields
int myCurrScalarIter
bool myIsAnimation
bool myUpdateScalars
std::vector< int > myTimeStampID
SALOME::GenericObjPtr
< VISU::DeformedShapeAndScalarMap_i
myPrsCopy
SalomeApp_ModulemyVisuGUI
bool myIsScalarFieldValid

Member Typedef Documentation

typedef std::map<int, QString> VisuGUI_DeformedShapeAndScalarMapDlg.TTimeStampNumber2Time [private]

Constructor & Destructor Documentation

VisuGUI_DeformedShapeAndScalarMapDlg::VisuGUI_DeformedShapeAndScalarMapDlg ( SalomeApp_Module theModule)
VisuGUI_DeformedShapeAndScalarMapDlg::~VisuGUI_DeformedShapeAndScalarMapDlg ( )

Member Function Documentation

double VisuGUI_DeformedShapeAndScalarMapDlg::getFactor ( ) const

References ScalFact.

void VisuGUI_DeformedShapeAndScalarMapDlg::setFactor ( double  theFactor)

References ScalFact.

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

Implements VisuGUI_Prs3dDlg.

int VisuGUI_DeformedShapeAndScalarMapDlg::getCurrentScalarFieldNamePos ( )

References myFieldsCombo.

QString VisuGUI_DeformedShapeAndScalarMapDlg::getCurrentScalarFieldName ( )

References myFieldsCombo.

int VisuGUI_DeformedShapeAndScalarMapDlg::getCurrentScalarNbIterations ( )

References myTimeStampsCombo.

VISU::Entity VisuGUI_DeformedShapeAndScalarMapDlg::getCurrentScalarEntity ( )
void VisuGUI_DeformedShapeAndScalarMapDlg::SetScalarField ( int  theIter,
QString  theFieldName = QString(""),
const bool  save_scalar_pane = true 
)
bool VisuGUI_DeformedShapeAndScalarMapDlg.IsScalarFieldValid ( ) const

References myIsScalarFieldValid.

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

Implements VisuGUI_Prs3dDlg.

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

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

Reimplemented from VisuGUI_ScalarBarBaseDlg.

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

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

Reimplemented from VisuGUI_ScalarBarBaseDlg.

void VisuGUI_DeformedShapeAndScalarMapDlg::onFieldChanged ( int  i = 0) [private, slot]
void VisuGUI_DeformedShapeAndScalarMapDlg::onTimeStampChanged ( int  i = 0) [private, slot]

References SetScalarField().

VisuGUI_DeformedShapeAndScalarMapDlg._PTR ( SObject  ) [private]
void VisuGUI_DeformedShapeAndScalarMapDlg::UpdateScalarField ( ) [protected]
void VisuGUI_DeformedShapeAndScalarMapDlg::SetScalarField ( const bool  save_scalar_pane = true) [protected]
void VisuGUI_DeformedShapeAndScalarMapDlg::AddAllFieldNames ( ) [protected]
void VisuGUI_DeformedShapeAndScalarMapDlg::AddAllTimes ( const QString &  theFieldName) [protected]
QString VisuGUI_DeformedShapeAndScalarMapDlg::GetFloatValueOfTimeStamp ( VISU::Entity  theEntity,
const std::string theFieldName,
int  theTimeStampNumber 
) [protected]
void VisuGUI_DeformedShapeAndScalarMapDlg::updateControls ( ) [protected]
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

SalomeApp_DoubleSpinBox* VisuGUI_DeformedShapeAndScalarMapDlg.ScalFact [private]

Reimplemented from VisuGUI_ScalarBarBaseDlg.

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