#include <cstdio>#include <cassert>#include <iostream>#include <fstream>#include <sstream>#include <vector>#include <string>#include <Inventor/SoInteraction.h>#include <Inventor/SoOffscreenRenderer.h>#include <Inventor/SoOutput.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 "render_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 | Print (const SoCamera *camera) |
| bool | InRange (const float check, const float v1, const float v2) |
| Tell if a value is between 2 numbers, inclusive. | |
| bool | WaypointRenderFrameToDisk (const SoSpotLightDragger *d1, const SoSpotLightDragger *d2, const float cur_percent, SoCamera *camera, const string &basename, const string &typeStr, const int width, const int height, SoNode *root, size_t &frame_num, SoPointLight *headlight) |
| interpolate between two draggers and render a frame to disk | |
| 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: render.C,v 1.12 2005/01/13 15:50:11 schwehr Exp $" |
| Let the debugger find out which version is being used. | |
|
||||||||||||||||
|
Tell if a value is between 2 numbers, inclusive.
|
|
||||||||||||
|
|
|
|
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 |
|
|
|
|
||||||||||||||||||||||||||||||||||||||||||||||||
|
interpolate between two draggers and render a frame to disk
|
|
|
The main program needs to define this as a non-extern.
|
|
|
Let the debugger find out which version is being used.
|
1.4.6