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

VisuGUI_CutPlanesPane Class Reference

#include <VisuGUI_CutPlanesDlg.h>

Inheritance diagram for VisuGUI_CutPlanesPane:
Inheritance graph

Public Member Functions

 VisuGUI_CutPlanesPane (QWidget *parent)
 ~VisuGUI_CutPlanesPane ()
void setNbPlanes (const int nbp)
int getNbPlanes ()
void setPlanePos (const VISU::CutPlanes::Orientation orient)
VISU::CutPlanes::Orientation getOrientaion ()
void setRotation (const double r1, const double r2)
double getRotation1 ()
double getRotation2 ()
double getScaleFactor ()
void setScaleFactor (double factor)
void initFromPrsObject (VISU::CutPlanes_i *thePrs)
int storeToPrsObject (VISU::CutPlanes_i *thePrs)

Private Types

typedef std::vector< QString > TVectorialFieldsList
typedef std::map< VISU::Entity,
TVectorialFieldsList
TEntity2VectorialFields
typedef std::pair
< VISU::Entity,
TVectorialFieldsList
TEntVectPair

Private Slots

void orientationChanged (int)
void DrawTable ()
void setDefault (int all=-1)
void onValueChanged (int theRow, int theCol)
void onRotation (double theValue)
void onPreviewCheck (bool thePreview)
void onScaleFactorChanged (double)
void onDeformationCheck (bool)
void onVectorialFieldChanged (int)

Private Member Functions

void createPlanes ()
void deletePlanes ()
void InitEntity2VectorialFieldsMap (VISU::ColoredPrs3d_i *thePrs)
void InsertAllVectorialFields ()
void InitVectorialField ()

Private Attributes

TEntity2VectorialFields myEntity2VectorialFields
QLabel * LabelRot1
QLabel * LabelRot2
QGroupBoxGDeformation
SalomeApp_IntSpinBox * nbPlan
SalomeApp_DoubleSpinBox * Rot1
SalomeApp_DoubleSpinBox * Rot2
QRadioButton * RBzx
QRadioButton * RByz
QRadioButton * RBxy
SalomeApp_DoubleSpinBox * myPosSpn
QTableWidget * myPosTable
SALOME::GenericObjPtr
< VISU::CutPlanes_i
myCutPlanes
QCheckBox * myPreviewCheck
QComboBox * myVectorialFieldCombo
SalomeApp_DoubleSpinBox * myScaleSpn
double X1
double X2
double Y1
double Y2
double Z1
double Z2
bool hasInit
SALOME_ActormyPreviewActor

Member Typedef Documentation

typedef std::vector<QString> VisuGUI_CutPlanesPane.TVectorialFieldsList [private]

Constructor & Destructor Documentation

VisuGUI_CutPlanesPane::VisuGUI_CutPlanesPane ( QWidget parent)
VisuGUI_CutPlanesPane::~VisuGUI_CutPlanesPane ( )

References deletePlanes().


Member Function Documentation

void VisuGUI_CutPlanesPane.setNbPlanes ( const int  nbp)

References nbPlan.

int VisuGUI_CutPlanesPane.getNbPlanes ( )

References nbPlan.

void VisuGUI_CutPlanesPane::setPlanePos ( const VISU::CutPlanes::Orientation  orient)

Sets planes orientation and position

References orientationChanged(), RBxy, RByz, RBzx, VISU.CutPlanes.XY, and VISU.CutPlanes.YZ.

VISU::CutPlanes::Orientation VisuGUI_CutPlanesPane::getOrientaion ( )

Gets planes orientation

References RBxy, RByz, RBzx, VISU.CutPlanes.XY, VISU.CutPlanes.YZ, and VISU.CutPlanes.ZX.

void VisuGUI_CutPlanesPane::setRotation ( const double  r1,
const double  r2 
)

Sets planes rotation

References Rot1, and Rot2.

double VisuGUI_CutPlanesPane.getRotation1 ( )

References Rot1.

double VisuGUI_CutPlanesPane.getRotation2 ( )

References Rot2.

double VisuGUI_CutPlanesPane::getScaleFactor ( )

References myScaleSpn.

void VisuGUI_CutPlanesPane::setScaleFactor ( double  factor)

References myScaleSpn.

void VisuGUI_CutPlanesPane::initFromPrsObject ( VISU::CutPlanes_i thePrs)
int VisuGUI_CutPlanesPane::storeToPrsObject ( VISU::CutPlanes_i thePrs)
void VisuGUI_CutPlanesPane::createPlanes ( ) [private]
void VisuGUI_CutPlanesPane::deletePlanes ( ) [private]

References myPreviewActor.

void VisuGUI_CutPlanesPane::InitEntity2VectorialFieldsMap ( VISU::ColoredPrs3d_i thePrs) [private]
void VisuGUI_CutPlanesPane::InsertAllVectorialFields ( ) [private]
void VisuGUI_CutPlanesPane::InitVectorialField ( ) [private]
void VisuGUI_CutPlanesPane::orientationChanged ( int  Id) [private, slot]

Called when orientation is changed

References DrawTable(), LabelRot1, LabelRot2, RBxy, RByz, and RBzx.

void VisuGUI_CutPlanesPane::DrawTable ( ) [private, slot]
void VisuGUI_CutPlanesPane::setDefault ( int  all = -1) [private, slot]
void VisuGUI_CutPlanesPane::onValueChanged ( int  theRow,
int  theCol 
) [private, slot]
void VisuGUI_CutPlanesPane::onRotation ( double  theValue) [private, slot]
void VisuGUI_CutPlanesPane::onPreviewCheck ( bool  thePreview) [private, slot]
void VisuGUI_CutPlanesPane::onScaleFactorChanged ( double  theFactor) [private, slot]

References DrawTable().

void VisuGUI_CutPlanesPane::onDeformationCheck ( bool  Flag) [private, slot]
void VisuGUI_CutPlanesPane::onVectorialFieldChanged ( int  pos) [private, slot]

Field Documentation

SalomeApp_IntSpinBox* VisuGUI_CutPlanesPane.nbPlan [private]
SalomeApp_DoubleSpinBox* VisuGUI_CutPlanesPane.Rot1 [private]
SalomeApp_DoubleSpinBox* VisuGUI_CutPlanesPane.Rot2 [private]
QRadioButton* VisuGUI_CutPlanesPane.RBzx [private]
QRadioButton* VisuGUI_CutPlanesPane.RByz [private]
QRadioButton* VisuGUI_CutPlanesPane.RBxy [private]
SalomeApp_DoubleSpinBox* VisuGUI_CutPlanesPane.myPosSpn [private]
QTableWidget* VisuGUI_CutPlanesPane.myPosTable [private]
SalomeApp_DoubleSpinBox* VisuGUI_CutPlanesPane.myScaleSpn [private]
double VisuGUI_CutPlanesPane.X1 [private]
double VisuGUI_CutPlanesPane.X2 [private]
double VisuGUI_CutPlanesPane.Y1 [private]
double VisuGUI_CutPlanesPane.Y2 [private]
double VisuGUI_CutPlanesPane.Z1 [private]
double VisuGUI_CutPlanesPane.Z2 [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