![]() |
Coin3D is Free Software, published under the BSD 3-clause license. |
https://bitbucket.org/Coin3D/ http://www.kongsberg.com/kogt/ |
#include "cameracontrol.h"
#include <Inventor/SbLinear.h>
#include <Inventor/SbTime.h>
#include <Inventor/SbViewportRegion.h>
#include <Inventor/nodes/SoNode.h>
#include <Inventor/nodes/SoPerspectiveCamera.h>
#include <Inventor/nodes/SoOrthographicCamera.h>
#include <Inventor/nodekits/SoBaseKit.h>
#include <SmallChange/nodes/UTMCamera.h>
#include <Inventor/actions/SoGetBoundingBoxAction.h>
#include <Inventor/actions/SoSearchAction.h>
#include <Inventor/sensors/SoTimerSensor.h>
#include <Inventor/projectors/SbSphereSheetProjector.h>
#include <Inventor/SbDict.h>
Functions | |
static void | set_pos (SoCamera *camera, const SbVec3d &position) |
static void | set_pos (SoCamera *camera, const SbVec3f &position) |
static SbVec3d | cam_get_pos (SoCamera *camera) |
void | cam_reset_roll (SoCamera *camera, const SbVec3f &up) |
void | cam_spin (SoCamera *camera, const SbVec2f &dp, const SbVec3f &up) |
void | cam_seek_to_point (SoCamera *camera, const SbVec3d &endpoint, const SbRotation &endorient, const float seektime) |
void | cam_seek_to_node (SoCamera *camera, SoNode *node, SoNode *root, const SbViewportRegion &vp, const float seektime) |
SbBool | cam_is_seeking (SoCamera *camera) |
Variables | |
static SbDict * | cameradict = NULL |
static SbSphereSheetProjector * | spinprojector = NULL |
SbBool cam_is_seeking | ( | SoCamera * | camera | ) |
void cam_seek_to_node | ( | SoCamera * | camera, |
SoNode * | node, | ||
SoNode * | root, | ||
const SbViewportRegion & | vp, | ||
const float | seektime | ||
) |
void cam_seek_to_point | ( | SoCamera * | camera, |
const SbVec3d & | endpoint, | ||
const SbRotation & | endorient, | ||
const float | seektime | ||
) |
|
static |
|
static |