#include <VISU_Table_i.hh>

Public Types | |
| typedef RemovableObject_i | TSuperClass |
| 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< TFileName > | TFileNames |
| typedef VISU::Base | TInterface |
Public Member Functions | |
| Curve_i (SALOMEDS::Study_ptr theStudy, Table_i *theTable, CORBA::Long theHRow, CORBA::Long theVRow, CORBA::Long theZRow, CORBA::Boolean theIsV2) | |
| virtual | ~Curve_i () |
| virtual VISU::VISUType | GetType () |
| virtual void | SetTitle (const char *theTitle) |
| virtual char * | GetTitle () |
| virtual void | SetColor (const SALOMEDS::Color &theColor) |
| virtual SALOMEDS::Color | GetColor () |
| virtual void | SetMarker (VISU::Curve::MarkerType theType) |
| virtual VISU::Curve::MarkerType | GetMarker () |
| virtual void | SetLine (VISU::Curve::LineType theType, CORBA::Long theWidth) |
| virtual VISU::Curve::LineType | GetLine () |
| virtual CORBA::Long | GetLineWidth () |
| virtual void | addContainer (const QString &id) |
| virtual void | removeContainer (const QString &id) |
| virtual ContainerSet | getContainers () const |
| virtual void | RemoveFromStudy () |
| virtual SALOMEDS::SObject_var | GetSObject () |
| virtual Storable * | Create () |
| Table_i * | getTable () const |
| int | GetHRow () const |
| void | SetHRow (const int theHRow) |
| int | GetVRow () const |
| void | SetVRow (const int theVRow) |
| int | GetZRow () const |
| void | SetZRow (const int theZRow) |
| int | GetIsV2 () const |
| void | SetIsV2 (const int theIsV2) |
| virtual Storable * | Restore (const Storable::TRestoringMap &theMap, SALOMEDS::SObject_ptr theSO) |
| virtual void | ToStream (std::ostringstream &theStr) |
| virtual const char * | GetComment () const |
| virtual QString | GenerateName () |
| virtual std::string | GetTableID () |
| virtual CORBA::Boolean | IsAuto () |
| virtual CORBA::Boolean | IsValid () |
| virtual std::string | GetHorTitle () |
| virtual std::string | GetVerTitle () |
| virtual std::string | GetHorUnits () |
| virtual std::string | GetVerUnits () |
| virtual int | GetData (double *&theHorList, double *&theVerList, QStringList &) |
| virtual SPlot2d_Curve * | CreatePresentation () |
| SALOMEDS::Study_var | GetStudyDocument () const |
| SalomeApp_Study * | GetGUIStudy () const |
| virtual std::string | GetEntry () |
| virtual std::string | GetName () const |
| virtual void | SetName (const std::string &theName, bool theIsUpdateStudyAttr) |
| 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 Storable * | StorableEngine (SALOMEDS::SObject_ptr theSObject, const Storable::TRestoringMap &theMap, const std::string &thePrefix, CORBA::Boolean theIsMultiFile) |
| static void | RegistryStorableEngine (const std::string &theComment, TStorableEngine theEngine) |
| static Storable * | Create (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_i * | GetVisuGenImpl () |
Static Public Attributes | |
| static const std::string | myComment = "CURVE" |
Protected Member Functions | |
| Storable * | Build (int theRestoring) |
| void | SetStudyDocument (SALOMEDS::Study_ptr theStudy) |
Protected Attributes | |
| Table_i * | myTable |
| int | myHRow |
| int | myVRow |
| int | myZRow |
| bool | myIsV2 |
| struct SALOMEDS::Color | myColor |
| VISU::Curve::MarkerType | myMarker |
| VISU::Curve::LineType | myLine |
| int | myLineWidth |
| std::string | myTitle |
| bool | myAuto |
| SALOMEDS::SObject_var | mySObj |
| ContainerSet | myContainers |
| 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_i * | myVisuGenImpl |
| static SALOME_LifeCycleCORBA * | myEnginesLifeCycle |
Private Member Functions | |
| Curve_i () | |
| Curve_i (const Curve_i &) | |
Static Private Attributes | |
| static int | myNbPresent = 0 |
typedef RemovableObject_i VISU.PrsObject_i.TSuperClass [inherited] |
Reimplemented from VISU.RemovableObject_i.
Reimplemented in VISU.ColoredPrs3d_i, VISU.CutLines_i, VISU.CutLinesBase_i, VISU.CutPlanes_i, VISU.CutSegment_i, VISU.DeformedShape_i, VISU.DeformedShapeAndScalarMap_i, VISU.GaussPoints_i, VISU.IsoSurfaces_i, VISU.Mesh_i, VISU.MonoColorPrs_i, VISU.Plot3D_i, VISU.Prs3d_i, VISU.ScalarMap_i, VISU.StreamLines_i, and VISU.Vectors_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::map<std::string, TStorableEngine> VISU.Storable.TStorableEngineMap [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.
typedef VISU::Base VISU.Base_i.TInterface [inherited] |
Reimplemented in VISU.ColoredPrs3d_i, VISU.CutLines_i, VISU.CutLinesBase_i, VISU.CutPlanes_i, VISU.CutSegment_i, VISU.DeformedShape_i, VISU.DeformedShapeAndScalarMap_i, VISU.GaussPoints_i, VISU.IsoSurfaces_i, VISU.Mesh_i, VISU.MonoColorPrs_i, VISU.Plot3D_i, VISU.Prs3d_i, VISU.ScalarMap_i, VISU.StreamLines_i, VISU.Vectors_i, VISU.XYPlot_i, VISU.TableView_i, and VISU.View3D_i.
| VISU.Curve_i.Curve_i | ( | ) | [private] |
| VISU.Curve_i.Curve_i | ( | const Curve_i & | ) | [private] |
| VISU.Curve_i::Curve_i | ( | SALOMEDS::Study_ptr | theStudy, |
| Table_i * | theTable, | ||
| CORBA::Long | theHRow, | ||
| CORBA::Long | theVRow, | ||
| CORBA::Long | theZRow, | ||
| CORBA::Boolean | theIsV2 | ||
| ) |
Constructor NB : theHRow, theVRow are the indexes of rows in the Table object and numbered from the 1 to GetNbRows()
References VISU.Curve.CIRCLE, VISU.Curve_i.myAuto, VISU.Curve_i.myColor, VISU.Curve_i.myLine, VISU.Curve_i.myLineWidth, VISU.Curve_i.myMarker, and VISU.Curve.SOLIDLINE.
| VISU.Curve_i::~Curve_i | ( | ) | [virtual] |
Destructor
References MESSAGE.
| virtual VISU::VISUType VISU.Curve_i.GetType | ( | ) | [virtual] |
Implements VISU.Base_i.
References VISU.TCURVE.
| void VISU.Curve_i::SetTitle | ( | const char * | theTitle | ) | [virtual] |
References visu.SetName().
| char * VISU.Curve_i::GetTitle | ( | ) | [virtual] |
References VISU.GetName().
| void VISU.Curve_i::SetColor | ( | const SALOMEDS::Color & | theColor | ) | [virtual] |
| SALOMEDS::Color VISU.Curve_i::GetColor | ( | ) | [virtual] |
| void VISU.Curve_i::SetMarker | ( | VISU::Curve::MarkerType | theType | ) | [virtual] |
| VISU::Curve::MarkerType VISU.Curve_i::GetMarker | ( | ) | [virtual] |
| void VISU.Curve_i::SetLine | ( | VISU::Curve::LineType | theType, |
| CORBA::Long | theWidth | ||
| ) | [virtual] |
| VISU::Curve::LineType VISU.Curve_i::GetLine | ( | ) | [virtual] |
| CORBA::Long VISU.Curve_i::GetLineWidth | ( | ) | [virtual] |
| void VISU.Curve_i::addContainer | ( | const QString & | id | ) | [virtual] |
Add container. id - owner of the curve
| void VISU.Curve_i::removeContainer | ( | const QString & | id | ) | [virtual] |
Remove Container id - entry of the container
| VISU::ContainerSet VISU.Curve_i::getContainers | ( | ) | const [virtual] |
Get all owners of the curve.
| void VISU.Curve_i::RemoveFromStudy | ( | ) | [virtual] |
| SALOMEDS::SObject_var VISU.Curve_i::GetSObject | ( | ) | [virtual] |
| VISU::Storable * VISU.Curve_i::Build | ( | int | theRestoring | ) | [protected] |
Builds presentation of curve
References batchmode_visu_table.aPixmap, VISU.CreateAttributes(), VISU.FindOrCreateVisuComponent(), VISU.GetName(), batchmode_visu_view.myTable, and VISU_Example_06.nbRows.
| VISU::Storable * VISU.Curve_i::Create | ( | ) | [virtual] |
Creates curve object
References VISU.GenerateName(), VISU.GetName(), and visu.SetName().
| Table_i* VISU.Curve_i.getTable | ( | ) | const |
References batchmode_visu_view.myTable.
| int VISU.Curve_i.GetHRow | ( | ) | const |
| void VISU.Curve_i.SetHRow | ( | const int | theHRow | ) |
| int VISU.Curve_i.GetVRow | ( | ) | const |
| void VISU.Curve_i.SetVRow | ( | const int | theVRow | ) |
| int VISU.Curve_i.GetZRow | ( | ) | const |
| void VISU.Curve_i.SetZRow | ( | const int | theZRow | ) |
| int VISU.Curve_i.GetIsV2 | ( | ) | const |
| void VISU.Curve_i.SetIsV2 | ( | const int | theIsV2 | ) |
| VISU::Storable * VISU.Curve_i::Restore | ( | const Storable::TRestoringMap & | theMap, |
| SALOMEDS::SObject_ptr | theSO | ||
| ) | [virtual] |
Restores curve object from stream
References VISU.Storable.FindValue(), MESSAGE, MYDEBUG, and visu.SetName().
| VISU::Storable * VISU.Curve_i::StorableEngine | ( | SALOMEDS::SObject_ptr | theSObject, |
| const Storable::TRestoringMap & | theMap, | ||
| const std::string & | thePrefix, | ||
| CORBA::Boolean | theIsMultiFile | ||
| ) | [static] |
Called from engine to restore curve from the file
References GetTable(), and VISU.Curve_i.Restore().
| void VISU.Curve_i::ToStream | ( | std::ostringstream & | theStr | ) | [virtual] |
Flushes curve data into stream
Implements VISU.Storable.
References VISU.Storable.DataToStream(), and VISU.GetName().
| const char * VISU.Curve_i::GetComment | ( | ) | const [virtual] |
Gets comment string
Implements VISU.Storable.
| QString VISU.Curve_i::GenerateName | ( | ) | [virtual] |
Generate unique name
References VISU.GenerateName().
| std::string VISU.Curve_i::GetTableID | ( | ) | [virtual] |
Gets reference table's entry
References batchmode_visu_view.myTable.
| virtual CORBA::Boolean VISU.Curve_i.IsAuto | ( | ) | [virtual] |
| CORBA::Boolean VISU.Curve_i::IsValid | ( | ) | [virtual] |
Returns CORBA.True if curve refers to valid table data
References VISU_Example_02.Builder, and batchmode_visu_view.myTable.
| string VISU.Curve_i::GetHorTitle | ( | ) | [virtual] |
Returns hor.axis title
References VISU_Example_02.Builder, and batchmode_visu_view.myTable.
| string VISU.Curve_i::GetVerTitle | ( | ) | [virtual] |
Returns ver.axis title
References VISU_Example_02.Builder, and batchmode_visu_view.myTable.
| string VISU.Curve_i::GetHorUnits | ( | ) | [virtual] |
Returns hor.axis units
References VISU_Example_02.Builder, and batchmode_visu_view.myTable.
| string VISU.Curve_i::GetVerUnits | ( | ) | [virtual] |
Returns ver.axis units
References VISU_Example_02.Builder, and batchmode_visu_view.myTable.
| int VISU.Curve_i::GetData | ( | double *& | theHorList, |
| double *& | theVerList, | ||
| QStringList & | zList | ||
| ) | [virtual] |
Gets curve data
References VISU_Example_02.Builder, visu.HasValue(), batchmode_visu_table.k, batchmode_visu_view.myTable, and VISU_Example_06.nbRows.
| SPlot2d_Curve * VISU.Curve_i::CreatePresentation | ( | ) | [virtual] |
Creates curve Plot2d presentation object
References VISU.GetColor(), VISU.GetName(), and batchmode_visu_view.myTable.
| SALOMEDS::Study_var VISU.RemovableObject_i::GetStudyDocument | ( | ) | const [inherited] |
Reimplemented in VISU.Result_i.
| SalomeApp_Study * VISU.RemovableObject_i::GetGUIStudy | ( | ) | const [inherited] |
| std::string VISU.RemovableObject_i::GetEntry | ( | ) | [virtual, inherited] |
Reimplemented in VISU.Result_i.
| std::string VISU.RemovableObject_i::GetName | ( | ) | const [virtual, inherited] |
| void VISU.RemovableObject_i::SetName | ( | const std::string & | theName, |
| bool | theIsUpdateStudyAttr | ||
| ) | [virtual, inherited] |
| void VISU.RemovableObject_i::SetStudyDocument | ( | SALOMEDS::Study_ptr | theStudy | ) | [protected, inherited] |
References VISU.GetGUIStudy().
| std::string VISU.Storable::ToString | ( | ) | [inherited] |
References VISU.Storable.DataToStream(), MESSAGE, and MYDEBUG.
| 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] |
References VISU.Storable.FindValue(), MESSAGE, and MYDEBUG.
| VISU::VISUType VISU.Storable::Comment2Type | ( | const std::string & | theComment | ) | [static, inherited] |
References VISU.TALL, VISU.TANIMATION, VISU.TCONTAINER, VISU.TCURVE, VISU.TCUTPLANES, VISU.TCUTSEGMENT, VISU.TDEFORMEDSHAPE, VISU.TDEFORMEDSHAPEANDSCALARMAP, VISU.TENTITY, VISU.TEVOLUTION, VISU.TFAMILY, VISU.TFIELD, VISU.TGAUSSPOINTS, VISU.TGAUSSVIEW, VISU.TGROUP, VISU.TISOSURFACES, VISU.TMESH, VISU.TNONE, VISU.TPART, VISU.TPLOT3D, VISU.TPOINTMAP3D, VISU.TRESULT, VISU.TSCALARMAP, VISU.TSTREAMLINES, VISU.TTABLE, VISU.TTABLEVIEW, VISU.TTIMESTAMP, VISU.TVECTORS, VISU.TVIEW3D, VISU.TVIEWMANAGER, VISU.TVISUGEN, and VISU.TXYPLOT.
| VISU::VISUType VISU.Storable::RestoringMap2Type | ( | const TRestoringMap & | theRestoringMap | ) | [static, inherited] |
References VISU.Storable.FindValue().
| VISU::VISUType VISU.Storable::Stream2Type | ( | const std::string & | thePersistentString | ) | [static, inherited] |
References VISU.Storable.StringToMap(), and VISU.TNONE.
| 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] |
References VISU.Storable.FindValue(), and VISU.Storable.StringToMap().
| std::string VISU.Storable::FindEntry | ( | SALOMEDS::Study_ptr | theStudyDocument, |
| const std::string & | theStartEntry, | ||
| const TRestoringMap & | theRestoringMap, | ||
| int | IsAllLevels = true |
||
| ) | [static, inherited] |
References VISU.Storable.StringToMap().
| QString VISU.Storable::FindValue | ( | const TRestoringMap & | theMap, |
| const std::string & | theArg, | ||
| bool * | theIsFind = NULL |
||
| ) | [static, inherited] |
| 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] |
References batchmode_visu_table.aName, MESSAGE, and MYDEBUG.
| Storable::TRestoringMap VISU.Storable::GetStorableMap | ( | _PTR(SObject) | theSObject | ) | [static, inherited] |
References VISU._PTR(), and VISU.Storable.StringToMap().
| 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] |
int VISU.Curve_i::myNbPresent = 0 [static, private] |
Table_i* VISU.Curve_i.myTable [protected] |
int VISU.Curve_i.myHRow [protected] |
int VISU.Curve_i.myVRow [protected] |
int VISU.Curve_i.myZRow [protected] |
bool VISU.Curve_i.myIsV2 [protected] |
struct SALOMEDS::Color VISU.Curve_i.myColor [protected] |
VISU::Curve::MarkerType VISU.Curve_i.myMarker [protected] |
VISU::Curve::LineType VISU.Curve_i.myLine [protected] |
int VISU.Curve_i.myLineWidth [protected] |
std::string VISU.Curve_i.myTitle [protected] |
bool VISU.Curve_i.myAuto [protected] |
SALOMEDS::SObject_var VISU.Curve_i.mySObj [protected] |
ContainerSet VISU.Curve_i.myContainers [protected] |
const string VISU.Curve_i::myComment = "CURVE" [static] |
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] |