/[libvob]/libvob/include/vob/Coorder.hxx
ViewVC logotype

Diff of /libvob/include/vob/Coorder.hxx

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1 by tjl, Mon Mar 10 14:26:18 2003 UTC revision 1.2 by tjl, Mon Mar 10 16:02:04 2003 UTC
# Line 1  Line 1 
1  // (c) Tuomas J. Lukka and Asko Soukka  // (c) Tuomas J. Lukka and Asko Soukka
2    
3  #include <Vob/Transform.hxx>  #include <vector>
4    #include <vob/Transform.hxx>
5    #include <vob/Primitives.hxx>
6    
7  namespace Vob {  namespace Vob {
8    
9  typedef Transform *(*TransformFactory)(int i);  enum {
10        CSFLAG_ACTIVE = 0x80000000,
11        CSFLAGS = 0xf0000000
12    };
13    
14    
15    
16    typedef Primitives::HierarchicalTransform *(*TransformFactory)(int i);
17    
18  /** A class that manages a set of coordinate systems.  /** A class that manages a set of coordinate systems.
19   */   */
20  class Coorder {  class Coorder {
21      vector<Transform *> cs;      std::vector<Transform *> cs;
22      vector<float> params;      std::vector<float> params;
23    
24      int maxcs;      int maxcs;
25    
     int nparams(int typecode) ;  
     int nprevious(int typecode) ;  
   
26      TransformFactory transformFactory;      TransformFactory transformFactory;
27    
28      Coorder *cs1_tmp ;      Coorder *cs1_tmp ;
# Line 67  public: Line 73  public:
73          bool operator!=(const iterator &it) const { return ind != it.ind; }          bool operator!=(const iterator &it) const { return ind != it.ind; }
74    
75      };      };
76    
77      /** Return an iterator pointing to the first coordinate system      /** Return an iterator pointing to the first coordinate system
78       * (not root, i.e. not 0).       * (not root, i.e. not 0).
79       */       */

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26