edu.jhu.ece.iacl.jist.pipeline.factory
Class ParamVolumeCollectionFactory

java.lang.Object
  extended by edu.jhu.ece.iacl.jist.pipeline.factory.ParamFactory
      extended by edu.jhu.ece.iacl.jist.pipeline.factory.ParamFileCollectionFactory
          extended by edu.jhu.ece.iacl.jist.pipeline.factory.ParamVolumeCollectionFactory
Direct Known Subclasses:
ParamWeightedVolumeCollectionFactory

public class ParamVolumeCollectionFactory
extends ParamFileCollectionFactory

Volume collection parameter factory.

Author:
Blake Lucas (bclucas@jhu.edu)

Field Summary
 
Fields inherited from class edu.jhu.ece.iacl.jist.pipeline.factory.ParamFactory
inputView, outputView
 
Constructor Summary
ParamVolumeCollectionFactory()
          Instantiates a new param volume collection factory.
ParamVolumeCollectionFactory(ParamVolumeCollection param)
          Instantiates a new param volume collection factory.
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 ParamInputView getInputView()
          Get the current input view.
 ParamOutputView getOutputView()
          Get the current output view.
 ParamVolumeCollection getParameter()
          Get the parameter.
 void importMipavParameter(ParameterTable paramTable)
          Import Mipav parameter into this parameter.
 boolean loadResources(ParamModel foreignCollection, javax.swing.ProgressMonitor monitor)
          Load Model Image from file specified in foreign parameter.
 boolean saveResources(java.io.File dir, boolean saveSubDirectoryOverride)
          Save Surfaces to specified directory.
 
Methods inherited from class edu.jhu.ece.iacl.jist.pipeline.factory.ParamFileCollectionFactory
createMipavParameter
 
Methods inherited from class edu.jhu.ece.iacl.jist.pipeline.factory.ParamFactory
createTreeNode, decodeName, decodeValue, encodeName, encodeValue, fromXML, fromXML, importParameter, isCompatible, read, read, setInputView, setOutputView, toXML, write, write
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ParamVolumeCollectionFactory

public ParamVolumeCollectionFactory()
Instantiates a new param volume collection factory.


ParamVolumeCollectionFactory

public ParamVolumeCollectionFactory(ParamVolumeCollection param)
Instantiates a new param volume collection factory.

Parameters:
param - the param
Method Detail

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class ParamFileCollectionFactory

getInputView

public ParamInputView getInputView()
Description copied from class: ParamFactory
Get the current input view.

Overrides:
getInputView in class ParamFileCollectionFactory
Returns:
the input view

getOutputView

public ParamOutputView getOutputView()
Description copied from class: ParamFactory
Get the current output view.

Overrides:
getOutputView in class ParamFileCollectionFactory
Returns:
the output view

getParameter

public ParamVolumeCollection getParameter()
Description copied from class: ParamFactory
Get the parameter.

Overrides:
getParameter in class ParamFileCollectionFactory
Returns:
the parameter

importMipavParameter

public void importMipavParameter(ParameterTable paramTable)
                          throws ParameterException
Description copied from class: ParamFactory
Import Mipav parameter into this parameter.

Overrides:
importMipavParameter in class ParamFileCollectionFactory
Parameters:
paramTable - the param table
Throws:
ParameterException - the parameter exception

loadResources

public boolean loadResources(ParamModel foreignCollection,
                             javax.swing.ProgressMonitor monitor)
Load Model Image from file specified in foreign parameter.

Overrides:
loadResources in class ParamFactory
Parameters:
foreignCollection - foreign collection of parameters
monitor - the monitor
Returns:
external resources loaded correctly

saveResources

public boolean saveResources(java.io.File dir,
                             boolean saveSubDirectoryOverride)
Save Surfaces to specified directory.

Overrides:
saveResources in class ParamFactory
Parameters:
dir - save directory
Returns:
resources saved correctly