Class Volume4DInt

All Implemented Interfaces:
java.awt.datatransfer.Transferable, java.lang.Comparable<InterfaceShape>, AttributeListener, AttributeObject, InterfaceObject, PersistentObject, ColourMapListener, VariableObject, PopupMenuObject, NamedObject, InterfaceQueryObject, Shape4DInt, InterfaceShapeQueryObject, ShapeListener, VertexDataColumnListener, InterfaceTransferable, TreeObject, CleanableObject, XMLObject, IconObject, org.jogamp.java3d.GeometryUpdater, org.jogamp.java3d.ImageComponent3D.Updater

public class Volume4DInt
extends Volume3DInt
implements Shape4DInt
Volume with 3 space and 1 time dimension.
Author:
Andrew Reid
  • Field Details

    • baseGrid

      public Grid3D baseGrid
    • sampleDataType

      public DataType sampleDataType
    • dynX

      public int dynX
    • dynY

      public int dynY
    • dynZ

      public int dynZ
  • Constructor Details

    • Volume4DInt

      public Volume4DInt()
    • Volume4DInt

      public Volume4DInt​(Grid3D dyn_grid, Grid3D base_grid)
    • Volume4DInt

      public Volume4DInt​(Grid3D dyn_grid, Grid3D base_grid, ColourMap cmap)
  • Method Details

    • init

      protected void init()
      Overrides:
      init in class Volume3DInt
    • setBaseGrid

      public void setBaseGrid​(Grid3D grid)
    • getBaseGrid

      public Grid3D getBaseGrid()
    • showBaseGrid

      public boolean showBaseGrid()
    • showBaseGrid

      public void showBaseGrid​(boolean show)
    • getMinValue

      public int getMinValue()
    • getMaxValue

      public int getMaxValue()
    • setSample

      public void setSample​(int i) throws java.io.IOException
      Sets the display grid with sample i from this volume's input stream, using the integration method specified in the IntegrateMethod attribute. Sets a new updater which must be called using the update() method in order for the changes to be applied.
      Parameters:
      i - sample with which to set grid
      Throws:
      java.io.IOException - if inputStream is null or inputStream.sample(i) throws an exception