Version: 6.3.1
Public Types | Public Member Functions | Static Public Member Functions | Data Fields | Protected Attributes | Static Protected Attributes

VISU.XYPlot_i Class Reference

#include <VISU_View_i.hh>

Inheritance diagram for VISU.XYPlot_i:
Inheritance graph

Public Types

typedef VISU::XYPlot TInterface
typedef std::map< std::string,
QString > 
TRestoringMap
typedef Storable *(* TStorableEngine )(SALOMEDS::SObject_ptr theSObject, const TRestoringMap &theMap, const std::string &thePrefix, CORBA::Boolean theIsMultiFile)
typedef std::map< std::string,
TStorableEngine
TStorableEngineMap
typedef std::string TFileName
typedef std::vector< TFileNameTFileNames

Public Member Functions

 XYPlot_i (SalomeApp_Application *theApplication)
virtual ~XYPlot_i ()
virtual VISU::VISUType GetType ()
virtual void SetTitle (const char *theTitle)
virtual char * GetTitle ()
virtual void SetSubTitle (const char *theTitle)
virtual char * GetSubTitle ()
virtual void SetCurveType (VISU::XYPlot::CurveType theType)
virtual VISU::XYPlot::CurveType GetCurveType ()
virtual void SetMarkerSize (CORBA::Long theSize)
virtual CORBA::Long GetMarkerSize ()
virtual void EnableXGrid (CORBA::Boolean theMajor, CORBA::Long theNumMajor, CORBA::Boolean theMinor, CORBA::Long theNumMinor)
virtual void EnableYGrid (CORBA::Boolean theMajor, CORBA::Long theNumMajor, CORBA::Boolean theMinor, CORBA::Long theNumMinor)
virtual void EnableYGrid (CORBA::Boolean theMajor, CORBA::Long theNumMajor, CORBA::Boolean theMinor, CORBA::Long theNumMinor, CORBA::Boolean the2Major, CORBA::Long the2NumMajor, CORBA::Boolean the2Minor, CORBA::Long the2NumMinor)
virtual void SetHorScaling (VISU::Scaling theScaling)
virtual VISU::Scaling GetHorScaling ()
virtual void SetVerScaling (VISU::Scaling theScaling)
virtual VISU::Scaling GetVerScaling ()
virtual void SetXTitle (const char *theTitle)
virtual char * GetXTitle ()
virtual void SetYTitle (const char *theTitle)
virtual char * GetYTitle ()
virtual void ShowLegend (CORBA::Boolean theShowing)
virtual void EraseAll ()
virtual void Erase (PrsObject_ptr thePrsObj)
virtual void Display (PrsObject_ptr thePrsObj)
virtual void DisplayOnly (PrsObject_ptr thePrsObj)
virtual void Update ()
virtual void FitAll ()
virtual void FitXRange (CORBA::Double xMin, CORBA::Double xMax)
virtual void FitYRange (CORBA::Double yMin, CORBA::Double yMax)
virtual void FitRange (CORBA::Double xMin, CORBA::Double xMax, CORBA::Double yMin, CORBA::Double yMax)
virtual void GetFitRanges (double &xMin, double &xMax, double &yMin, double &yMax)
virtual void Close ()
Plot2d_ViewFrame * GetView ()
virtual StorableCreate (int theNew)
virtual void ShowPart (VISU::View::ViewRepresentation ViewRepr, CORBA::Boolean state)
virtual CORBA::Boolean IsPartShown (VISU::View::ViewRepresentation ViewRepr)
virtual void SplitRight ()
virtual void SplitLeft ()
virtual void SplitBottom ()
virtual void SplitTop ()
virtual void OnTop ()
virtual void Attract (VISU::View_ptr theView)
virtual void AttractAll (VISU::View_ptr theView)
virtual void SetRelativePositionInSplitter (CORBA::Double thePosition)
virtual void SetRelativeSizeInSplitter (CORBA::Double theSize)
virtual void SetRelativePositionX (CORBA::Double thePosition)
virtual void SetRelativePositionY (CORBA::Double thePosition)
virtual void SetRelativeSizeX (CORBA::Double theSize)
virtual void SetRelativeSizeY (CORBA::Double theSize)
virtual void SetViewWidth (CORBA::Long Width)
virtual void SetViewHeight (CORBA::Long Height)
virtual CORBA::Long GetViewWidth ()
virtual CORBA::Long GetViewHeight ()
virtual void SetViewPositionHorizontal (VISU::View::ViewPosition ViewPosHor)
virtual void SetViewPositionVertical (VISU::View::ViewPosition ViewPosVer)
virtual void SetRelativePosition (CORBA::Double x, CORBA::Double y)
virtual void SetRelativeSize (CORBA::Double x, CORBA::Double y)
virtual void Minimize ()
virtual void Restore ()
virtual void Maximize ()
virtual void SetBackground (const SALOMEDS::Color &theColor)
virtual SALOMEDS::Color GetBackground ()
virtual void DisplayAll ()
virtual CORBA::Boolean SavePicture (const char *theFileName)
virtual void ToStream (std::ostringstream &theStr)
virtual const char * GetComment () const
SUIT_ViewWindow * GetViewWindow ()
void SetViewWindow (SUIT_ViewWindow *theViewWindow)
std::string ToString ()
virtual CORBA::Boolean CanCopy (SALOMEDS::SObject_ptr theObject)
virtual bool CopyFrom (SALOMEDS::SObject_ptr theObject, CORBA::Long &theObjectID, const std::string &theTmpDir, TFileNames &theFileNames)
virtual char * GetID ()

Static Public Member Functions

static void RegistryStorableEngine (const std::string &theComment, TStorableEngine theEngine)
static StorableCreate (SALOMEDS::SObject_ptr theSObject, const std::string &theLocalPersistentID, const std::string &thePrefix, CORBA::Boolean theIsMultiFile)
static VISU::VISUType Comment2Type (const std::string &theComment)
static VISU::VISUType RestoringMap2Type (const TRestoringMap &theRestoringMap)
static VISU::VISUType Stream2Type (const std::string &thePersistentString)
static VISU::VISUType SObject2Type (const _PTR(SObject)&theSObject)
static std::string CorrectPersistentString (const std::string &thePersistentString)
static std::string FindEntry (SALOMEDS::Study_ptr theStudyDocument, const std::string &theStartEntry, const TRestoringMap &theRestoringMap, int IsAllLevels=true)
static QString FindValue (const TRestoringMap &theMap, const std::string &theArg, bool *theIsFind=NULL)
static QString FindValue (const TRestoringMap &theMap, const std::string &theArg, const QString &theDefaultValue)
static void StringToMap (const QString &theString, TRestoringMap &theMap)
static TRestoringMap GetStorableMap (_PTR(SObject) theSObject)
static SALOMEDS::SObject_ptr GetResultSO (SALOMEDS::SObject_ptr theSObject)
static void DataToStream (std::ostringstream &theStr, const QString &theName, const QString &theVal)
static void DataToStream (std::ostringstream &theStr, const QString &theName, int theVal)
static void DataToStream (std::ostringstream &theStr, const QString &theName, long theVal)
static void DataToStream (std::ostringstream &theStr, const QString &theName, double theVal)
static CORBA::ORB_var GetORB ()
static PortableServer::POA_var GetPOA ()
static SALOME_NamingService * GetNS ()
static SALOME_LifeCycleCORBA * GetLCC ()
static VISU_Gen_iGetVisuGenImpl ()

Data Fields

QWidgetmyWorkspace
SalomeApp_Application * myApplication
SUIT_ViewManager * myViewManager

Protected Attributes

Plot2d_ViewFrame * myView
std::string myID

Static Protected Attributes

static QMutex * myMutex = NULL
static CORBA::ORB_var myOrb
static PortableServer::POA_var myPoa
static SALOME_NamingService * myNamingService
static VISU_Gen_imyVisuGenImpl
static SALOME_LifeCycleCORBA * myEnginesLifeCycle

Member Typedef Documentation

Reimplemented from VISU.Base_i.

typedef std::map<std::string, QString> VISU.Storable.TRestoringMap [inherited]
typedef Storable*(* VISU.Storable.TStorableEngine)(SALOMEDS::SObject_ptr theSObject, const TRestoringMap &theMap, const std::string &thePrefix, CORBA::Boolean theIsMultiFile) [inherited]
typedef std::string VISU.Storable.TFileName [inherited]

Reimplemented in VISU.Result_i.

typedef std::vector<TFileName> VISU.Storable.TFileNames [inherited]

Reimplemented in VISU.Result_i.


Constructor & Destructor Documentation

VISU.XYPlot_i::XYPlot_i ( SalomeApp_Application *  theApplication)

References MESSAGE, and MYDEBUG.

VISU.XYPlot_i::~XYPlot_i ( ) [virtual]

References MESSAGE, and MYDEBUG.


Member Function Documentation

virtual VISU::VISUType VISU.XYPlot_i.GetType ( ) [virtual]

Implements VISU.Base_i.

References VISU.TXYPLOT.

void VISU.XYPlot_i::SetTitle ( const char *  theTitle) [virtual]
char * VISU.XYPlot_i::GetTitle ( ) [virtual]
void VISU.XYPlot_i::SetSubTitle ( const char *  theTitle) [virtual]
char * VISU.XYPlot_i::GetSubTitle ( ) [virtual]
void VISU.XYPlot_i::SetCurveType ( VISU::XYPlot::CurveType  theType) [virtual]
VISU::XYPlot::CurveType VISU.XYPlot_i::GetCurveType ( ) [virtual]
void VISU.XYPlot_i::SetMarkerSize ( CORBA::Long  theSize) [virtual]
CORBA::Long VISU.XYPlot_i::GetMarkerSize ( ) [virtual]
void VISU.XYPlot_i::EnableXGrid ( CORBA::Boolean  theMajor,
CORBA::Long  theNumMajor,
CORBA::Boolean  theMinor,
CORBA::Long  theNumMinor 
) [virtual]
void VISU.XYPlot_i::EnableYGrid ( CORBA::Boolean  theMajor,
CORBA::Long  theNumMajor,
CORBA::Boolean  theMinor,
CORBA::Long  theNumMinor 
) [virtual]
void VISU.XYPlot_i::EnableYGrid ( CORBA::Boolean  theMajor,
CORBA::Long  theNumMajor,
CORBA::Boolean  theMinor,
CORBA::Long  theNumMinor,
CORBA::Boolean  the2Major,
CORBA::Long  the2NumMajor,
CORBA::Boolean  the2Minor,
CORBA::Long  the2NumMinor 
) [virtual]
void VISU.XYPlot_i::SetHorScaling ( VISU::Scaling  theScaling) [virtual]
VISU::Scaling VISU.XYPlot_i::GetHorScaling ( ) [virtual]
void VISU.XYPlot_i::SetVerScaling ( VISU::Scaling  theScaling) [virtual]
VISU::Scaling VISU.XYPlot_i::GetVerScaling ( ) [virtual]
void VISU.XYPlot_i::SetXTitle ( const char *  theTitle) [virtual]
char * VISU.XYPlot_i::GetXTitle ( ) [virtual]
void VISU.XYPlot_i::SetYTitle ( const char *  theTitle) [virtual]
char * VISU.XYPlot_i::GetYTitle ( ) [virtual]
void VISU.XYPlot_i::ShowLegend ( CORBA::Boolean  theShowing) [virtual]
void VISU.XYPlot_i::EraseAll ( ) [virtual]

Reimplemented from VISU.View_i.

References VISU.View_i.GetViewWindow(), and VISU.XYPlot_i.myView.

void VISU.XYPlot_i::Erase ( PrsObject_ptr  thePrsObj) [virtual]
void VISU.XYPlot_i::Display ( PrsObject_ptr  thePrsObj) [virtual]
void VISU.XYPlot_i::DisplayOnly ( PrsObject_ptr  thePrsObj) [virtual]
void VISU.XYPlot_i::Update ( ) [virtual]

Reimplemented from VISU.View_i.

References VISU.XYPlot_i.myView.

void VISU.XYPlot_i::FitAll ( ) [virtual]
void VISU.XYPlot_i::FitXRange ( CORBA::Double  xMin,
CORBA::Double  xMax 
) [virtual]

References VISU.XYPlot_i.myView.

void VISU.XYPlot_i::FitYRange ( CORBA::Double  yMin,
CORBA::Double  yMax 
) [virtual]

References VISU.XYPlot_i.myView.

void VISU.XYPlot_i::FitRange ( CORBA::Double  xMin,
CORBA::Double  xMax,
CORBA::Double  yMin,
CORBA::Double  yMax 
) [virtual]

References VISU.XYPlot_i.myView.

void VISU.XYPlot_i::GetFitRanges ( double &  xMin,
double &  xMax,
double &  yMin,
double &  yMax 
) [virtual]

References VISU.XYPlot_i.myView.

void VISU.XYPlot_i::Close ( ) [virtual]

Implements VISU.View_i.

References VISU.View_i.GetViewWindow().

Plot2d_ViewFrame* VISU.XYPlot_i.GetView ( )
Storable * VISU.XYPlot_i::Create ( int  theNew) [virtual]

References VISU.XYPlot_i.myView.

void VISU.View_i::ShowPart ( VISU::View::ViewRepresentation  ViewRepr,
CORBA::Boolean  state 
) [virtual, inherited]
CORBA::Boolean VISU.View_i::IsPartShown ( VISU::View::ViewRepresentation  ViewRepr) [virtual, inherited]
void VISU.View_i::SplitRight ( ) [virtual, inherited]
void VISU.View_i::SplitLeft ( ) [virtual, inherited]
void VISU.View_i::SplitBottom ( ) [virtual, inherited]
void VISU.View_i::SplitTop ( ) [virtual, inherited]
void VISU.View_i::OnTop ( ) [virtual, inherited]
void VISU.View_i::Attract ( VISU::View_ptr  theView) [virtual, inherited]
void VISU.View_i::AttractAll ( VISU::View_ptr  theView) [virtual, inherited]
void VISU.View_i::SetRelativePositionInSplitter ( CORBA::Double  thePosition) [virtual, inherited]
void VISU.View_i::SetRelativeSizeInSplitter ( CORBA::Double  theSize) [virtual, inherited]
void VISU.View_i::SetRelativePositionX ( CORBA::Double  thePosition) [virtual, inherited]
void VISU.View_i::SetRelativePositionY ( CORBA::Double  thePosition) [virtual, inherited]
void VISU.View_i::SetRelativeSizeX ( CORBA::Double  theSize) [virtual, inherited]
void VISU.View_i::SetRelativeSizeY ( CORBA::Double  theSize) [virtual, inherited]
void VISU.View_i::SetViewWidth ( CORBA::Long  Width) [virtual, inherited]
void VISU.View_i::SetViewHeight ( CORBA::Long  Height) [virtual, inherited]
CORBA::Long VISU.View_i::GetViewWidth ( ) [virtual, inherited]
CORBA::Long VISU.View_i::GetViewHeight ( ) [virtual, inherited]
void VISU.View_i::SetViewPositionHorizontal ( VISU::View::ViewPosition  ViewPosHor) [virtual, inherited]
void VISU.View_i::SetViewPositionVertical ( VISU::View::ViewPosition  ViewPosVer) [virtual, inherited]
void VISU.View_i::SetRelativePosition ( CORBA::Double  x,
CORBA::Double  y 
) [virtual, inherited]
void VISU.View_i::SetRelativeSize ( CORBA::Double  x,
CORBA::Double  y 
) [virtual, inherited]
void VISU.View_i::Minimize ( ) [virtual, inherited]
void VISU.View_i::Restore ( ) [virtual, inherited]
void VISU.View_i::Maximize ( ) [virtual, inherited]
void VISU.View_i::SetBackground ( const SALOMEDS::Color &  theColor) [virtual, inherited]
SALOMEDS::Color VISU.View_i::GetBackground ( ) [virtual, inherited]
void VISU.View_i::DisplayAll ( ) [virtual, inherited]

Reimplemented in VISU.View3D_i.

CORBA::Boolean VISU.View_i::SavePicture ( const char *  theFileName) [virtual, inherited]
void VISU.View_i::ToStream ( std::ostringstream &  theStr) [virtual, inherited]

Implements VISU.Storable.

Reimplemented in VISU.View3D_i.

const char * VISU.View_i::GetComment ( ) const [virtual, inherited]

Implements VISU.Storable.

Reimplemented in VISU.View3D_i.

SUIT_ViewWindow * VISU.View_i::GetViewWindow ( ) [inherited]
void VISU.View_i::SetViewWindow ( SUIT_ViewWindow *  theViewWindow) [inherited]
std::string VISU.Storable::ToString ( ) [inherited]
void VISU.Storable::RegistryStorableEngine ( const std::string theComment,
TStorableEngine  theEngine 
) [static, inherited]
Storable * VISU.Storable::Create ( SALOMEDS::SObject_ptr  theSObject,
const std::string theLocalPersistentID,
const std::string thePrefix,
CORBA::Boolean  theIsMultiFile 
) [static, inherited]
VISU::VISUType VISU.Storable::Comment2Type ( const std::string theComment) [static, inherited]
VISU::VISUType VISU.Storable::RestoringMap2Type ( const TRestoringMap theRestoringMap) [static, inherited]
VISU::VISUType VISU.Storable::Stream2Type ( const std::string thePersistentString) [static, inherited]
VISU::VISUType VISU.Storable::SObject2Type ( const _PTR(SObject)&  theSObject) [static, inherited]

References VISU._PTR(), and VISU.TNONE.

std::string VISU.Storable::CorrectPersistentString ( const std::string thePersistentString) [static, inherited]
std::string VISU.Storable::FindEntry ( SALOMEDS::Study_ptr  theStudyDocument,
const std::string theStartEntry,
const TRestoringMap theRestoringMap,
int  IsAllLevels = true 
) [static, inherited]
QString VISU.Storable::FindValue ( const TRestoringMap theMap,
const std::string theArg,
bool *  theIsFind = NULL 
) [static, inherited]

References MESSAGE, and MYDEBUG.

QString VISU.Storable::FindValue ( const TRestoringMap theMap,
const std::string theArg,
const QString &  theDefaultValue 
) [static, inherited]
void VISU.Storable::StringToMap ( const QString &  theString,
TRestoringMap theMap 
) [static, inherited]
Storable::TRestoringMap VISU.Storable::GetStorableMap ( _PTR(SObject)  theSObject) [static, inherited]
static SALOMEDS::SObject_ptr VISU.Storable.GetResultSO ( SALOMEDS::SObject_ptr  theSObject) [static, inherited]
void VISU.Storable::DataToStream ( std::ostringstream &  theStr,
const QString &  theName,
const QString &  theVal 
) [static, inherited]
void VISU.Storable::DataToStream ( std::ostringstream &  theStr,
const QString &  theName,
int  theVal 
) [static, inherited]
void VISU.Storable::DataToStream ( std::ostringstream &  theStr,
const QString &  theName,
long  theVal 
) [static, inherited]
void VISU.Storable::DataToStream ( std::ostringstream &  theStr,
const QString &  theName,
double  theVal 
) [static, inherited]
CORBA::Boolean VISU.Storable::CanCopy ( SALOMEDS::SObject_ptr  theObject) [virtual, inherited]

Reimplemented in VISU.Result_i.

bool VISU.Storable::CopyFrom ( SALOMEDS::SObject_ptr  theObject,
CORBA::Long &  theObjectID,
const std::string theTmpDir,
TFileNames theFileNames 
) [virtual, inherited]

Reimplemented in VISU.Result_i.

References VISU_Example_06.aFileName.

char * VISU.Base_i::GetID ( ) [virtual, inherited]

Reimplemented in VISU.VISU_Gen_i, and VISU.VISU_Gen_i.

static CORBA::ORB_var VISU.Base_i.GetORB ( ) [static, inherited]
static PortableServer::POA_var VISU.Base_i.GetPOA ( ) [static, inherited]
static SALOME_NamingService* VISU.Base_i.GetNS ( ) [static, inherited]

References visu.myNamingService.

static SALOME_LifeCycleCORBA* VISU.Base_i.GetLCC ( ) [static, inherited]
static VISU_Gen_i* VISU.Base_i.GetVisuGenImpl ( ) [static, inherited]

Field Documentation

Plot2d_ViewFrame* VISU.XYPlot_i.myView [protected]
SalomeApp_Application* VISU.View_i.myApplication [inherited]
SUIT_ViewManager* VISU.View_i.myViewManager [inherited]
std::string VISU.Base_i.myID [protected, inherited]
QMutex * VISU.Base_i::myMutex = NULL [static, protected, inherited]
CORBA::ORB_var VISU.Base_i::myOrb [static, protected, inherited]
PortableServer::POA_var VISU.Base_i::myPoa [static, protected, inherited]
SALOME_NamingService * VISU.Base_i::myNamingService [static, protected, inherited]
VISU_Gen_i * VISU.Base_i::myVisuGenImpl [static, protected, inherited]
SALOME_LifeCycleCORBA * VISU.Base_i::myEnginesLifeCycle [static, protected, inherited]
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