Salome HOME
Join modifications from branch BR_DEBUG_3_2_0b1
[modules/visu.git] / src / VISU_I / VISU_TimeAnimation.h
index bb1925a80348bf7b1432a6fc46fe849038347d3f..d2da49a4c4bcae61918a3aada2dd7ac6534c6c60 100644 (file)
@@ -1,6 +1,21 @@
-//  Copyright (C) 2003  CEA/DEN, EDF R&D
-//
-//
+//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
+//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
+// 
+//  This library is free software; you can redistribute it and/or 
+//  modify it under the terms of the GNU Lesser General Public 
+//  License as published by the Free Software Foundation; either 
+//  version 2.1 of the License. 
+// 
+//  This library is distributed in the hope that it will be useful, 
+//  but WITHOUT ANY WARRANTY; without even the implied warranty of 
+//  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
+//  Lesser General Public License for more details. 
+// 
+//  You should have received a copy of the GNU Lesser General Public 
+//  License along with this library; if not, write to the Free Software 
+//  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA 
+// 
+//  See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 //  File   : VISU_TimeAnimation.h
 //  Author : Vitaly SMETANNIKOV
@@ -20,7 +35,8 @@
 class SVTK_ViewWindow;
 class VISU_Actor;
 
-namespace VISU{
+namespace VISU
+{
   class Result_i;
   class ColoredPrs3d_i;
 }
@@ -34,7 +50,7 @@ struct FieldData
   std::vector<VISU::ColoredPrs3d_i*> myPrs;     // Presentations
   std::vector<VISU_Actor*> myActors;         // Actors
   std::vector<double> myTiming;              // time values
-  float myOffset[3];
+  CORBA::Float myOffset[3];
 };
 
 
@@ -102,6 +118,7 @@ class VISU_TimeAnimation: public QObject, public QThread
 
   void dumpTo(const char* thePath) { myDumpPath = thePath; }
   std::string setDumpFormat(const char* theFormat);
+  bool checkAVIMaker() const;
 
   QString getLastErrorMsg() { return myLastError; }
 
@@ -149,6 +166,8 @@ class VISU_TimeAnimation: public QObject, public QThread
   double myTimeMin   , myTimeMax   ; //!< Range of time stams, available for animation
   QString myDumpPath;
   QString myDumpFormat;
+  QString myAVIMaker;
+  long myFileIndex;
   SVTK_ViewWindow* myView;
 
   QString myAnimEntry;