+ enum ESourceId {
+ eRestoredComponent = -2,
+ eRestoredFile = -1,
+ eSavedFile = 0,
+ eFile = 1,
+ eComponent = 2
+ };
+
+ enum ECreationId {
+ eImportFile,
+ eCopyAndImportFile,
+ eImportMed,
+ eImportMedField
+ };
+
+ static
+ Result_i*
+ New(SALOMEDS::Study_ptr theStudy,
+ const ESourceId& theSourceId,
+ const ECreationId& theCreationId,
+ CORBA::Boolean theIsBuildImmediately,
+ CORBA::Boolean theIsBuildFields,
+ CORBA::Boolean theIsBuildMinMax,
+ CORBA::Boolean theIsBuildGroups);
+
+ virtual
+ void
+ RemoveFromStudy();
+
+ virtual
+ VISU::VISUType
+ GetType()
+ {
+ return VISU::TRESULT;
+ }
+
+ virtual
+ CORBA::Boolean
+ BuildAll();
+
+ virtual
+ CORBA::Boolean
+ Build(CORBA::Boolean theIsBuildAll,
+ CORBA::Boolean theIsAtOnce);
+
+ virtual
+ CORBA::Boolean
+ ExportMED(const char* theFileName);
+
+ virtual
+ CORBA::Boolean
+ IsDone();
+
+ virtual
+ CORBA::Boolean
+ IsEntitiesDone();
+
+ virtual
+ void
+ SetBuildFields(CORBA::Boolean theIsBuildFields,
+ CORBA::Boolean theIsCalculateMinMax);
+
+ virtual
+ CORBA::Boolean
+ IsFieldsDone();
+
+ virtual
+ void
+ SetBuildGroups(CORBA::Boolean theIsBuildGroups);
+
+ virtual
+ CORBA::Boolean
+ IsGroupsDone();
+
+ virtual
+ CORBA::Boolean
+ IsMinMaxDone();
+
+ virtual
+ CORBA::Boolean
+ IsPartsDone();
+
+ virtual
+ VISU::Result::EntityNames*
+ GetMeshNames();
+
+ virtual
+ VISU::Result::Entities*
+ GetEntities(const char* theMeshName);
+
+ virtual
+ VISU::Result::EntityNames*
+ GetFamilies(const char* theMeshName,
+ Entity theEntity);
+
+ virtual
+ VISU::Result::EntityNames*
+ GetGroups(const char* theMeshName);
+
+ virtual
+ VISU::Result::EntityNames*
+ GetFields(const char* theMeshName,
+ Entity theEntity);
+
+ virtual
+ VISU::Result::TimeStampNumbers*
+ GetTimeStampNumbers(const char* theMeshName,
+ Entity theEntity,
+ const char* theFieldName);
+
+ virtual
+ VISU::double_array*
+ GetTimeStampValues(const char* theMeshName,
+ Entity theEntity,
+ const char* theFieldName);
+
+ virtual
+ CORBA::Long
+ GetNumberOfComponents(const char* theMeshName,
+ Entity theEntity,
+ const char* theFieldName);
+
+ virtual
+ VISU::Result::EntityNames*
+ GetPartNames(const char* theMeshName);
+
+ virtual
+ VISU::Result::Resolutions*
+ GetResolutions(const char* theMeshName,
+ const char* thePartName);
+
+ virtual
+ VISU::Result::Resolution
+ GetResolution(const char* theMeshName,
+ const char* thePartName);
+
+ virtual
+ void
+ SetResolution(const char* theMeshName,
+ const char* thePartName,
+ VISU::Result::Resolution theResolution);
+
+ virtual
+ void
+ UpdateObservers();