|
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 );
85 QString
prefix =
"vp1_frame");
88 QString& lastOfExistingFiles,
89 QString& nextAvailableFile );
path
python interpreter configuration --------------------------------------—
virtual ~VP1CameraHelper()
static void getLastAndNextFrameFileNames(QString outputdir, QString prefix, QString &lastOfExistingFiles, QString &nextAvailableFile)
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 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 setOutputImagesMode(VP1ExaminerViewer *ra, QString outputdir, int width=1024, int height=768, double fps=24, QString prefix="vp1_frame")
void clipVolumePercentageOfATLAS(double)
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)