/***
 * Image/J Plugins
 * Copyright (C) 2002 Jarek Sacha
 *
 * 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, or (at your option) any later version.
 *
 * 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
 *
 * Latest release available at http://sourceforge.net/projects/ij-plugins/
 */
package net.sf.ij.io.vtk;

import net.sf.ij.util.Enumeration;

/**
 *  Possible tags in the VTK file header.
 *
 *@author     Jarek Sacha
 *@created    June 21, 2002
 *@version    $Revision: 1.1 $
 */

class VtkTag extends Enumeration {
  /**  # vtk DataFile Version */
  public final static VtkTag DATA_FILE_VERSION = new VtkTag("# vtk DataFile Version");
  /**  DATASET */
  public final static VtkTag DATASET = new VtkTag("DATASET");
  /**  DIMENSIONS */
  public final static VtkTag DIMENSIONS = new VtkTag("DIMENSIONS");
  /**  ORIGIN */
  public final static VtkTag ORIGIN = new VtkTag("ORIGIN");
  /**  SPACING */
  public final static VtkTag SPACING = new VtkTag("SPACING");
  /**  ASPECT_RATIO */
  public final static VtkTag ASPECT_RATIO = new VtkTag("ASPECT_RATIO");
  /**  POINT_DATA */
  public final static VtkTag POINT_DATA = new VtkTag("POINT_DATA");
  /**  SCALARS */
  public final static VtkTag SCALARS = new VtkTag("SCALARS");
  /**  LOOKUP_TABLE */
  public final static VtkTag LOOKUP_TABLE = new VtkTag("LOOKUP_TABLE");


  /**
   *  Constructor for the VtkTag object
   *
   *@param  name  Description of the Parameter
   */
  private VtkTag(String name) {
    super(name);
  }
}

@@ -1065,17 +1065,17 @@
 sion: 1.
-1
+2
  $%0A */%0A%0A
@@ -1646,24 +1646,110 @@
 CT_RATIO%22);%0A
+  /**  CELL_DATA */%0A  public final static VtkTag CELL_DATA = new VtkTag(%22CELL_DATA%22);%0A
   /**  POINT
@@ -1901,24 +1901,121 @@
 %22SCALARS%22);%0A
+  /** COLOR_SCALARS */%0A  public final static VtkTag COLOR_SCALARS = new VtkTag(%22COLOR_SCALARS%22);%0A
   /**  LOOKU

Add CELL_DATA and COLOR_SCALARS tags.