Class HDF5ObjectsGenerator

All Implemented Interfaces:
Generator<ObjectCollection>, TransformingGenerator<ObjectCollection,ObjectCollection>, ElementWriter<ObjectCollection>

public class HDF5ObjectsGenerator extends OneStageGenerator<ObjectCollection>
A generator that writes a ObjectCollection to a HDF5 file.
Author:
Owen Feehan
  • Field Details

    • NUMBER_OBJECTS_ATTRIBUTE_NAME

      public static final String NUMBER_OBJECTS_ATTRIBUTE_NAME
      Name of the attribute in the root of the HDF5 that stores the number of objects.
      See Also:
  • Constructor Details

    • HDF5ObjectsGenerator

      public HDF5ObjectsGenerator()
      Creates with compression activated.
    • HDF5ObjectsGenerator

      public HDF5ObjectsGenerator(boolean compressed)
      Creates a new HDF5ObjectsGenerator instance.
      Parameters:
      compressed - Whether to use compression when writing the object-masks in HDF5.
  • Method Details