main.h
00001 #ifndef _MAIN_H_
00002 #define _MAIN_H_
00003
00004 #include "../include/TubeBundle.h"
00005 #include <Inventor/Qt/SoQt.h>
00006 #include <Inventor/Qt/viewers/SoQtExaminerViewer.h>
00007 #include "SoKnot.h"
00008
00009 #include <Inventor/nodes/SoSeparator.h>
00010 #include <Inventor/nodes/SoCoordinate4.h>
00011 #include <Inventor/nodes/SoCoordinate3.h>
00012 #include <Inventor/nodes/SoNurbsCurve.h>
00013 #include <Inventor/nodes/SoSphere.h>
00014 #include <Inventor/nodes/SoTranslation.h>
00015 #include <Inventor/nodes/SoCylinder.h>
00016 #include <Inventor/nodes/SoRotation.h>
00017 #include <Inventor/fields/SoSFRotation.h>
00018 #include <Inventor/nodes/SoQuadMesh.h>
00019 #include <Inventor/nodes/SoShapeHints.h>
00020 #include <Inventor/nodes/SoNormal.h>
00021 #include <Inventor/nodes/SoNormalBinding.h>
00022 #include <Inventor/nodes/SoMaterial.h>
00023 #include <Inventor/nodes/SoComplexity.h>
00024 #include <Inventor/nodes/SoLineSet.h>
00025 #include <Inventor/misc/SoChildList.h>
00026 #include <Inventor/nodes/SoTexture2.h>
00027 #include <Inventor/nodes/SoMaterialBinding.h>
00028 #include <Inventor/nodes/SoSwitch.h>
00029
00030
00031
00032
00033
00034 #include <Inventor/Qt/devices/SoQtKeyboard.h>
00035 #include <Inventor/nodes/SoEventCallback.h>
00036
00037 #include <Inventor/events/SoKeyboardEvent.h>
00038
00039
00040 #include <Inventor/events/SoMouseButtonEvent.h>
00041 #include <Inventor/events/SoLocation2Event.h>
00042 #include <Inventor/actions/SoRayPickAction.h>
00043 #include <Inventor/SoPickedPoint.h>
00044 #include <Inventor/projectors/SbPlaneProjector.h>
00045 #include <Inventor/nodes/SoPerspectiveCamera.h>
00046
00047 #include <Inventor/Qt/SoQt.h>
00048 #include <Inventor/Qt/viewers/SoQtExaminerViewer.h>
00049
00050 #include <Inventor/nodes/SoMaterial.h>
00051 #include <Inventor/nodes/SoPointSet.h>
00052 #include <Inventor/nodes/SoDrawStyle.h>
00053
00054
00055
00056
00057
00058
00059 extern SoMaterial** materials;
00060 extern const uint ColorNum;
00061 extern SbColor ColorTable[];
00062
00067 struct ViewerInfo {
00068
00069
00070 int ResamplePartFlag;
00071 int FirstPoint;
00072 int BackGroundFlag;
00073
00074 vector<Biarc<Vector3> >::iterator FirstBiarc;
00075
00076
00077 uint TEXTURES, IV_SCENE;
00078
00079
00080
00081 QString ptplot_file, texture_file, iv_file;
00082
00083 };
00084
00085 typedef ViewerInfo ViewerInfo;
00086
00087 #endif