CMS 3D CMS Logo

IgRZWindow.cc File Reference

#include "Iguana/GLBrowsers/interface/IgRZWindow.h"
#include "Iguana/GLModels/interface/IgRZModel.h"
#include "Iguana/GLModels/interface/Ig3DBaseRep.h"
#include "Iguana/GLBrowsers/interface/Ig3DSystem.h"
#include "Iguana/Studio/interface/IgPage.h"
#include "Iguana/Studio/interface/IgDocumentData.h"
#include "Iguana/GLBrowsers/interface/IgRZBrowser.h"
#include "Iguana/Studio/interface/IgQtAppImageService.h"
#include "Iguana/Studio/interface/IgQtAppContextService.h"
#include "Iguana/Studio/interface/IgQtAppMenuService.h"
#include "Iguana/Studio/interface/IgQtAppToolBarService.h"
#include "Iguana/Studio/interface/IgQtObjectMenu.h"
#include "Iguana/Studio/interface/IgQtObjectMenuMessage.h"
#include "Iguana/Studio/interface/IgQtObjectMenuService.h"
#include "Iguana/Studio/interface/IgQtSiteStack.h"
#include "Iguana/GLBrowsers/interface/IgControlCentre.h"
#include "Iguana/GLBrowsers/interface/IgStudioCentre.h"
#include "Iguana/GLBrowsers/interface/IgRZViewPropertiesCategory.h"
#include "Iguana/GLBrowsers/interface/Ig3DLightsCategory.h"
#include "Iguana/Framework/interface/IgRepSet.h"
#include "Iguana/Studio/interface/IgImageIDs.h"
#include "Iguana/Studio/interface/IgModelManager.h"
#include "Iguana/Studio/interface/IgDocumentDataManager.h"
#include <Inventor/nodes/SoDirectionalLight.h>
#include <Inventor/nodes/SoOrthographicCamera.h>
#include <Inventor/nodes/SoCamera.h>
#include <qpopupmenu.h>
#include <qmenubar.h>
#include <qmenudata.h>
#include <qtoolbutton.h>

Go to the source code of this file.

Typedefs

typedef void(* FeedbackButtonCallback )(IgRZBrowser *browser, QToolButton *button)

Functions

static void feedbackButtonCallback (Ig3DBaseBrowser *browser, QToolButton *button)
static void orthogonalButtonCallback (Ig3DBaseBrowser *browser, QToolButton *button)
static void qtSetOff (QToolButton *button)


Typedef Documentation

typedef void(* FeedbackButtonCallback)(IgRZBrowser *browser, QToolButton *button)

Definition at line 189 of file IgRZWindow.cc.


Function Documentation

static void feedbackButtonCallback ( Ig3DBaseBrowser browser,
QToolButton *  button 
) [static]

Definition at line 165 of file IgRZWindow.cc.

00166 {
00167     button->setOn (browser->isFeedbackVisible ());    
00168 }

static void orthogonalButtonCallback ( Ig3DBaseBrowser browser,
QToolButton *  button 
) [static]

Definition at line 171 of file IgRZWindow.cc.

00172 {
00173     SoCamera *camera = browser->getCamera ();
00174     if (camera->getTypeId ()==SoOrthographicCamera::getClassTypeId ())
00175     {
00176         button->setOn (true);    
00177     }else
00178     {
00179         button->setOn (false);  
00180     }
00181 }

static void qtSetOff ( QToolButton *  button  )  [static]

Definition at line 184 of file IgRZWindow.cc.

00185 {
00186     button->setOn (false);    
00187 }


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