#include <cstdio>
#include <cassert>
#include <iostream>
#include <fstream>
#include <sstream>
#include <vector>
#include <string>
#include <Inventor/Qt/SoQt.h>
#include <Inventor/Qt/viewers/SoQtExaminerViewer.h>
#include <Inventor/SoOffscreenRenderer.h>
#include <Inventor/SoOutput.h>
#include <Inventor/sensors/SoTimerSensor.h>
#include <Inventor/actions/SoWriteAction.h>
#include <Inventor/events/SoMouseButtonEvent.h>
#include <Inventor/events/SoLocation2Event.h>
#include <Inventor/events/SoKeyboardEvent.h>
#include <Inventor/nodes/SoEventCallback.h>
#include <Inventor/nodes/SoNode.h>
#include <Inventor/nodes/SoCamera.h>
#include <Inventor/nodes/SoPerspectiveCamera.h>
#include <Inventor/nodes/SoSeparator.h>
#include <Inventor/nodes/SoSwitch.h>
#include <Inventor/nodes/SoPointLight.h>
#include <Inventor/nodes/SoLineSet.h>
#include <Inventor/nodes/SoCoordinate3.h>
#include <Inventor/draggers/SoSpotLightDragger.h>
#include <VolumeViz/nodes/SoVolumeRendering.h>
#include "simpleview_cmd.h"
#include "InventorUtilities.H"
#include "debug.H"
Classes | |
class | SceneInfo |
Functions | |
SoSeparator * | MakeSoLineSet (vector< SoSpotLightDragger * > &draggerVec) |
Return a lineset that does through all the dragger waypoints. | |
void | PrintKeyboardShorts () |
Send help on keyboard shortcuts to stdout. | |
void | keyPressCallback (void *data, SoEventCallback *cb) |
Gets called whenever the user presses a key in interactive mode. | |
void | timerSensorCallback (void *data, SoSensor *sensor) |
Handle details of moving the camera between waypoints. | |
bool | InRange (const float check, const float v1, const float v2) |
Tell if a value is between 2 numbers, inclusive. | |
int | main (int argc, char *argv[]) |
Variables | |
int | debug_level = 0 |
The main program needs to define this as a non-extern. | |
static const UNUSED char * | RCSid = "$Id: simpleview.C,v 1.23 2004/11/26 15:24:59 schwehr Exp $" |
Let the debugger find out which version is being used. |
|
Tell if a value is between 2 numbers, inclusive.
|
|
Gets called whenever the user presses a key in interactive mode.
|
|
|
|
Return a lineset that does through all the dragger waypoints. Would be better if I did what Alex did back in `98 and use engines with the draggers so the line gets automatically updated with drags |
|
Send help on keyboard shortcuts to stdout.
|
|
Handle details of moving the camera between waypoints.
|
|
The main program needs to define this as a non-extern.
|
|
Let the debugger find out which version is being used.
|