|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.swri.swiftvis.filters.AbstractMultipleSourceFilter
edu.swri.swiftvis.filters.MergeFilter
public class MergeFilter
This class gives the user a way to merge two or more data sets together in a serial manner. They can use a FunctionFilter to merge things in parallel so that the elements are twice as large. If two or more data sets are related such that they can be put end to end, this is the method for putting them together.
Field Summary | |
---|---|
private static long |
serialVersionUID
|
Fields inherited from class edu.swri.swiftvis.filters.AbstractMultipleSourceFilter |
---|
bounds, changed, dataVect, inputVector, propPanel, sinkVector |
Constructor Summary | |
---|---|
|
MergeFilter()
|
private |
MergeFilter(MergeFilter c,
java.util.List<GraphElement> l)
|
Method Summary | |
---|---|
MergeFilter |
copy(java.util.List<GraphElement> l)
|
java.lang.String |
getDescription()
|
DataElement |
getElement(int i)
Returns the specified data element for this source. |
int |
getNumElements()
Returns the number of data elements that this source has in it. |
int |
getNumParameters()
|
int |
getNumValues()
|
java.lang.String |
getParameterDescription(int which)
Tells you what a particular parameter is used for. |
java.lang.String |
getParameterName(int which,
int paramVal)
Tells you the text that should be used to describe a particular value of a given parameter. |
static java.lang.String |
getTypeDescription()
|
java.lang.String |
getValueDescription(int which)
Tells you what a particular value is used for. |
protected void |
redoAllElements()
This method is intended to reprocess all the input elements to redo the output. |
protected void |
setupSpecificPanelProperties()
This method should add any tabbed panes to the propPanel that are specific to the given filter. |
boolean |
useParameterNameString(int which)
If this returns true then the value of a parameter for this type should be listed as the strong value returned by getParameterName. |
Methods inherited from class edu.swri.swiftvis.filters.AbstractMultipleSourceFilter |
---|
abstractRedoAllElements, addInput, addOutput, clearData, getBounds, getNumOutputs, getNumSources, getOutput, getOutputInfoPanel, getPaint, getPropertiesPanel, getSource, getSourceInfoPanel, relink, removeInput, removeOutput, setBounds, sourceAltered, validInput |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private static final long serialVersionUID
Constructor Detail |
---|
public MergeFilter()
private MergeFilter(MergeFilter c, java.util.List<GraphElement> l)
Method Detail |
---|
public java.lang.String getDescription()
public static java.lang.String getTypeDescription()
protected void setupSpecificPanelProperties()
AbstractMultipleSourceFilter
setupSpecificPanelProperties
in class AbstractMultipleSourceFilter
public java.lang.String getParameterDescription(int which)
public boolean useParameterNameString(int which)
public java.lang.String getParameterName(int which, int paramVal)
public java.lang.String getValueDescription(int which)
public int getNumParameters()
getNumParameters
in interface DataSource
getNumParameters
in class AbstractMultipleSourceFilter
public int getNumValues()
getNumValues
in interface DataSource
getNumValues
in class AbstractMultipleSourceFilter
public DataElement getElement(int i)
DataSource
getElement
in interface DataSource
getElement
in class AbstractMultipleSourceFilter
i
- Which data element to return. Should be between 0 and getNumElements()-1.
public int getNumElements()
getNumElements
in interface DataSource
getNumElements
in class AbstractMultipleSourceFilter
public MergeFilter copy(java.util.List<GraphElement> l)
protected void redoAllElements()
AbstractMultipleSourceFilter
redoAllElements
in class AbstractMultipleSourceFilter
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |