/[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.24 by humppake, Thu Nov 21 09:52:35 2002 UTC revision 1.25 by tjl, Fri Dec 6 12:08:28 2002 UTC
# Line 90  public abstract class VobCoorder { Line 90  public abstract class VobCoorder {
90      abstract public int orthoBox(int into, float z, float x, float y, float sx, float sy, float w, float h) ;      abstract public int orthoBox(int into, float z, float x, float y, float sx, float sy, float w, float h) ;
91      abstract public void setOrthoBoxParams(int cs, float z, float x, float y, float sx, float sy, float w, float h) ;      abstract public void setOrthoBoxParams(int cs, float z, float x, float y, float sx, float sy, float w, float h) ;
92    
93        /** Creates a CullingCoordSys with distinct parent and test
94         * coordinate systems. Exluding the test for drawing, the
95         * CullingCoordSys works like its parent coordinate system.
96         * E.g. CullingCoordSys returns its parents box.
97         * <p>
98         * This coordsys will not necessarily be drawn if the boxes
99         * of the test and clip coordinate systems do not intersect.
100         * However, this is not guaranteed; the only thing guaranteed
101         * is that if the boxes of the test and clip coordinate systems
102         * *do* intersect, the CullingCoordsys will be drawn.
103         * <p>
104         * The default implementation (although this may change in the
105         * future) in VobCoorder is to simply return parent.
106         * <p>
107         * @param parent ID of the coordinate system which points
108         *               will be transformed, if CullingCoordSys
109         *               is shown
110         * @param test ID of the coordinate system whose box is tested
111         *             against the clip coordinate system.
112         * @param clip ID of the coordinate system whose box is tested
113         *             against the test coordinate system.
114         */
115        public int cull(int parent, int test, int clip) {
116            return parent;
117        }
118    
119        /** Creates a CullingCoordSys using the parent also as the test
120         * coordinate system.
121         */
122        public int cull(int parent, int clip) {
123            return cull(parent, parent, clip);
124        }
125    
126        
127    
128    
129      /** Get the size of the "unit square" of the given coordinate      /** Get the size of the "unit square" of the given coordinate
130       * system. This is the size that the unit square of unitSqCS()       * system. This is the size that the unit square of unitSqCS()
131       * would be in the given coordinate system.       * would be in the given coordinate system.

Legend:
Removed from v.1.24  
changed lines
  Added in v.1.25

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