* This method allows to bound the range of generated frames.
* If this method is not used, the animation will be generated
* on the basis of all time stamps contained in the field.
- * /param theMin The value of the first time stamp which will be used for generation of the animation.
- * /param theMax The value of the last time stamp which will be used for generation of the animation.
+ * \param theMin The value of the first time stamp which will be used for generation of the animation.
+ * \param theMax The value of the last time stamp which will be used for generation of the animation.
*/
void setAnimationRange(in double theMin, in double theMax);
boolean isRangeDefined();
/*! Saves all the frames composing the animation into a definite directory.
- * \param thePath The directory where all the frames will be saved.
+ * Pictures format is set with method <VAR>setDumpFormat()</VAR>.
+ * \param thePath The directory where all the frames will be saved.
*/
void dumpTo(in string thePath);
+ /*! Set format for saving all the frames composing the animation.
+ * \param theFormat The format for saving pictures.
+ * For available formats see QImageIO documentation (Qt).
+ * If specified format is not available, default format will be used.
+ * Default format is JPEG or first of supported, if JPEG is not available.
+ * \return Really set format. Differ from \a theFormat if \a theFormat is not available.
+ */
+ string setDumpFormat(in string theFormat);
+
/*! Returns True, if the playback of the animation is cycling.
*/
boolean isCycling();
CORBA::Boolean isRangeDefined() { return !((myMaxVal==0) && (myMinVal == myMaxVal)); }
void dumpTo(const char* thePath) { myDumpPath = thePath; }
+ std::string setDumpFormat(const char* theFormat);
QString getLastErrorMsg() { return myLastError; }
double myMaxVal, myMinVal;
double myTimeMin, myTimeMax;
QString myDumpPath;
+ QString myDumpFormat;
SVTK_ViewWindow* myView;
QString myAnimEntry;
virtual CORBA::Boolean isRangeDefined();
virtual void dumpTo(const char* thePath);
+ virtual char* setDumpFormat(const char* theFormat);
virtual CORBA::Boolean isCycling();