CMS 3D CMS Logo

Ig3DWindow Class Reference

#include <Iguana/GLBrowsers/interface/Ig3DWindow.h>

Inheritance diagram for Ig3DWindow:

Ig3DBaseWindow IgView IgBrowser

List of all members.

Public Slots

void printViews (void)

Public Member Functions

virtual void focusIn (void)
virtual void focusOut (void)
 Ig3DWindow (IgPage *page)
virtual void initCategories (void)
virtual void initMenu (void)
virtual void initToolBar (void)
 ~Ig3DWindow (void)

Private Slots

void cameraToggled (void)
void repClip (void)
void repSlice (void)
void showAnims (void)
void showClips (void)
void showGrids (void)
void showLights (void)
void showNodeManip (void)
void showSlicers (void)
void showViewpoints (void)

Private Member Functions

void repMenu (IgQtObjectMenuMessage message)

Private Attributes

Ig3DAnimsCategorym_animsCategory
Ig3DClipsCategorym_clipsCategory
Ig3DGridCategorym_gridCategory
Ig3DLightsCategorym_lightsCategory
IgSoMaterialCategory * m_materialsCategory
Ig3DNodeCategorym_nodeCategory
Ig3DSlicersCategorym_slicersCategory
Ig3DViewpointsCategorym_viewpointsCategory


Detailed Description

Definition at line 31 of file Ig3DWindow.h.


Constructor & Destructor Documentation

Ig3DWindow::Ig3DWindow ( IgPage page  ) 

Definition at line 57 of file Ig3DWindow.cc.

References b, IgQtSiteStack::hostWithName(), initCategories(), initMenu(), initToolBar(), Ig3DBaseWindow::model(), IgView::setTitle(), Ig3DBaseWindow::show(), Ig3DBaseWindow::state(), t, Ig3DBaseWindow::watchBrowser(), and IgPage::workspace().

00058     : Ig3DBaseWindow (page),
00059       m_slicersCategory (0),
00060       m_clipsCategory (0),
00061       m_lightsCategory (0),
00062       m_materialsCategory (0),
00063       m_animsCategory (0),
00064       m_viewpointsCategory (0),
00065       m_nodeCategory (0),
00066           m_gridCategory (0)
00067 {
00068     static int lastWindowNumber = 0;
00069     QString t = "3D Window #" + QString::number (lastWindowNumber++);
00070     setTitle (t.ascii ());
00071 
00072     Ig3DBrowser *b = new Ig3DBrowser (state (), 
00073                                       page->workspace ()->hostWithName (t), 
00074                                       dynamic_cast<Ig3DModel *> (model ()));
00075 
00076     watchBrowser (b);
00077 
00078     // Show myself and show all the document data (FIXME: select?).    
00079     initCategories ();
00080     // Make sure that this is called AFTER we set up a browser for this window.
00081     initMenu ();    
00082     initToolBar ();
00083 
00084     show ();
00085 }

Ig3DWindow::~Ig3DWindow ( void   ) 

Definition at line 87 of file Ig3DWindow.cc.

00088 {
00089 }


Member Function Documentation

void Ig3DWindow::cameraToggled ( void   )  [private, slot]

Definition at line 269 of file Ig3DWindow.cc.

References Ig3DBaseWindow::browser(), DBSPlugin::get(), IgQtAppToolBarService::getToolBarButton(), orthogonalButtonCallback(), Ig3DBaseWindow::state(), Ig3DBaseWindow::TOOLBAR_ID_3D2D, and Ig3DBaseWindow::TOOLBAR_ID_3D2D_ORTHO.

Referenced by initToolBar().

void Ig3DWindow::focusIn ( void   )  [virtual]

Reimplemented from Ig3DBaseWindow.

Definition at line 218 of file Ig3DWindow.cc.

References ASSERT, lat::CreateCallback(), Ig3DBaseWindow::focusIn(), DBSPlugin::get(), repMenu(), and Ig3DBaseWindow::state().

00219 {
00220     Ig3DBaseWindow::focusIn ();
00221     
00222     ASSERT (IgQtObjectMenuService::get (state ()));
00223     IgQtObjectMenuService::get (state ())
00224         ->add (lat::CreateCallback (this, &Ig3DWindow::repMenu));
00225 }

void Ig3DWindow::focusOut ( void   )  [virtual]

Reimplemented from Ig3DBaseWindow.

Definition at line 228 of file Ig3DWindow.cc.

References ASSERT, lat::CreateCallback(), Ig3DBaseWindow::focusOut(), DBSPlugin::get(), repMenu(), and Ig3DBaseWindow::state().

00229 {
00230     Ig3DBaseWindow::focusOut ();
00231 
00232     ASSERT (IgQtObjectMenuService::get (state ()));
00233     IgQtObjectMenuService::get (state ())
00234         ->remove (lat::CreateCallback (this, &Ig3DWindow::repMenu));
00235 }

void Ig3DWindow::initCategories ( void   )  [virtual]

Reimplemented from Ig3DBaseWindow.

Definition at line 92 of file Ig3DWindow.cc.

References Ig3DBaseWindow::browser(), DBSPlugin::get(), Ig3DBaseWindow::initCategories(), m_animsCategory, m_clipsCategory, m_gridCategory, m_lightsCategory, m_nodeCategory, m_slicersCategory, m_viewpointsCategory, IgView::page(), Ig3DNodeCategory::registerBrowser(), Ig3DClipsCategory::registerBrowser(), Ig3DSlicersCategory::registerBrowser(), Ig3DViewpointsCategory::registerBrowser(), Ig3DAnimsCategory::registerBrowser(), Ig3DLightsCategory::registerBrowser(), Ig3DGridCategory::registerBrowser(), and Ig3DBaseWindow::state().

Referenced by Ig3DWindow().

00093 {
00094     Ig3DBaseWindow::initCategories ();
00095     
00096     //Create a Lights Category and add it in control centre
00097     m_lightsCategory = Ig3DLightsCategory::get (page ()->state ());
00098     if (!m_lightsCategory)
00099     {
00100         m_lightsCategory = new Ig3DLightsCategory (page ()->state ());
00101     }    
00102     
00103     //Create a Slicer Category and add it in control centre
00104     m_slicersCategory = Ig3DSlicersCategory::get (page ()->state ());
00105     if (!m_slicersCategory)
00106     {
00107         m_slicersCategory = new Ig3DSlicersCategory (page ()->state (),
00108                                                      browser ());
00109     }
00110 
00111     //Create the Clipplane category and add it in control centre
00112     m_clipsCategory = Ig3DClipsCategory::get (page ()->state ());
00113     if (!m_clipsCategory)
00114     {
00115         m_clipsCategory = new Ig3DClipsCategory (page ()->state (),
00116                                                  browser ());
00117     }  
00118         
00119     //Create the Animator category and add it in control centre
00120 
00121     m_animsCategory = Ig3DAnimsCategory::get (page ()->state ());
00122     if (!m_animsCategory)
00123     {
00124         m_animsCategory = new Ig3DAnimsCategory (page ()->state (),
00125                                                  browser ());
00126     }
00127     
00128     // Create the View Points category and add it in control centre
00129     m_viewpointsCategory = Ig3DViewpointsCategory::get (page ()->state ());
00130     if (!m_viewpointsCategory)
00131     {
00132         m_viewpointsCategory = new Ig3DViewpointsCategory(page ()->state (),
00133                                                           dynamic_cast<Ig3DBrowser *> (browser ()));
00134     }
00135 
00136     // Create the category to control shapes
00137     m_nodeCategory = Ig3DNodeCategory::get (page ()->state ());
00138     if (!m_nodeCategory)
00139     {
00140         m_nodeCategory = new Ig3DNodeCategory(page ()->state (), browser ());
00141     }
00142         
00143         //Create the Grid plane category and add it in control centre
00144     m_gridCategory = Ig3DGridCategory::get (page ()->state ());
00145     if (!m_gridCategory)
00146     {
00147         m_gridCategory = new Ig3DGridCategory (page ()->state (),
00148                                                  browser ());
00149     } 
00150 
00151     m_lightsCategory->registerBrowser (state (), browser ());
00152     m_slicersCategory->registerBrowser (state (), browser ());
00153     m_clipsCategory->registerBrowser (state (), browser ());
00154     m_animsCategory->registerBrowser (state (), browser ());
00155     m_viewpointsCategory->registerBrowser (state (), browser ());
00156     m_nodeCategory->registerBrowser (state (), browser ());
00157         m_gridCategory->registerBrowser (state (), browser ());
00158 }

void Ig3DWindow::initMenu ( void   )  [virtual]

Reimplemented from Ig3DBaseWindow.

Definition at line 161 of file Ig3DWindow.cc.

References ASSERT, DBSPlugin::get(), IgQtAppMenuService::index(), Ig3DBaseWindow::initMenu(), IgQtAppMenuService::isIdThere(), Ig3DBaseBrowser::MENU_ID_3D, Ig3DBaseBrowser::MENU_ID_3D_ANIMS, Ig3DBaseBrowser::MENU_ID_3D_CLIPS, Ig3DBaseBrowser::MENU_ID_3D_GRIDS, Ig3DBaseBrowser::MENU_ID_3D_LIGHTS, Ig3DBaseBrowser::MENU_ID_3D_NODEMANIP, Ig3DBaseBrowser::MENU_ID_3D_VIEWPOINTS, Ig3DBaseBrowser::MENU_ID_3D_Z_SLICE, showAnims(), showClips(), showGrids(), showLights(), showNodeManip(), showSlicers(), showViewpoints(), and Ig3DBaseWindow::state().

Referenced by Ig3DWindow().

00162 {
00163     // NB: We need to make sure that the popup menu is already there.
00164     // This is done by calling the base class method.
00165     Ig3DBaseWindow::initMenu ();
00166     
00167     ASSERT (IgQtAppMenuService::get (state ()));
00168 
00169     // Get the menu as it has already been initialised in the
00170     // baseClass.
00171     QPopupMenu *menu = IgQtAppMenuService::get (state ())->
00172                        subMenu (Ig3DBaseBrowser::MENU_ID_3D);
00173 
00174     // Submenus. First we check if the first item of the submenu is
00175     // already there, if it is, we don't create any item, as we as
00176     // assume that all of them are already there. Viceversa, we create
00177     // all of them if the first one is not found.
00178     if (IgQtAppMenuService::isIdThere (menu, Ig3DBaseBrowser::MENU_ID_3D_Z_SLICE) == -1)
00179     {
00180         menu->insertItem
00181             ("&Slicers...", this, SLOT (showSlicers ()), 0,
00182              Ig3DBaseBrowser::MENU_ID_3D_Z_SLICE, IgQtAppMenuService::index
00183              (menu, Ig3DBaseBrowser::MENU_ID_3D_Z_SLICE));
00184 
00185         menu->insertItem
00186             ("&Clips...", this, SLOT (showClips ()), 0,
00187              Ig3DBaseBrowser::MENU_ID_3D_CLIPS, IgQtAppMenuService::index
00188              (menu, Ig3DBaseBrowser::MENU_ID_3D_CLIPS));
00189 
00190         menu->insertItem
00191             ("&Lights...", this, SLOT (showLights ()), 0,
00192              Ig3DBaseBrowser::MENU_ID_3D_LIGHTS, IgQtAppMenuService::index
00193              (menu, Ig3DBaseBrowser::MENU_ID_3D_LIGHTS));
00194 
00195         menu->insertItem
00196             ("&Animations...", this, SLOT (showAnims ()), 0,
00197              Ig3DBaseBrowser::MENU_ID_3D_ANIMS, IgQtAppMenuService::index
00198              (menu, Ig3DBaseBrowser::MENU_ID_3D_ANIMS));
00199 
00200         menu->insertItem
00201             ("&Viewpoints...", this, SLOT (showViewpoints ()), 0,
00202              Ig3DBaseBrowser::MENU_ID_3D_VIEWPOINTS, IgQtAppMenuService::index
00203              (menu, Ig3DBaseBrowser::MENU_ID_3D_VIEWPOINTS));
00204         
00205         menu->insertItem
00206             ("&Node Manipulator...", this, SLOT (showNodeManip ()), 0,
00207              Ig3DBaseBrowser::MENU_ID_3D_NODEMANIP, IgQtAppMenuService::index
00208              (menu, Ig3DBaseBrowser::MENU_ID_3D_NODEMANIP));    
00209         
00210         menu->insertItem
00211             ("&Grids...", this, SLOT (showGrids ()), 0,
00212              Ig3DBaseBrowser::MENU_ID_3D_GRIDS, IgQtAppMenuService::index
00213              (menu, Ig3DBaseBrowser::MENU_ID_3D_GRIDS));
00214     }
00215 }

void Ig3DWindow::initToolBar ( void   )  [virtual]

Reimplemented from Ig3DBaseWindow.

Definition at line 279 of file Ig3DWindow.cc.

References reco::fitHelper::add(), IgQtAppContextService::addOnFocusIn(), IgQtAppContextService::addOnFocusOut(), ASSERT, Ig3DBaseWindow::browser(), cameraToggled(), HLT_VtxMuL3::connect, lat::CreateCallback(), feedbackButtonCallback(), DBSPlugin::get(), gridButtonCallback(), IgImageIDs::IMAGE_ID_GRID, IgImageIDs::IMAGE_ID_INVERSE, IgImageIDs::IMAGE_ID_ORTHO, IgImageIDs::IMAGE_ID_PERSPECTIVE, IgImageIDs::IMAGE_ID_PRINT_DEFAULT_VIEWS, IgImageIDs::IMAGE_ID_YX_SMALL_COL, Ig3DBaseWindow::initToolBar(), edm::Normal, orthogonalButtonCallback(), IgQtAppImageService::pixmapById(), printViews(), qtSetOff(), Ig3DBaseWindow::state(), Ig3DBaseWindow::TOOLBAR_ID_3D2D, Ig3DBaseWindow::TOOLBAR_ID_3D2D_GRID, Ig3DBaseWindow::TOOLBAR_ID_3D2D_INVERT, Ig3DBaseWindow::TOOLBAR_ID_3D2D_ORTHO, Ig3DBaseWindow::TOOLBAR_ID_3D2D_PRINT_DEFAULT_VIEWS, Ig3DBaseWindow::TOOLBAR_ID_3D2D_SHOW_AXIS, and IgQtAppToolBarService::toolBarButton().

Referenced by Ig3DWindow().

00280 {
00281     Ig3DBaseWindow::initToolBar ();
00282     // This creates a toolbar with the general widgets.
00283     IgQtAppToolBarService *toolBarService = IgQtAppToolBarService::get (state ());
00284     IgQtAppImageService *is = IgQtAppImageService::get (state ());
00285     IgQtAppContextService *cs = IgQtAppContextService::get (state ());
00286 
00287     ASSERT (is);
00288 
00289     QToolButton *button = 0;
00290     
00291     button = toolBarService->toolBarButton (state (),
00292                                             Ig3DBaseWindow::TOOLBAR_ID_3D2D,
00293                                             Ig3DBaseWindow::TOOLBAR_ID_3D2D_GRID, 
00294                                             *is->pixmapById (IgImageIDs::IMAGE_ID_GRID),
00295                                             "Show/Hide Grid",
00296                                             browser (),
00297                                             SLOT (setGridVisibility (bool)),
00298                                             SIGNAL (toggled (bool)));
00299     button->setToggleButton (true); 
00300     QWhatsThis::add (button, "Enable/disable the grid ont he scene graph.");
00301     cs->addOnFocusIn (lat::CreateCallback (&gridButtonCallback, 
00302                                            browser (),
00303                                            button));
00304     cs->addOnFocusOut (lat::CreateCallback (&qtSetOff,
00305                                             button));
00306 
00307     button = toolBarService->toolBarButton (state (),
00308                                             Ig3DBaseWindow::TOOLBAR_ID_3D2D,
00309                                             Ig3DBaseWindow::TOOLBAR_ID_3D2D_SHOW_AXIS,
00310                                             *is->pixmapById (IgImageIDs::IMAGE_ID_YX_SMALL_COL), 
00311                                             "Show/Hide Axis",
00312                                             browser (),
00313                                             SLOT (setFeedbackVisibility (bool)),
00314                                             SIGNAL (toggled (bool)));
00315     button->setToggleButton (true);    
00316     QWhatsThis::add (button, "Show/Hide the axis on the 3D scene.");
00317     cs->addOnFocusIn (lat::CreateCallback (&feedbackButtonCallback, 
00318                                            browser (),
00319                                            button));
00320     cs->addOnFocusOut (lat::CreateCallback (&qtSetOff,
00321                                             button));
00322 
00323     button = toolBarService->toolBarButton (state (),
00324                                             Ig3DBaseWindow::TOOLBAR_ID_3D2D,
00325                                             Ig3DBaseWindow::TOOLBAR_ID_3D2D_INVERT, 
00326                                             *is->pixmapById (IgImageIDs::IMAGE_ID_INVERSE),
00327                                             "Invert normals",
00328                                             browser (),
00329                                             SLOT (invertCamera ()));
00330     QWhatsThis::add (button, "Invert the camera orientation and "
00331                      "position through the origin.");
00332 
00333     // FIXME: this needs to be a togglable button. Create a service
00334     // for doing so.
00335     QIconSet iconSet(*is->pixmapById (IgImageIDs::IMAGE_ID_PERSPECTIVE));
00336     iconSet.setPixmap (*is->pixmapById (IgImageIDs::IMAGE_ID_ORTHO), QIconSet::Automatic,
00337                        QIconSet::Normal, QIconSet::On);
00338 
00339     button = toolBarService->toolBarButton (state (),
00340                                             Ig3DBaseWindow::TOOLBAR_ID_3D2D,
00341                                             Ig3DBaseWindow::TOOLBAR_ID_3D2D_ORTHO, 
00342                                             iconSet,
00343                                             "Change projection",
00344                                             browser (),
00345                                             SLOT (toggleCameraType ()));
00346 
00347     button->setToggleButton (true);
00348     QWhatsThis::add (button, "Set the camera projection by toggling "
00349                      "between the perspective and "
00350                      "orthographic modes.");
00351     cs->addOnFocusIn (lat::CreateCallback (&orthogonalButtonCallback, 
00352                                            browser (), 
00353                                            button));
00354     cs->addOnFocusOut (lat::CreateCallback (&qtSetOff,
00355                                             button));
00356     connect (browser (), SIGNAL (cameraToggled (void)),
00357              this,       SLOT   (cameraToggled (void)));
00358     
00359     button = toolBarService->toolBarButton (state (),
00360                                             Ig3DBaseWindow::TOOLBAR_ID_3D2D,
00361                                             Ig3DBaseWindow::TOOLBAR_ID_3D2D_PRINT_DEFAULT_VIEWS,
00362                                             *is->pixmapById (IgImageIDs::IMAGE_ID_PRINT_DEFAULT_VIEWS),
00363                                             "Print the default views",
00364                                             this,
00365                                             SLOT (printViews ()));
00366     QWhatsThis::add (button, "Print the default views.");
00367 }

void Ig3DWindow::printViews ( void   )  [slot]

Definition at line 460 of file Ig3DWindow.cc.

References ASSERT, Ig3DBaseWindow::browser(), Ig3DBaseModel::encode(), EgammaValidation_cff::filename, getString(), i, n, prof2calltree::node, VarParsing::obj, Ig3DBaseBrowser::openNode(), Ig3DBaseBrowser::printBitmap(), Ig3DBaseBrowser::printVector(), Ig3DViewpointsCategory::setCamera(), and Ig3DViewpointsCategory::setViewpoint().

Referenced by initToolBar().

00461 {
00462     static SoNode * node = 0;
00463     if (! node)
00464     {
00465         node = browser ()->openNode (Ig3DBaseModel::encode
00466                                      ("Default View Points").getString (),
00467                                      "Select viewpoints to load",
00468                                      browser ()->getWidget ()->parentWidget ()); 
00469     }
00470     
00471     if (node)
00472     {
00473         ASSERT (node->isOfType (SoGroup::getClassTypeId ()));
00474         SoGroup *views = static_cast<SoGroup *> (node);
00475         IgSoViewpoint *currentView = new IgSoViewpoint ();
00476         Ig3DViewpointsCategory::setViewpoint (browser (), currentView);
00477         for (int i = 1, n = views->getNumChildren (); i < n; ++i)
00478         {
00479             ASSERT (views->getChild (i)->isOfType (IgSoViewpoint::getClassTypeId ()));
00480             IgSoViewpoint *obj = static_cast<IgSoViewpoint *>(views->getChild (i));
00481             Ig3DViewpointsCategory::setCamera (browser (), obj);
00482             QString filename = obj->getName ().getString ();
00483             
00484             browser ()->printVector (filename + ".pdf", "pdf", 2);
00485             browser ()->printBitmap (filename + ".jpg",
00486                                     SoOffscreenRenderer::getScreenPixelsPerInch (),
00487                                     300, "jpg");
00488         }
00489         Ig3DViewpointsCategory::setCamera (browser (), currentView);
00490     }
00491 }

void Ig3DWindow::repClip ( void   )  [private, slot]

Definition at line 451 of file Ig3DWindow.cc.

References ASSERT, Ig3DBaseWindow::browser(), m_clipsCategory, and Ig3DClipsCategory::makeOne().

Referenced by repMenu().

00452 {
00453     ASSERT (browser ()->menuRep ());
00454     ASSERT (m_clipsCategory);
00455     m_clipsCategory->makeOne (browser ()->menuRep ());
00456 }

void Ig3DWindow::repMenu ( IgQtObjectMenuMessage  message  )  [private]

Definition at line 420 of file Ig3DWindow.cc.

References IgQtObjectMenu::insertFromDefs(), IgRepSet::lookup(), IgQtObjectMenuMessage::menu(), Ig3DBaseBrowser::MENU_3D_OPS, Ig3DBaseBrowser::MENU_CLIP, Ig3DBaseBrowser::MENU_SLICE, Ig3DBaseWindow::model(), IgQtObjectMenuMessage::object(), IgQtObjectMenu::removeFromDefs(), repClip(), and repSlice().

Referenced by focusIn(), and focusOut().

00421 {
00422     static const IgQtObjectMenu::ItemDef defs [] = {
00423         { -1, Ig3DBaseBrowser::MENU_3D_OPS, 0, 0, -1 },
00424         { -1, Ig3DBaseBrowser::MENU_SLICE,  "Slice", SLOT(repSlice()), -1 },
00425         { -1, Ig3DBaseBrowser::MENU_CLIP,   "Clip", SLOT(repClip()), -1 },
00426     };
00427     static const int    ndefs = sizeof (defs)/sizeof (defs [0]);
00428 
00429     IgRepresentable     *object = message.object ();
00430 
00431     IgRep *m_menuRep = dynamic_cast<IgRep *>
00432                        (IgRepSet::lookup (object, model (), false));
00433 
00434     // An irrelevant object or already added item, remove our items.
00435     message.menu ()->removeFromDefs (defs, ndefs);
00436     if (m_menuRep)
00437         // Add our items if they aren't there yet.
00438         message.menu ()->insertFromDefs (this, defs, ndefs);
00439 }

void Ig3DWindow::repSlice ( void   )  [private, slot]

Definition at line 443 of file Ig3DWindow.cc.

References ASSERT, Ig3DBaseWindow::browser(), m_slicersCategory, and Ig3DSlicersCategory::makeOne().

Referenced by repMenu().

00444 {
00445     ASSERT (browser ()->menuRep ());
00446     ASSERT (m_slicersCategory);
00447     m_slicersCategory->makeOne (browser ()->menuRep ());
00448 }

void Ig3DWindow::showAnims ( void   )  [private, slot]

Definition at line 398 of file Ig3DWindow.cc.

References Ig3DBaseWindow::centre(), m_animsCategory, IgControlCentre::selectCategory(), and IgControlCentre::show().

Referenced by initMenu().

00399 {
00400     centre ()->selectCategory (m_animsCategory);
00401     centre ()->show ();
00402 }

void Ig3DWindow::showClips ( void   )  [private, slot]

Definition at line 370 of file Ig3DWindow.cc.

References Ig3DBaseWindow::centre(), m_clipsCategory, IgControlCentre::selectCategory(), and IgControlCentre::show().

Referenced by initMenu().

00371 {
00372     centre ()->selectCategory (m_clipsCategory);
00373     centre ()->show ();
00374 }

void Ig3DWindow::showGrids ( void   )  [private, slot]

Definition at line 384 of file Ig3DWindow.cc.

References Ig3DBaseWindow::centre(), m_gridCategory, IgControlCentre::selectCategory(), and IgControlCentre::show().

Referenced by initMenu().

00385 {
00386     centre ()->selectCategory (m_gridCategory);
00387     centre ()->show ();
00388 }

void Ig3DWindow::showLights ( void   )  [private, slot]

Definition at line 391 of file Ig3DWindow.cc.

References Ig3DBaseWindow::centre(), m_lightsCategory, IgControlCentre::selectCategory(), and IgControlCentre::show().

Referenced by initMenu().

00392 {
00393     centre ()->selectCategory (m_lightsCategory);
00394     centre ()->show ();
00395 }

void Ig3DWindow::showNodeManip ( void   )  [private, slot]

Definition at line 412 of file Ig3DWindow.cc.

References Ig3DBaseWindow::centre(), m_nodeCategory, IgControlCentre::selectCategory(), and IgControlCentre::show().

Referenced by initMenu().

00413 {
00414     centre ()->selectCategory (m_nodeCategory);
00415     centre ()->show ();
00416 }

void Ig3DWindow::showSlicers ( void   )  [private, slot]

Definition at line 377 of file Ig3DWindow.cc.

References Ig3DBaseWindow::centre(), m_slicersCategory, IgControlCentre::selectCategory(), and IgControlCentre::show().

Referenced by initMenu().

00378 {
00379     centre ()->selectCategory (m_slicersCategory);
00380     centre ()->show ();
00381 }

void Ig3DWindow::showViewpoints ( void   )  [private, slot]

Definition at line 405 of file Ig3DWindow.cc.

References Ig3DBaseWindow::centre(), m_viewpointsCategory, IgControlCentre::selectCategory(), and IgControlCentre::show().

Referenced by initMenu().

00406 {
00407     centre ()->selectCategory (m_viewpointsCategory);
00408     centre ()->show ();
00409 }


Member Data Documentation

Ig3DAnimsCategory* Ig3DWindow::m_animsCategory [private]

Definition at line 70 of file Ig3DWindow.h.

Referenced by initCategories(), and showAnims().

Ig3DClipsCategory* Ig3DWindow::m_clipsCategory [private]

Definition at line 67 of file Ig3DWindow.h.

Referenced by initCategories(), repClip(), and showClips().

Ig3DGridCategory* Ig3DWindow::m_gridCategory [private]

Definition at line 73 of file Ig3DWindow.h.

Referenced by initCategories(), and showGrids().

Ig3DLightsCategory* Ig3DWindow::m_lightsCategory [private]

Definition at line 68 of file Ig3DWindow.h.

Referenced by initCategories(), and showLights().

IgSoMaterialCategory* Ig3DWindow::m_materialsCategory [private]

Definition at line 69 of file Ig3DWindow.h.

Ig3DNodeCategory* Ig3DWindow::m_nodeCategory [private]

Definition at line 72 of file Ig3DWindow.h.

Referenced by initCategories(), and showNodeManip().

Ig3DSlicersCategory* Ig3DWindow::m_slicersCategory [private]

Definition at line 66 of file Ig3DWindow.h.

Referenced by initCategories(), repSlice(), and showSlicers().

Ig3DViewpointsCategory* Ig3DWindow::m_viewpointsCategory [private]

Definition at line 71 of file Ig3DWindow.h.

Referenced by initCategories(), and showViewpoints().


The documentation for this class was generated from the following files:
Generated on Tue Jun 9 18:25:00 2009 for CMSSW by  doxygen 1.5.4