Package org.opensourcephysics.media.core
Class DarkGhostFilter
java.lang.Object
org.opensourcephysics.display.OSPRuntime.Supported
org.opensourcephysics.media.core.Filter
org.opensourcephysics.media.core.GhostFilter
org.opensourcephysics.media.core.DarkGhostFilter
This is a Filter that produces fading ghost images of dark objects on a
bright background.
- Version:
- 1.0
- Author:
- Douglas Brown
-
Nested Class Summary
Nested classes/interfaces inherited from class org.opensourcephysics.media.core.GhostFilter
GhostFilter.Inspector
Nested classes/interfaces inherited from class org.opensourcephysics.media.core.Filter
Filter.InspectorDlg
-
Field Summary
Fields inherited from class org.opensourcephysics.media.core.GhostFilter
defaultFade, fade, fadeField, fadeLabel, fadeSlider, inspector, values
Fields inherited from class org.opensourcephysics.media.core.Filter
ableButton, autoScale720x480, changed, clearButton, closeButton, copyItem, deleteItem, doCreateOutput, enabledAction, enabledItem, frame, h, hasInspector, haveGUI, heightFactor, input, inspectorDlg, inspectorVisible, inspectorX, inspectorY, nPixelsIn, output, pixelsIn, pixelsOut, previousState, propertiesItem, PROPERTY_FILTER_BRIGHTNESS, PROPERTY_FILTER_COLOR, PROPERTY_FILTER_ENABLED, PROPERTY_FILTER_FILTER, PROPERTY_FILTER_IMAGE, PROPERTY_FILTER_MEAN, PROPERTY_FILTER_RESET, PROPERTY_FILTER_TAB, PROPERTY_FILTER_VISIBLE, ROTATE_180, ROTATE_CCW_90, ROTATE_CW_90, ROTATE_NONE, rotationType, source, stack, vidPanel, w, widthFactor
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic XML.ObjectLoader
Returns an XML.ObjectLoader to save and load filter data.protected void
Sets the output image pixels to a ghost of the input pixels.Methods inherited from class org.opensourcephysics.media.core.GhostFilter
clear, getFade, initializeSubclass, initInspector, newInspector, refresh, setEnabled, setFade
Methods inherited from class org.opensourcephysics.media.core.Filter
addLocation, copy, dispose, finalize, getFilteredImage, getFrame, getInspector, getMenu, getPixels, getPixelsIn, getPixelsOut, getRaster, initializeSource, isChanged, isEnabled, setVideoPanel
Methods inherited from class org.opensourcephysics.display.OSPRuntime.Supported
addListeners, addPropertyChangeListener, addPropertyChangeListener, addPropertyChangeListenerSafely, dispose, firePropertyChange, firePropertyChange, removeListeners, removePropertyChangeListener, removePropertyChangeListener
-
Constructor Details
-
DarkGhostFilter
public DarkGhostFilter()
-
-
Method Details
-
setOutputPixels
protected void setOutputPixels()Sets the output image pixels to a ghost of the input pixels.- Overrides:
setOutputPixels
in classGhostFilter
-
getLoader
Returns an XML.ObjectLoader to save and load filter data.- Returns:
- the object loader
-