View3DInventorViewer.cpp File Reference

#include "PreCompiled.h"
#include <float.h>
#include <GL/gl.h>
#include <Inventor/SbBox.h>
#include <Inventor/actions/SoGetBoundingBoxAction.h>
#include <Inventor/actions/SoHandleEventAction.h>
#include <Inventor/actions/SoToVRML2Action.h>
#include <Inventor/actions/SoWriteAction.h>
#include <Inventor/manips/SoClipPlaneManip.h>
#include <Inventor/nodes/SoBaseColor.h>
#include <Inventor/nodes/SoCallback.h>
#include <Inventor/nodes/SoCoordinate3.h>
#include <Inventor/nodes/SoCube.h>
#include <Inventor/nodes/SoDirectionalLight.h>
#include <Inventor/nodes/SoEventCallback.h>
#include <Inventor/nodes/SoFaceSet.h>
#include <Inventor/nodes/SoImage.h>
#include <Inventor/nodes/SoIndexedFaceSet.h>
#include <Inventor/nodes/SoLightModel.h>
#include <Inventor/nodes/SoLocateHighlight.h>
#include <Inventor/nodes/SoMaterial.h>
#include <Inventor/nodes/SoMaterialBinding.h>
#include <Inventor/nodes/SoOrthographicCamera.h>
#include <Inventor/nodes/SoPerspectiveCamera.h>
#include <Inventor/nodes/SoRotationXYZ.h>
#include <Inventor/nodes/SoSeparator.h>
#include <Inventor/nodes/SoShapeHints.h>
#include <Inventor/nodes/SoSwitch.h>
#include <Inventor/nodes/SoTransform.h>
#include <Inventor/nodes/SoTranslation.h>
#include <Inventor/nodes/SoSelection.h>
#include <Inventor/actions/SoBoxHighlightRenderAction.h>
#include <Inventor/events/SoEvent.h>
#include <Inventor/events/SoKeyboardEvent.h>
#include <Inventor/events/SoLocation2Event.h>
#include <Inventor/events/SoMotion3Event.h>
#include <Inventor/events/SoMouseButtonEvent.h>
#include <Inventor/actions/SoRayPickAction.h>
#include <Inventor/projectors/SbSphereSheetProjector.h>
#include <Inventor/SoOffscreenRenderer.h>
#include <Inventor/SoPickedPoint.h>
#include <Inventor/VRMLnodes/SoVRMLGroup.h>
#include <QEventLoop>
#include <QKeyEvent>
#include <QMessageBox>
#include <QTimer>
#include <QStatusBar>
#include <sstream>
#include <Base/Console.h>
#include <Base/Stream.h>
#include <Base/FileInfo.h>
#include <Base/Sequencer.h>
#include <Base/Tools.h>
#include <zipios++/gzipoutputstream.h>
#include "View3DInventorViewer.h"
#include "ViewProviderDocumentObject.h"
#include "SoFCBackgroundGradient.h"
#include "SoFCColorBar.h"
#include "SoFCColorLegend.h"
#include "SoFCColorGradient.h"
#include "SoFCOffscreenRenderer.h"
#include "SoFCSelection.h"
#include "SoFCUnifiedSelection.h"
#include "SoFCInteractiveElement.h"
#include "SoFCBoundingBox.h"
#include "Selection.h"
#include "SoFCSelectionAction.h"
#include "SoFCVectorizeU3DAction.h"
#include "SoFCVectorizeSVGAction.h"
#include "SoFCDB.h"
#include "MainWindow.h"
#include "NavigationStyle.h"
#include "ViewProvider.h"
#include "SpaceballEvent.h"
#include <Inventor/draggers/SoCenterballDragger.h>

Go to the source code of this file.

Defines

#define CROSS_HEIGHT   16
#define CROSS_HOT_X   7
#define CROSS_HOT_Y   7
#define CROSS_WIDTH   16
#define HAND_HEIGHT   24
#define HAND_HOT_X   9
#define HAND_HOT_Y   0
#define HAND_WITH   24
#define new   DEBUG_CLIENTBLOCK

Functions

 SOQT_OBJECT_ABSTRACT_SOURCE (View3DInventorViewer)

Variables

static unsigned char cross_bitmap []
static unsigned char cross_mask_bitmap []
static unsigned char hand_bitmap []
static unsigned char hand_mask_bitmap []
static GLubyte xbmp [] = { 0x11,0x11,0x0a,0x04,0x0a,0x11,0x11 }
static GLubyte ybmp [] = { 0x04,0x04,0x04,0x04,0x0a,0x11,0x11 }
static GLubyte zbmp [] = { 0x1f,0x10,0x08,0x04,0x02,0x01,0x1f }

Define Documentation

#define CROSS_HEIGHT   16
#define CROSS_HOT_X   7
#define CROSS_HOT_Y   7
#define CROSS_WIDTH   16
#define HAND_HEIGHT   24

Definition at line 1901 of file View3DInventorViewer.cpp.

#define HAND_HOT_X   9

Definition at line 1902 of file View3DInventorViewer.cpp.

#define HAND_HOT_Y   0

Definition at line 1903 of file View3DInventorViewer.cpp.

#define HAND_WITH   24

Definition at line 1900 of file View3DInventorViewer.cpp.

#define new   DEBUG_CLIENTBLOCK

Definition at line 116 of file View3DInventorViewer.cpp.


Function Documentation

SOQT_OBJECT_ABSTRACT_SOURCE ( View3DInventorViewer   ) 

Variable Documentation

unsigned char cross_bitmap[] [static]
Initial value:
 {
  0xc0, 0x03, 0x40, 0x02, 0x40, 0x02, 0x40, 0x02,
  0x40, 0x02, 0x40, 0x02, 0x7f, 0xfe, 0x01, 0x80,
  0x01, 0x80, 0x7f, 0xfe, 0x40, 0x02, 0x40, 0x02,
  0x40, 0x02, 0x40, 0x02, 0x40, 0x02, 0xc0, 0x03
}

Definition at line 1928 of file View3DInventorViewer.cpp.

unsigned char cross_mask_bitmap[] [static]
Initial value:
 {
 0xc0,0x03,0xc0,0x03,0xc0,0x03,0xc0,0x03,0xc0,0x03,0xc0,0x03,0xff,0xff,0xff,
 0xff,0xff,0xff,0xff,0xff,0xc0,0x03,0xc0,0x03,0xc0,0x03,0xc0,0x03,0xc0,0x03,
 0xc0,0x03
}

Definition at line 1935 of file View3DInventorViewer.cpp.

unsigned char hand_bitmap[] [static]
Initial value:
 {
    0x00,0x03,0x00,0x80,0x04,0x00,0x80,0x04,0x00,0x80,0x04,0x00,0x80,0x04,0x00,
    0x80,0x1c,0x00,0x80,0xe4,0x00,0x80,0x24,0x01,0x80,0x24,0x07,0x8e,0x24,0x09,
    0x92,0x24,0x09,0xa4,0x00,0x09,0xc4,0x00,0x08,0x08,0x00,0x08,0x08,0x00,0x08,
    0x10,0x00,0x08,0x10,0x00,0x04,0x20,0x00,0x04,0x20,0x00,0x04,0x40,0x00,0x02,
    0x80,0x00,0x02,0x00,0x01,0x01,0x00,0xff,0x01,0x00,0x00,0x00,0x00,0xab,0xab,
    0xab,0xab,0xab,0xab,0xab,0xab,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x02,
    0x00,0x1b,0x00,0xee,0x04,0xee }

Definition at line 1905 of file View3DInventorViewer.cpp.

unsigned char hand_mask_bitmap[] [static]
Initial value:
 {
    0x00,0x03,0x00,0x80,0x07,0x00,0x80,0x07,0x00,0x80,0x07,0x00,0x80,0x07,0x00,
    0x80,0x1f,0x00,0x80,0xff,0x00,0x80,0xff,0x01,0x80,0xff,0x07,0x8e,0xff,0x0f,
    0x9e,0xff,0x0f,0xbc,0xff,0x0f,0xfc,0xff,0x0f,0xf8,0xff,0x0f,0xf8,0xff,0x0f,
    0xf0,0xff,0x0f,0xf0,0xff,0x07,0xe0,0xff,0x07,0xe0,0xff,0x07,0xc0,0xff,0x03,
    0x80,0xff,0x03,0x00,0xff,0x01,0x00,0xff,0x01,0x00,0x00,0x00,0x00,0xab,0xab,
    0xab,0xab,0xab,0xab,0xab,0xab,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x05,
    0x00,0x1b,0x00,0xd5,0x07,0x1c }

Definition at line 1914 of file View3DInventorViewer.cpp.

GLubyte xbmp[] = { 0x11,0x11,0x0a,0x04,0x0a,0x11,0x11 } [static]

Definition at line 1714 of file View3DInventorViewer.cpp.

GLubyte ybmp[] = { 0x04,0x04,0x04,0x04,0x0a,0x11,0x11 } [static]

Definition at line 1715 of file View3DInventorViewer.cpp.

GLubyte zbmp[] = { 0x1f,0x10,0x08,0x04,0x02,0x01,0x1f } [static]

Definition at line 1716 of file View3DInventorViewer.cpp.


Generated on Wed Nov 23 19:01:25 2011 for FreeCAD by  doxygen 1.6.1