|
ATLAS Offline Software
|
Go to the documentation of this file.
15 #ifndef VP1CAMERAHELPER_H
16 #define VP1CAMERAHELPER_H
19 #include <Inventor/C/errors/debugerror.h>
20 #include <Inventor/SbVec3f.h>
48 const QByteArray& camstate,
49 double duration_in_secs = 1.0,
double clipVolPercent=100.0,
double lastClipVolPercent=100.0,
bool varySpeed=
true,
50 bool forceCircular =
false );
54 SbVec3f,
double duration_in_secs = 1.0,
double clipVolPercent=100.0,
bool varySpeed=
true,
55 bool forceCircular =
false );
60 SoPath *
path,
double duration_in_secs = 1.0,
double clipVolPercent=100.0,
double slack = 1.0,
61 const SbVec3f& lookat = SbVec3f(999,999,999),
62 const SbVec3f& upvec = SbVec3f(999,999,999),
bool varySpeed=
true,
63 bool forceCircular =
false );
66 const SbBox3f& box,
double duration_in_secs = 1.0,
double clipVolPercent=100.0,
double slack = 1.0,
67 const SbVec3f& lookat = SbVec3f(999,999,999),
68 const SbVec3f& upvec = SbVec3f(999,999,999),
bool varySpeed=
true,
69 bool forceCircular =
false );
73 SoNode*subtreeroot,
double duration_in_secs = 1.0,
double clipVolPercent=100.0,
double lastClipVolPercent=100.0,
double slack = 1.0,
74 const SbVec3f& lookat = SbVec3f(999,999,999),
75 const SbVec3f& upvec = SbVec3f(999,999,999),
bool varySpeed=
true,
76 bool forceCircular =
false );
81 const QString& outputdir,
85 const QString&
prefix =
"vp1_frame");
88 QString& lastOfExistingFiles,
89 QString& nextAvailableFile );
path
python interpreter configuration --------------------------------------—
virtual ~VP1CameraHelper()
static VP1CameraHelper * animatedZoomToPoint(SoCamera *camera, SoGroup *sceneroot, SbVec3f, double duration_in_secs=1.0, double clipVolPercent=100.0, bool varySpeed=true, bool forceCircular=false)
static void getLastAndNextFrameFileNames(const QString &outputdir, const QString &prefix, QString &lastOfExistingFiles, QString &nextAvailableFile)
static VP1CameraHelper * animatedZoomToPath(SoCamera *camera, SoGroup *sceneroot, SoPath *path, double duration_in_secs=1.0, double clipVolPercent=100.0, double slack=1.0, const SbVec3f &lookat=SbVec3f(999, 999, 999), const SbVec3f &upvec=SbVec3f(999, 999, 999), bool varySpeed=true, bool forceCircular=false)
VP1CameraHelper(SoCamera *, SoGroup *)
void animationFinishedAbnormally()
static void abortAnyCurrentZoom(SoCamera *camera)
static VP1CameraHelper * animatedZoomToCameraState(SoCamera *camera, SoGroup *sceneroot, const QByteArray &camstate, double duration_in_secs=1.0, double clipVolPercent=100.0, double lastClipVolPercent=100.0, bool varySpeed=true, bool forceCircular=false)
void clipVolumePercentageOfATLAS(double)
void setOutputImagesMode(VP1ExaminerViewer *ra, const QString &outputdir, int width=1024, int height=768, double fps=24, const QString &prefix="vp1_frame")
static VP1CameraHelper * animatedZoomToSubTree(SoCamera *camera, SoGroup *sceneroot, SoNode *subtreeroot, double duration_in_secs=1.0, double clipVolPercent=100.0, double lastClipVolPercent=100.0, double slack=1.0, const SbVec3f &lookat=SbVec3f(999, 999, 999), const SbVec3f &upvec=SbVec3f(999, 999, 999), bool varySpeed=true, bool forceCircular=false)
static VP1CameraHelper * animatedZoomToBBox(SoCamera *camera, SoGroup *sceneroot, const SbBox3f &box, double duration_in_secs=1.0, double clipVolPercent=100.0, double slack=1.0, const SbVec3f &lookat=SbVec3f(999, 999, 999), const SbVec3f &upvec=SbVec3f(999, 999, 999), bool varySpeed=true, bool forceCircular=false)