19 #ifndef GLSCENEZOOMANDPAN_H_ 20 #define GLSCENEZOOMANDPAN_H_ 22 #include <tulip/tulipconf.h> 23 #include <tulip/Vector.h> 24 #include <tulip/Coord.h> 49 this->nbAnimationSteps = nbAnimationSteps;
58 virtual void animationStep(
int animationStep) = 0;
96 const std::string &layerName =
"Main",
const int nbAnimationSteps = 50,
97 const bool optimalPath =
true,
const double p = sqrt(1.6));
110 return nbAnimationSteps;
117 this->nbAnimationSteps = nbAnimationSteps;
126 void zoomAndPanAnimationStep(
int animationStep);
130 Vector<int, 4> viewport;
131 int nbAnimationSteps;
134 Coord camCenterStart, camCenterEnd;
135 double w0, w1, u0, u1, b0, b1, r0, r1, S, sA, sB, wm;
137 float zoomAreaWidth, zoomAreaHeight;
void setNbAnimationSteps(const int nbAnimationSteps)
void setNbAnimationSteps(int nbAnimationSteps)
A class which encapsulate a Tulip OpenGL scene animation This class aims to encapsulate a Tulip OpenG...
A convenient class to perform Zoom and Pan animation on Tulip OpenGL scene.
int getNbAnimationsStep() const
This class represents the 3D bounding box of an object. It is mostly used to determine whether or not...
Tulip OpenGL camera object.