CMS 3D CMS Logo

Ig3DBaseWindow.cc File Reference

#include "Iguana/GLBrowsers/interface/Ig3DBaseWindow.h"
#include "Iguana/Studio/interface/IgModelManager.h"
#include "Iguana/Studio/interface/IgDocumentDataManager.h"
#include "Iguana/GLModels/interface/Ig3DModel.h"
#include "Iguana/GLBrowsers/interface/Ig3DSystem.h"
#include "Iguana/Studio/interface/IgDocumentData.h"
#include "Iguana/Studio/interface/IgPage.h"
#include "Iguana/Framework/interface/IgTwig.h"
#include "Iguana/GLBrowsers/interface/Ig3DBaseBrowser.h"
#include "Iguana/GLBrowsers/interface/IgCommonViewPropertiesCategory.h"
#include "Iguana/GLBrowsers/interface/IgTwigConfigElement.h"
#include "Iguana/Studio/interface/IgQtSite.h"
#include "Iguana/Studio/interface/IgQtSiteStack.h"
#include "Iguana/Studio/interface/IgQtAppMenuService.h"
#include "Iguana/Studio/interface/IgQtAppWindowService.h"
#include "Iguana/Studio/interface/IgQtAppContextService.h"
#include "Iguana/Studio/interface/IgQtAppToolBarService.h"
#include "Iguana/Studio/interface/IgQtAppImageService.h"
#include "Iguana/Studio/interface/IgQtObjectMenuService.h"
#include "Iguana/Studio/interface/IgQtObjectMenuMessage.h"
#include "Iguana/GLBrowsers/interface/IgStudioCentre.h"
#include "Iguana/GLBrowsers/interface/IgControlCentre.h"
#include "Iguana/Studio/interface/IgQtWorkspace.h"
#include "Iguana/Studio/interface/IgImageIDs.h"
#include <qmenubar.h>
#include <qpopupmenu.h>
#include <qmenudata.h>
#include <qtoolbar.h>
#include <qtoolbutton.h>
#include <qwhatsthis.h>
#include <qbuttongroup.h>
#include <qmainwindow.h>

Go to the source code of this file.

Functions

static void autoinit (IgState *state, IgSite *site)
static Ig3DModelgetModelFromManager (IgPage *page)


Function Documentation

static void autoinit ( IgState state,
IgSite site 
) [static]

Definition at line 47 of file Ig3DBaseWindow.cc.

References Ig3DSystem::init(), and IgQtSite::selfFrom().

Referenced by getModelFromManager().

00048 { Ig3DSystem::init (state, IgQtSite::selfFrom (site)->topLevelWidget ()); }

static Ig3DModel* getModelFromManager ( IgPage page  )  [static]

Definition at line 50 of file Ig3DBaseWindow.cc.

References autoinit(), DBSPlugin::get(), IgPage::state(), and IgPage::workspace().

Referenced by Ig3DBaseWindow::Ig3DBaseWindow().

00051 {
00052     autoinit (page->state (), page->workspace ());
00053     
00054     IgModelManager *manager = IgModelManager::get (page->state ());
00055     if (!manager)
00056         manager = new IgModelManager (page->state ());
00057     
00058     Ig3DModel *model = 0;
00059     manager->lookup (page->state (), &model);
00060     return model;
00061 }


Generated on Tue Jun 9 17:54:09 2009 for CMSSW by  doxygen 1.5.4