#include <QApplication>
#include <QDir>
+// #define DEB_GROUPS 1
+#ifdef DEB_GROUPS
+#include <HYDROData_EdgesGroup.h>
+#endif
+
static HYDROData_SequenceOfObjects myCopyingObjects;
HYDROGUI_DataModel::HYDROGUI_DataModel( CAM_Module* theModule )
Handle(HYDROData_DummyObject3D) anObject3D = aGeomObj->GetObject3D();
if ( !anObject3D.IsNull() )
createObject( aGuiObj, anObject3D, aGuiObj->entry(), false );
+
+#ifdef DEB_GROUPS
+ LightApp_DataObject* aGroupsSect =
+ createObject( aGuiObj, tr( "OBJECT_GROUPS" ), aGuiObj->entry() );
+
+ HYDROData_SequenceOfObjects anObjGroups = aGeomObj->GetGroups();
+ HYDROData_SequenceOfObjects::Iterator anIter( anObjGroups );
+ for ( ; anIter.More(); anIter.Next() )
+ {
+ Handle(HYDROData_EdgesGroup) anObjGroup =
+ Handle(HYDROData_EdgesGroup)::DownCast( anIter.Value() );
+ if( !anObjGroup.IsNull() && !anObjGroup->IsRemoved() )
+ createObject( aGroupsSect, anObjGroup, aGuiObj->entry(), false );
+ }
+#endif
}
ObjectKind anObjectKind = aDataObj->GetKind();
<source>ZONE_BATHYMETRY</source>
<translation>Bathymetry</translation>
</message>
+ <message>
+ <source>OBJECT_GROUPS</source>
+ <translation>Groups</translation>
+ </message>
<message>
<source>MERGE_UNKNOWN</source>
<translation>Unresolved Conflict</translation>