Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024 #ifndef VISU_TOOLS_H
00025 #define VISU_TOOLS_H
00026
00027 #include "VISUConfig.hh"
00028 #include "VISU_I.hxx"
00029
00030 #include <Qtx.h>
00031
00032 #include <SALOMEDSClient_Study.hxx>
00033
00034 class SPlot2d_Curve;
00035 class Plot2d_ViewFrame;
00036 class SalomeApp_Study;
00037 class SalomeApp_Application;
00038 class VISU_ActorBase;
00039 class SALOME_Actor;
00040
00041 namespace VISU
00042 {
00043 class Gen_i;
00044 class Table_i;
00045 class Curve_i;
00046 class Container_i;
00047
00051 VISU_I_EXPORT void UpdateCurve( VISU::Curve_i*,
00052 Plot2d_ViewFrame*,
00053 SPlot2d_Curve*,
00054 int theDisplaying );
00055
00056 VISU_I_EXPORT void PlotTable( SalomeApp_Study*,
00057 Plot2d_ViewFrame*,
00058 VISU::Table_i*,
00059 int theDisplaying );
00060
00061 VISU_I_EXPORT void PlotCurve( Plot2d_ViewFrame*,
00062 VISU::Curve_i*,
00063 int theDisplaying );
00064
00065 VISU_I_EXPORT void PlotRemoveCurve(SalomeApp_Application*,
00066 VISU::Curve_i* );
00067
00068 VISU_I_EXPORT void PlotContainer( Plot2d_ViewFrame*,
00069 VISU::Container_i*,
00070 int theDisplaying );
00071
00072 VISU_I_EXPORT void CreatePlot( VISU_Gen_i*,
00073 Plot2d_ViewFrame*,
00074 _PTR(SObject) theTableSO );
00075
00076 VISU_I_EXPORT void SetVisibilityState(std::string entry, Qtx::VisibilityState state);
00077 VISU_I_EXPORT void SetVisibilityState(SALOME_Actor *theActor, Qtx::VisibilityState state);
00078
00079 VISU_I_EXPORT void CurveVisibilityChanged(VISU::Curve_i* theCurve,
00080 int theDisplaying,
00081 bool updateCurve,
00082 bool updateTable,
00083 bool updateContainers);
00084
00085 VISU_I_EXPORT Qtx::VisibilityState GetStateByDisplaying(int theDisplaying);
00086 VISU_I_EXPORT void updateContainerVisibility(VISU::Container_i* theContainer);
00087 }
00088
00089 #endif