/[gzz]/gzz/gzz/vob/VobCoorder.java
ViewVC logotype

Diff of /gzz/gzz/vob/VobCoorder.java

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

revision 1.12 by benja, Thu Aug 15 16:37:11 2002 UTC revision 1.13 by tjl, Wed Sep 25 14:45:43 2002 UTC
# Line 32  package gzz.vob; Line 32  package gzz.vob;
32   * represents the root coordinate system (i.e., the whole vob scene).   * represents the root coordinate system (i.e., the whole vob scene).
33   */   */
34  public interface VobCoorder {  public interface VobCoorder {
     /** Get the index of the coordinate system for the given key.  
      *  @param inside The coordinate system to search inside  
      *                (<code>0</code> for the root coordinate system).  
      */  
     int getCoordsys(Object key);  
   
35      /** Create a new coordinate system.      /** Create a new coordinate system.
36       * @param key The key that identifies this coordinate system.       * @param key The key that identifies this coordinate system.
37       *                  The key is used for interpolation       *                  The key is used for interpolation
# Line 45  public interface VobCoorder { Line 39  public interface VobCoorder {
39       *             system into, <code>0</code> for the root       *             system into, <code>0</code> for the root
40       *             coordinate system.       *             coordinate system.
41       */       */
42      int coordsys(int into, Object key, float depth, float x, float y,      int coordsys(int into, float depth, float x, float y, float w, float h);
                                                     float w, float h);  
   
     /** Get the key of the object at given coordinates.  
      * @param x,y The coordinates  
      * @param internalcoords (output) the coordinates (-1..1) relative  
      *                          to the vob  
      */  
     Object getKeyAt(VobMap v, float x, float y, float[] internalcoords);  
43    
44      int getCSIndexAt(float x, float y);      int getCSIndexAt(float x, float y);
45    
46      boolean needInterp(VobCoorder interpTo);      boolean needInterp(VobCoorder interpTo, int[] interpList);
47    
48      Vob.RenderInfo getRenderInfo(int csind);      Vob.RenderInfo getRenderInfo(int csind);
49    
50      void dump();      void dump();
51  }  }
52    

Legend:
Removed from v.1.12  
changed lines
  Added in v.1.13

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