1 // Copyright (C) 2007-2016 CEA/DEN, EDF R&D, OPEN CASCADE
3 // Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
4 // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
6 // This library is free software; you can redistribute it and/or
7 // modify it under the terms of the GNU Lesser General Public
8 // License as published by the Free Software Foundation; either
9 // version 2.1 of the License, or (at your option) any later version.
11 // This library is distributed in the hope that it will be useful,
12 // but WITHOUT ANY WARRANTY; without even the implied warranty of
13 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 // Lesser General Public License for more details.
16 // You should have received a copy of the GNU Lesser General Public
17 // License along with this library; if not, write to the Free Software
18 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
20 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
23 // GEOM GEOMGUI : GUI for Geometry component
24 // File : DisplayGUI.cxx
25 // Author : Vadim SANDLER, Open CASCADE S.A.S. (vadim.sandler@opencascade.com)
27 #include "DisplayGUI.h"
28 #include <GeometryGUI.h>
29 #include "GeometryGUI_Operations.h"
30 #include <GEOM_Constants.h>
31 #include <GEOM_Displayer.h>
32 #include <GEOM_AISShape.hxx>
33 #include <GEOM_Actor.h>
35 #include <SUIT_Desktop.h>
36 #include <SUIT_ViewWindow.h>
37 #include <SUIT_OverrideCursor.h>
39 #include <OCCViewer_ViewManager.h>
40 #include <OCCViewer_ViewModel.h>
42 #include <SALOME_ListIO.hxx>
44 #include <SVTK_ViewWindow.h>
45 #include <SVTK_View.h>
46 #include <SVTK_ViewModel.h>
47 #include <SOCC_ViewModel.h>
51 #include <QtxActionMenuMgr.h>
53 #include <SalomeApp_Application.h>
54 #include <LightApp_SelectionMgr.h>
55 #include <SalomeApp_Study.h>
57 #include <AIS_ListIteratorOfListOfInteractive.hxx>
59 #include <vtkActorCollection.h>
60 #include <vtkRenderer.h>
64 //=======================================================================
65 // function : DisplayGUI::DisplayGUI()
66 // purpose : Constructor
67 //=======================================================================
68 DisplayGUI::DisplayGUI( GeometryGUI* parent ) : GEOMGUI( parent )
72 //=======================================================================
73 // function : DisplayGUI::~DisplayGUI()
74 // purpose : Destructor
75 //=======================================================================
76 DisplayGUI::~DisplayGUI()
81 //=======================================================================
82 // function : DisplayGUI::OnGUIEvent()
83 // purpose : Dispatch menu command
84 //=======================================================================
85 bool DisplayGUI::OnGUIEvent(int theCommandID, SUIT_Desktop* parent)
87 SalomeApp_Application* app = getGeometryGUI()->getApp();
88 if (!app) return false;
90 SalomeApp_Study* appStudy = dynamic_cast<SalomeApp_Study*>( app->activeStudy() );
91 if ( !appStudy ) return false;
93 LightApp_SelectionMgr *Sel = app->selectionMgr();
94 SALOME_ListIO selected;
95 Sel->selectedObjects( selected );
97 switch ( theCommandID ) {
98 case GEOMOp::OpDMWireframe: // MENU VIEW - DISPLAY MODE - WIREFRAME
101 case GEOMOp::OpDMShading: // MENU VIEW - DISPLAY MODE - SHADING
104 case GEOMOp::OpDMShadingWithEdges: // MENU VIEW - DISPLAY MODE - SHADING WITH EDGES
107 case GEOMOp::OpDMTexture: // MENU VIEW - DISPLAY MODE - TEXTURE
110 case GEOMOp::OpShowAll: // MENU VIEW - SHOW ALL
111 getGeometryGUI()->EmitSignalDeactivateDialog();
114 case GEOMOp::OpShowOnly: // POPUP MENU - SHOW ONLY
115 getGeometryGUI()->EmitSignalDeactivateDialog();
118 case GEOMOp::OpShowOnlyChildren: // POPUP MENU - SHOW ONLY CHILDREN
119 getGeometryGUI()->EmitSignalDeactivateDialog();
120 DisplayOnlyChildren();
122 case GEOMOp::OpHideAll: // MENU VIEW - HIDE ALL
125 case GEOMOp::OpHide: // POPUP MENU - HIDE
128 case GEOMOp::OpShow: // POPUP MENU - SHOW
129 getGeometryGUI()->EmitSignalDeactivateDialog();
132 case GEOMOp::OpSwitchVectors: // MENU VIEW - DISPLAY MODE - SHOW EDGE DIRECTION
133 SetVectorMode(!GetVectorMode());
134 getGeometryGUI()->action( GEOMOp::OpSwitchVectors )->setText
135 ( GetVectorMode() ? tr("MEN_VECTOR_MODE_ON") : tr( "MEN_VECTOR_MODE_OFF" ) );
136 getGeometryGUI()->menuMgr()->update();
138 case GEOMOp::OpSwitchVertices: // MENU VIEW - DISPLAY MODE - SHOW/HIDE VERTICES
139 SetVerticesMode(!GetVerticesMode());
140 getGeometryGUI()->action( GEOMOp::OpSwitchVertices )->setText
141 ( GetVerticesMode() ? tr("MEN_VERTICES_MODE_ON") : tr( "MEN_VERTICES_MODE_OFF" ) );
142 getGeometryGUI()->menuMgr()->update();
144 case GEOMOp::OpSwitchName: // MENU VIEW - DISPLAY MODE - SHOW/HIDE NAME
145 SetNameMode(!GetNameMode());
146 getGeometryGUI()->action( GEOMOp::OpSwitchName )->setText
147 ( GetNameMode() ? tr("MEN_NAME_MODE_ON") : tr( "MEN_NAME_MODE_OFF" ) );
148 getGeometryGUI()->menuMgr()->update();
150 case GEOMOp::OpWireframe: // POPUP MENU - DISPLAY MODE - WIREFRAME
151 ChangeDisplayMode( 0 );
153 case GEOMOp::OpShading: // POPUP MENU - DISPLAY MODE - SHADING
154 ChangeDisplayMode( 1 );
156 case GEOMOp::OpShadingWithEdges: // POPUP MENU - DISPLAY MODE - SHADING WITH EDGES
157 ChangeDisplayMode( 2 );
159 case GEOMOp::OpTexture: // POPUP MENU - DISPLAY MODE - TEXTURE
160 ChangeDisplayMode( 3 );
162 case GEOMOp::OpVectors: // POPUP MENU - DISPLAY MODE - SHOW EDGE DIRECTION
163 ChangeDisplayMode( 4 );
165 case GEOMOp::OpVertices: // POPUP MENU - DISPLAY MODE - SHOW VERTICES
166 ChangeDisplayMode( 5 );
168 case GEOMOp::OpShowName: // POPUP MENU - DISPLAY MODE - SHOW NAME
169 ChangeDisplayMode( 6 );
172 app->putInfo(tr("GEOM_PRP_COMMAND").arg(theCommandID));
175 Sel->setSelectedObjects( selected );
176 GEOM_Displayer( appStudy ).UpdateColorScale();
180 //=====================================================================================
181 // function : DisplayGUI::DisplayAll()
182 // purpose : Display all GEOM objects
183 //=====================================================================================
184 void DisplayGUI::DisplayAll()
186 SalomeApp_Application* app = getGeometryGUI()->getApp();
189 SalomeApp_Study* appStudy = dynamic_cast<SalomeApp_Study*>( app->activeStudy() );
190 if ( !appStudy ) return;
191 _PTR(Study) aStudy = appStudy->studyDS();
192 if ( !aStudy ) return;
193 _PTR(SComponent) SC ( aStudy->FindComponent( "GEOM" ) );
197 SALOME_ListIO listIO;
198 _PTR(ChildIterator) anIter ( aStudy->NewChildIterator( SC ) );
199 anIter->InitEx( true );
201 SUIT_OverrideCursor wc;
203 while( anIter->More() ) {
204 _PTR(SObject) valSO ( anIter->Value() );
206 if ( !valSO->ReferencedObject( refSO ) ) {
207 listIO.Append( new SALOME_InteractiveObject(valSO->GetID().c_str(),
208 SC->ComponentDataType().c_str(),
209 valSO->GetName().c_str()) );
213 GEOM_Displayer( appStudy ).Display( listIO, true );
216 //=====================================================================================
217 // function : DisplayGUI::EraseAll()
218 // purpose : Erase all GEOM objects
219 //=====================================================================================
220 void DisplayGUI::EraseAll()
222 SUIT_OverrideCursor wc;
224 SUIT_Application* app = getGeometryGUI()->getApp();
226 SUIT_ViewWindow* vw = app->desktop()->activeWindow();
228 SalomeApp_Study* appStudy = dynamic_cast<SalomeApp_Study*>( app->activeStudy() );
229 SUIT_ViewManager* vman = vw->getViewManager();
230 if ( vman->getType() == OCCViewer_Viewer::Type() ||
231 vman->getType() == SVTK_Viewer::Type() ) {
232 GEOM_Displayer( appStudy ).EraseAll(true);
238 //=====================================================================================
239 // function : DisplayGUI::DisplayOnly()
240 // purpose : Display selected GEOM objects and erase other
241 //=====================================================================================
242 void DisplayGUI::DisplayOnly()
248 //=====================================================================================
249 // function : DisplayGUI::DisplayOnlyChildren()
250 // purpose : Display only children of selected GEOM objects and erase other
251 //=====================================================================================
252 void DisplayGUI::DisplayOnlyChildren()
256 SALOME_ListIO listIO;
258 SalomeApp_Application* app = getGeometryGUI()->getApp();
261 SalomeApp_Study* anActiveStudy = dynamic_cast<SalomeApp_Study*>(app->activeStudy());
262 if (!anActiveStudy) return;
264 LightApp_SelectionMgr* aSelMgr = app->selectionMgr();
265 if (!aSelMgr) return;
269 //aSelMgr->selectedObjects(aList);
270 aSelMgr->selectedObjects(aList, "ObjectBrowser", false);
271 SALOME_ListIteratorOfListIO It (aList);
273 SUIT_OverrideCursor wc;
275 for (; It.More(); It.Next()) {
276 Handle(SALOME_InteractiveObject) anIObject = It.Value();
277 if (anIObject->hasEntry()) {
278 _PTR(SObject) SO (anActiveStudy->studyDS()->FindObjectID(anIObject->getEntry()));
280 _PTR(SComponent) SC (SO->GetFatherComponent());
281 if (QString(SO->GetID().c_str()) == QString(SO->GetFatherComponent()->GetID().c_str())) {
282 // if component is selected, pass it
285 _PTR(ChildIterator) anIter (anActiveStudy->studyDS()->NewChildIterator(SO));
286 anIter->InitEx(true);
287 while (anIter->More()) {
288 _PTR(SObject) valSO (anIter->Value());
290 if (!valSO->ReferencedObject(refSO)) {
291 listIO.Append(new SALOME_InteractiveObject(valSO->GetID().c_str(),
292 SC->ComponentDataType().c_str(),
293 valSO->GetName().c_str()));
301 GEOM_Displayer(anActiveStudy).Display(listIO, true);
304 //=====================================================================================
305 // function : DisplayGUI::Display()
306 // purpose : Display selected GEOM objects
307 //=====================================================================================
308 void DisplayGUI::Display()
310 SALOME_ListIO listIO;
312 SalomeApp_Application* app = getGeometryGUI()->getApp();
315 SalomeApp_Study* anActiveStudy = dynamic_cast<SalomeApp_Study*>( app->activeStudy() );
316 if ( !anActiveStudy ) return;
318 //get SalomeApp selection manager
319 LightApp_SelectionMgr* aSelMgr = app->selectionMgr();
320 if ( !aSelMgr ) return;
323 aSelMgr->selectedObjects( aList );
324 SALOME_ListIteratorOfListIO It( aList );
326 SUIT_OverrideCursor wc;
328 for( ;It.More();It.Next() ) {
329 Handle(SALOME_InteractiveObject) anIObject = It.Value();
330 if ( anIObject->hasEntry() ) {
331 _PTR(SObject) SO ( anActiveStudy->studyDS()->FindObjectID( anIObject->getEntry() ) );
332 if ( SO && QString(SO->GetID().c_str()) == QString(SO->GetFatherComponent()->GetID().c_str()) ) {
333 _PTR(SComponent) SC ( SO->GetFatherComponent() );
334 // if component is selected
336 _PTR(ChildIterator) anIter ( anActiveStudy->studyDS()->NewChildIterator( SO ) );
337 anIter->InitEx( true );
338 while( anIter->More() ) {
339 _PTR(SObject) valSO ( anIter->Value() );
341 if ( !valSO->ReferencedObject( refSO ) ) {
342 listIO.Append( new SALOME_InteractiveObject(valSO->GetID().c_str(),
343 SC->ComponentDataType().c_str(),
344 valSO->GetName().c_str()) );
351 listIO.Append( anIObject );
355 listIO.Append( anIObject );
358 GEOM_Displayer( anActiveStudy ).Display( listIO, true );
362 //=====================================================================================
363 // function : DisplayGUI::Erase()
364 // purpose : Erase selected GEOM objects
365 //=====================================================================================
366 void DisplayGUI::Erase()
368 SALOME_ListIO listIO;
370 SalomeApp_Application* app = getGeometryGUI()->getApp();
373 SalomeApp_Study* anActiveStudy = dynamic_cast<SalomeApp_Study*>( app->activeStudy() );
374 if ( !anActiveStudy ) return;
376 //get SalomeApp selection manager
377 LightApp_SelectionMgr* aSelMgr = app->selectionMgr();
378 if ( !aSelMgr ) return;
381 aSelMgr->selectedObjects( aList );
382 SALOME_ListIteratorOfListIO It( aList );
384 SUIT_OverrideCursor wc;
386 for( ; It.More(); It.Next() ) {
387 Handle(SALOME_InteractiveObject) anIObject = It.Value();
388 if ( anIObject->hasEntry() ) {
389 _PTR(SObject) SO ( anActiveStudy->studyDS()->FindObjectID( anIObject->getEntry() ) );
390 if ( SO && QString(SO->GetID().c_str()) == QString(SO->GetFatherComponent()->GetID().c_str()) ) {
391 _PTR(SComponent) SC ( SO->GetFatherComponent() );
392 // if component is selected
394 _PTR(ChildIterator) anIter ( anActiveStudy->studyDS()->NewChildIterator( SO ) );
395 anIter->InitEx( true );
396 while( anIter->More() ) {
397 _PTR(SObject) valSO ( anIter->Value() );
399 if ( !valSO->ReferencedObject( refSO ) ) {
400 listIO.Append( new SALOME_InteractiveObject(valSO->GetID().c_str(),
401 SC->ComponentDataType().c_str(),
402 valSO->GetName().c_str()) );
409 listIO.Append( anIObject );
413 listIO.Append( anIObject );
417 SUIT_ViewWindow* viewWindow = app->desktop()->activeWindow();
418 bool aIsForced = true;
419 if(viewWindow->getViewManager()->getType() == SVTK_Viewer::Type())
422 GEOM_Displayer(anActiveStudy).Erase( listIO, aIsForced);
423 getGeometryGUI()->getApp()->selectionMgr()->clearSelected();
426 //=====================================================================================
427 // function : DisplayGUI::SetDisplayMode()
428 // purpose : Set display mode for the viewer (current viewer if <viewWindow> - 0 )
429 //=====================================================================================
430 void DisplayGUI::SetDisplayMode( const int mode, SUIT_ViewWindow* viewWindow )
432 SUIT_OverrideCursor wc;
434 SalomeApp_Application* app = getGeometryGUI()->getApp();
438 viewWindow = app->desktop()->activeWindow();
440 SalomeApp_Study* aStudy = dynamic_cast< SalomeApp_Study* >( app->activeStudy() );
441 if ( !aStudy ) return;
443 GEOM_Displayer displayer( aStudy );
445 int mgrId = viewWindow->getViewManager()->getGlobalId();
447 SALOME_View* window = displayer.GetActiveView();
448 if ( !window ) return;
450 SALOME_ListIO anIOlst;
451 window->GetVisible( anIOlst );
453 for ( SALOME_ListIteratorOfListIO It( anIOlst ); It.More(); It.Next() ) {
454 Handle( SALOME_InteractiveObject ) io = It.Value();
455 aStudy->setObjectProperty( mgrId, io->getEntry(), GEOM::propertyName( GEOM::DisplayMode ), mode );
456 displayer.Redisplay( io, false );
458 displayer.UpdateViewer();
459 GeometryGUI::Modified();
462 //=====================================================================================
463 // function : DisplayGUI::SetVectorsMode()
464 // purpose : Set vector mode for the viewer
465 //=====================================================================================
466 void DisplayGUI::SetVectorMode( const bool mode, SUIT_ViewWindow* viewWindow )
468 SUIT_OverrideCursor wc;
470 SalomeApp_Application* app = getGeometryGUI()->getApp();
473 SalomeApp_Study* aStudy = dynamic_cast< SalomeApp_Study* >( app->activeStudy() );
474 if ( !aStudy ) return;
477 viewWindow = app->desktop()->activeWindow();
479 GEOM_Displayer displayer( aStudy );
481 viewWindow->setProperty( "VectorsMode", mode );
483 int aMgrId = viewWindow->getViewManager()->getGlobalId();
485 SALOME_View* window = displayer.GetActiveView();
486 if ( !window ) return;
488 SALOME_ListIO anIOlst;
489 window->GetVisible( anIOlst );
491 for ( SALOME_ListIteratorOfListIO It( anIOlst ); It.More(); It.Next() ) {
492 Handle( SALOME_InteractiveObject ) io = It.Value();
493 aStudy->setObjectProperty( aMgrId, io->getEntry(), GEOM::propertyName( GEOM::EdgesDirection ), mode );
494 displayer.Redisplay( io, false );
496 displayer.UpdateViewer();
497 GeometryGUI::Modified();
500 //=====================================================================================
501 // function : DisplayGUI::GetVectorMode()
502 // purpose : Get the "show edge direction" mode of the viewer
503 //=====================================================================================
504 int DisplayGUI::GetVectorMode( SUIT_ViewWindow* viewWindow )
507 viewWindow = getGeometryGUI()->getApp()->desktop()->activeWindow();
508 return viewWindow->property( "VectorsMode" ).toBool();
511 //=====================================================================================
512 // function : DisplayGUI::SetVerticesMode()
513 // purpose : Set vertices mode for the viewer
514 //=====================================================================================
515 void DisplayGUI::SetVerticesMode( const bool mode, SUIT_ViewWindow* viewWindow )
517 SUIT_OverrideCursor wc;
519 SalomeApp_Application* app = getGeometryGUI()->getApp();
522 SalomeApp_Study* aStudy = dynamic_cast< SalomeApp_Study* >( app->activeStudy() );
523 if ( !aStudy ) return;
526 viewWindow = app->desktop()->activeWindow();
528 GEOM_Displayer displayer( aStudy );
530 viewWindow->setProperty( "VerticesMode", mode );
532 int aMgrId = viewWindow->getViewManager()->getGlobalId();
534 SALOME_View* window = displayer.GetActiveView();
535 if ( !window ) return;
537 SALOME_ListIO anIOlst;
538 window->GetVisible( anIOlst );
540 for ( SALOME_ListIteratorOfListIO It( anIOlst ); It.More(); It.Next() ) {
541 Handle( SALOME_InteractiveObject ) io = It.Value();
542 aStudy->setObjectProperty( aMgrId, io->getEntry(), GEOM::propertyName( GEOM::Vertices ), mode );
543 displayer.Redisplay( io, false );
545 displayer.UpdateViewer();
546 GeometryGUI::Modified();
549 //=====================================================================================
550 // function : DisplayGUI::GetVerticesMode()
551 // purpose : Get the "show vertices" mode of the viewer
552 //=====================================================================================
553 int DisplayGUI::GetVerticesMode( SUIT_ViewWindow* viewWindow )
556 viewWindow = getGeometryGUI()->getApp()->desktop()->activeWindow();
557 return viewWindow->property( "VerticesMode" ).toBool();
560 //=====================================================================================
561 // function : DisplayGUI::SetNameMode()
562 // purpose : Set name mode for the viewer
563 //=====================================================================================
564 void DisplayGUI::SetNameMode( const bool mode, SUIT_ViewWindow* viewWindow )
566 SUIT_OverrideCursor();
568 SalomeApp_Application* app = getGeometryGUI()->getApp();
571 SalomeApp_Study* aStudy = dynamic_cast< SalomeApp_Study* >( app->activeStudy() );
572 if ( !aStudy ) return;
575 viewWindow = app->desktop()->activeWindow();
577 viewWindow->setProperty( "NameMode", mode );
579 GEOM_Displayer displayer( aStudy );
581 int aMgrId = viewWindow->getViewManager()->getGlobalId();
583 SALOME_View* window = displayer.GetActiveView();
584 if ( !window ) return;
586 SALOME_ListIO anIOlst;
587 window->GetVisible( anIOlst );
589 for ( SALOME_ListIteratorOfListIO It( anIOlst ); It.More(); It.Next() ) {
590 Handle( SALOME_InteractiveObject ) io = It.Value();
591 aStudy->setObjectProperty( aMgrId, io->getEntry(), GEOM::propertyName( GEOM::ShowName ), mode );
592 displayer.Redisplay( io, false );
594 displayer.UpdateViewer();
595 GeometryGUI::Modified();
598 //=====================================================================================
599 // function : DisplayGUI::GetNameMode()
600 // purpose : Get the "show name" mode of the viewer
601 //=====================================================================================
602 int DisplayGUI::GetNameMode( SUIT_ViewWindow* viewWindow )
605 viewWindow = getGeometryGUI()->getApp()->desktop()->activeWindow();
606 return viewWindow->property( "NameMode" ).toBool();
609 //=====================================================================================
610 // function : DisplayGUI::ChangeDisplayMode()
611 // purpose : Set display mode for selected objects in the viewer given
612 // (current viewer if <viewWindow> = 0 )
613 //=====================================================================================
614 void DisplayGUI::ChangeDisplayMode( const int mode, SUIT_ViewWindow* viewWindow )
616 SalomeApp_Application* app = getGeometryGUI()->getApp();
620 viewWindow = app->desktop()->activeWindow();
622 LightApp_SelectionMgr* aSelMgr = app->selectionMgr();
623 if ( !aSelMgr ) return;
625 SalomeApp_Study* aStudy = dynamic_cast< SalomeApp_Study* >( app->activeStudy() );
626 if ( !aStudy ) return;
628 SUIT_OverrideCursor wc;
630 SALOME_ListIO selected;
631 aSelMgr->selectedObjects( selected );
632 if ( selected.IsEmpty() ) return;
634 GEOM_Displayer displayer( aStudy );
636 int mgrId = viewWindow->getViewManager()->getGlobalId();
638 QVariant v = aStudy->getObjectProperty( mgrId, selected.First()->getEntry(), GEOM::propertyName( GEOM::EdgesDirection ), QVariant() );
639 bool vectorMode = v.isValid() ? !v.toBool() : false;
640 v = aStudy->getObjectProperty( mgrId, selected.First()->getEntry(), GEOM::propertyName( GEOM::Vertices ), QVariant() );
641 bool verticesMode = v.isValid() ? !v.toBool() : false;
642 v = aStudy->getObjectProperty( mgrId, selected.First()->getEntry(), GEOM::propertyName( GEOM::ShowName ), QVariant() );
643 bool nameMode = v.isValid() ? !v.toBool() : false;
645 for ( SALOME_ListIteratorOfListIO It( selected ); It.More(); It.Next() ) {
646 Handle( SALOME_InteractiveObject ) io = It.Value();
647 if ( mode == 0 || mode == 1 || mode == 2 || mode == 3 ) {
648 aStudy->setObjectProperty( mgrId, io->getEntry(), GEOM::propertyName( GEOM::DisplayMode ), mode );
650 else if ( mode == 4 ) {
651 aStudy->setObjectProperty( mgrId, io->getEntry(), GEOM::propertyName( GEOM::EdgesDirection ), vectorMode );
653 else if ( mode == 5 ) {
654 aStudy->setObjectProperty( mgrId, io->getEntry(), GEOM::propertyName( GEOM::Vertices ), verticesMode );
656 else if ( mode == 6 ) {
657 aStudy->setObjectProperty( mgrId, io->getEntry(), GEOM::propertyName( GEOM::ShowName ), nameMode );
659 displayer.Redisplay( io, false );
661 displayer.UpdateViewer();
662 GeometryGUI::Modified();
665 //=====================================================================================
667 //=====================================================================================
671 __declspec( dllexport )
673 GEOMGUI* GetLibGUI( GeometryGUI* parent )
675 return new DisplayGUI( parent );