corrade-vassal – Blame information for rev 1

Subversion Repositories:
Rev:
Rev Author Line No. Line
1 vero 1 /*
2 * CVS identifier:
3 *
4 * $Id: CBlkCoordInfo.java,v 1.9 2001/09/14 09:32:53 grosbois Exp $
5 *
6 * Class: CBlkCoordInfo
7 *
8 * Description: Used to store the code-blocks coordinates.
9 *
10 *
11 *
12 * COPYRIGHT:
13 *
14 * This software module was originally developed by Raphaël Grosbois and
15 * Diego Santa Cruz (Swiss Federal Institute of Technology-EPFL); Joel
16 * Askelöf (Ericsson Radio Systems AB); and Bertrand Berthelot, David
17 * Bouchard, Félix Henry, Gerard Mozelle and Patrice Onno (Canon Research
18 * Centre France S.A) in the course of development of the JPEG2000
19 * standard as specified by ISO/IEC 15444 (JPEG 2000 Standard). This
20 * software module is an implementation of a part of the JPEG 2000
21 * Standard. Swiss Federal Institute of Technology-EPFL, Ericsson Radio
22 * Systems AB and Canon Research Centre France S.A (collectively JJ2000
23 * Partners) agree not to assert against ISO/IEC and users of the JPEG
24 * 2000 Standard (Users) any of their rights under the copyright, not
25 * including other intellectual property rights, for this software module
26 * with respect to the usage by ISO/IEC and Users of this software module
27 * or modifications thereof for use in hardware or software products
28 * claiming conformance to the JPEG 2000 Standard. Those intending to use
29 * this software module in hardware or software products are advised that
30 * their use may infringe existing patents. The original developers of
31 * this software module, JJ2000 Partners and ISO/IEC assume no liability
32 * for use of this software module or modifications thereof. No license
33 * or right to this software module is granted for non JPEG 2000 Standard
34 * conforming products. JJ2000 Partners have full right to use this
35 * software module for his/her own purpose, assign or donate this
36 * software module to any third party and to inhibit third parties from
37 * using this software module for non JPEG 2000 Standard conforming
38 * products. This copyright notice must be included in all copies or
39 * derivative works of this software module.
40 *
41 * Copyright (c) 1999/2000 JJ2000 Partners.
42 * */
43 using System;
44 using CSJ2K.j2k.image;
45 namespace CSJ2K.j2k.codestream
46 {
47  
48 /// <summary> This class is used to store the coordinates of code-blocks.
49 ///
50 /// </summary>
51 public class CBlkCoordInfo:CoordInfo
52 {
53  
54 /// <summary>The code-block horizontal and vertical indexes </summary>
55 public Coord idx;
56  
57 /// <summary> Constructor. Creates a CBlkCoordInfo object.
58 ///
59 /// </summary>
60 public CBlkCoordInfo()
61 {
62 this.idx = new Coord();
63 }
64  
65 /// <summary> Constructor. Creates a CBlkCoordInfo object width specified code-block
66 /// vertical and horizontal indexes.
67 ///
68 /// </summary>
69 /// <param name="m">Code-block vertical index.
70 ///
71 /// </param>
72 /// <param name="n">Code-block horizontal index.
73 ///
74 /// </param>
75 public CBlkCoordInfo(int m, int n)
76 {
77 this.idx = new Coord(n, m);
78 }
79  
80 /// <summary> Returns code-block's information in a String
81 ///
82 /// </summary>
83 /// <returns> String with code-block's information
84 ///
85 /// </returns>
86 public override System.String ToString()
87 {
88 return base.ToString() + ",idx=" + idx;
89 }
90 }
91 }