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 boolean
allow_dim_change
boolean
allow_geom_change
double
alpha_max
double
alpha_min
org.jogamp.vecmath.Vector3f
axis_x
org.jogamp.vecmath.Vector3f
axis_y
org.jogamp.vecmath.Vector3f
axis_z
ColourMap
colour_map
int
dim_x
int
dim_y
int
dim_z
java.io.File[]
files
boolean
flip_x
boolean
flip_y
boolean
flip_z
float
geom_x
float
geom_y
float
geom_z
boolean
has_alpha
java.lang.String
input_column
InterfaceIOType
input_type
double
intercept
boolean
load_as_composite
java.lang.String
name
java.lang.String[]
names
float
origin_x
float
origin_y
float
origin_z
double
scale
boolean
set_dims
boolean
set_geom
boolean
set_origin
boolean
set_type
ShapeSet3DInt
shapeSet
int
texture_type
int
transfer_type
java.lang.String
volume_loader
double
window_mid
double
window_width
Fields 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.JFileChooser
getFileChooser()
Returns a file chooser appropriate for this options instancejavax.swing.JFileChooser
getFileChooser(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 instanceVolumeFileLoader
getLoader()
void
setFiles(java.io.File[] files)
Sets the list of files associated with this options instancevoid
setFiles(java.util.ArrayList<java.io.File> f, java.util.ArrayList<java.lang.String> n)
void
setFrom(VolumeInputOptions options)
void
setFromComplementaryOptions(InterfaceIOOptions options)
Sets the values of this object from those ofoptions
, defined for its complementary I/O interface.void
setInputType(InterfaceIO loader)
void
setObject(InterfaceObject obj)
Sets the object on which to perform an I/O operationMethods inherited from class mgui.io.domestic.shapes.ShapeInputOptions
setShapeSet
Methods inherited from class mgui.io.InterfaceIOOptions
getDTD, getLocalName, getShortXML, getXML, getXML, getXMLSchema, handleXMLElementEnd, handleXMLElementStart, handleXMLString, writeXML, writeXML, writeXML
Methods inherited from class mgui.interfaces.InterfaceOptions
clean, destroy, getName, getTreeLabel, isDestroyed, issueTreeNode, setName, setTreeNode
Methods 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:InterfaceIOOptions
Returns a file chooser appropriate for this options instance- Overrides:
getFileChooser
in classShapeInputOptions
- Returns:
-
getFileChooser
public javax.swing.JFileChooser getFileChooser(java.io.File f)Description copied from class:InterfaceIOOptions
Returns a file chooser appropriate for this options instance- Overrides:
getFileChooser
in classShapeInputOptions
- Returns:
-
getFiles
public java.io.File[] getFiles()Description copied from class:InterfaceIOOptions
Returns the list of files associated with this options instance- Overrides:
getFiles
in classShapeInputOptions
- Returns:
-
getLoader
-
setFiles
public void setFiles(java.io.File[] files)Description copied from class:InterfaceIOOptions
Sets the list of files associated with this options instance- Overrides:
setFiles
in classShapeInputOptions
-
setFrom
-
setObject
Description copied from class:InterfaceIOOptions
Sets the object on which to perform an I/O operation- Overrides:
setObject
in classShapeInputOptions
- Throws:
java.lang.ClassCastException
- ifobj
is the wrong class for this options instance
-
setFromComplementaryOptions
Description copied from class:InterfaceIOOptions
Sets the values of this object from those ofoptions
, defined for its complementary I/O interface.- Overrides:
setFromComplementaryOptions
in classInterfaceIOOptions
-