Package mgui.io.domestic.shapes
Class VolumeInputOptions
java.lang.Object
mgui.interfaces.InterfaceOptions
mgui.io.InterfaceIOOptions
mgui.io.domestic.shapes.ShapeInputOptions
mgui.io.domestic.shapes.VolumeInputOptions
- All Implemented Interfaces:
InterfaceObject,NamedObject,TreeObject,CleanableObject,XMLObject
public class VolumeInputOptions extends ShapeInputOptions
Options specifying a Volume3DInt object.
- Since:
- 1.0
- Version:
- 1.0
- Author:
- Andrew Reid
-
Nested Class Summary
Nested classes/interfaces inherited from interface mgui.interfaces.xml.XMLObject
XMLObject.XMLEncoding, XMLObject.XMLType -
Field Summary
Fields Modifier and Type Field Description booleanallow_dim_changebooleanallow_geom_changedoublealpha_maxdoublealpha_minorg.jogamp.vecmath.Vector3faxis_xorg.jogamp.vecmath.Vector3faxis_yorg.jogamp.vecmath.Vector3faxis_zColourMapcolour_mapintdim_xintdim_yintdim_zjava.io.File[]filesbooleanflip_xbooleanflip_ybooleanflip_zfloatgeom_xfloatgeom_yfloatgeom_zbooleanhas_alphajava.lang.Stringinput_columnInterfaceIOTypeinput_typedoubleinterceptbooleanload_as_compositejava.lang.Stringnamejava.lang.String[]namesfloatorigin_xfloatorigin_yfloatorigin_zdoublescalebooleanset_dimsbooleanset_geombooleanset_originbooleanset_typeShapeSet3DIntshapeSetinttexture_typeinttransfer_typejava.lang.Stringvolume_loaderdoublewindow_middoublewindow_widthFields inherited from class mgui.io.domestic.shapes.ShapeInputOptions
shape, shape_set -
Constructor Summary
Constructors Constructor Description VolumeInputOptions()VolumeInputOptions(VolumeMetadata metadata) -
Method Summary
Modifier and Type Method Description javax.swing.JFileChoosergetFileChooser()Returns a file chooser appropriate for this options instancejavax.swing.JFileChoosergetFileChooser(java.io.File f)Returns a file chooser appropriate for this options instancejava.io.File[]getFiles()Returns the list of files associated with this options instanceVolumeFileLoadergetLoader()voidsetFiles(java.io.File[] files)Sets the list of files associated with this options instancevoidsetFiles(java.util.ArrayList<java.io.File> f, java.util.ArrayList<java.lang.String> n)voidsetFrom(VolumeInputOptions options)voidsetFromComplementaryOptions(InterfaceIOOptions options)Sets the values of this object from those ofoptions, defined for its complementary I/O interface.voidsetInputType(InterfaceIO loader)voidsetObject(InterfaceObject obj)Sets the object on which to perform an I/O operationMethods inherited from class mgui.io.domestic.shapes.ShapeInputOptions
setShapeSetMethods inherited from class mgui.io.InterfaceIOOptions
getDTD, getLocalName, getShortXML, getXML, getXML, getXMLSchema, handleXMLElementEnd, handleXMLElementStart, handleXMLString, writeXML, writeXML, writeXMLMethods inherited from class mgui.interfaces.InterfaceOptions
clean, destroy, getName, getTreeLabel, isDestroyed, issueTreeNode, setName, setTreeNodeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
shapeSet
-
files
public java.io.File[] files -
names
public java.lang.String[] names -
volume_loader
public java.lang.String volume_loader -
name
public java.lang.String name -
colour_map
-
set_origin
public boolean set_origin -
origin_x
public float origin_x -
origin_y
public float origin_y -
origin_z
public float origin_z -
set_dims
public boolean set_dims -
dim_x
public int dim_x -
dim_y
public int dim_y -
dim_z
public int dim_z -
set_geom
public boolean set_geom -
set_type
public boolean set_type -
geom_x
public float geom_x -
geom_y
public float geom_y -
geom_z
public float geom_z -
flip_x
public boolean flip_x -
flip_y
public boolean flip_y -
flip_z
public boolean flip_z -
axis_x
public org.jogamp.vecmath.Vector3f axis_x -
axis_y
public org.jogamp.vecmath.Vector3f axis_y -
axis_z
public org.jogamp.vecmath.Vector3f axis_z -
has_alpha
public boolean has_alpha -
scale
public double scale -
intercept
public double intercept -
window_width
public double window_width -
window_mid
public double window_mid -
alpha_min
public double alpha_min -
alpha_max
public double alpha_max -
allow_dim_change
public boolean allow_dim_change -
allow_geom_change
public boolean allow_geom_change -
transfer_type
public int transfer_type -
texture_type
public int texture_type -
input_column
public java.lang.String input_column -
load_as_composite
public boolean load_as_composite -
input_type
-
-
Constructor Details
-
VolumeInputOptions
public VolumeInputOptions() -
VolumeInputOptions
-
-
Method Details
-
setFiles
public void setFiles(java.util.ArrayList<java.io.File> f, java.util.ArrayList<java.lang.String> n) -
setInputType
-
getFileChooser
public javax.swing.JFileChooser getFileChooser()Description copied from class:InterfaceIOOptionsReturns a file chooser appropriate for this options instance- Overrides:
getFileChooserin classShapeInputOptions- Returns:
-
getFileChooser
public javax.swing.JFileChooser getFileChooser(java.io.File f)Description copied from class:InterfaceIOOptionsReturns a file chooser appropriate for this options instance- Overrides:
getFileChooserin classShapeInputOptions- Returns:
-
getFiles
public java.io.File[] getFiles()Description copied from class:InterfaceIOOptionsReturns the list of files associated with this options instance- Overrides:
getFilesin classShapeInputOptions- Returns:
-
getLoader
-
setFiles
public void setFiles(java.io.File[] files)Description copied from class:InterfaceIOOptionsSets the list of files associated with this options instance- Overrides:
setFilesin classShapeInputOptions
-
setFrom
-
setObject
Description copied from class:InterfaceIOOptionsSets the object on which to perform an I/O operation- Overrides:
setObjectin classShapeInputOptions- Throws:
java.lang.ClassCastException- ifobjis the wrong class for this options instance
-
setFromComplementaryOptions
Description copied from class:InterfaceIOOptionsSets the values of this object from those ofoptions, defined for its complementary I/O interface.- Overrides:
setFromComplementaryOptionsin classInterfaceIOOptions
-