|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--quicktime.app.image.QTEffect | +--quicktime.app.image.QTFilter
QTFilters are visual effects that are applied to a single source image. They inherit much of the characteristics of the QTEffect class.
Fields inherited from interface quicktime.app.image.Redrawable |
kMultiFrame, kSingleFrame |
Constructor Summary | |
QTFilter()
Creates a QTFilter which is a singleFrame filter and an initialSize of 0, 0. |
|
QTFilter(java.awt.Dimension d)
Deprecated. since QTJava 4.0 |
|
QTFilter(int isSingleFrame)
Creates a QTFilter of specified frame setting and an initialSize of 0, 0. |
|
QTFilter(int isSingleFrame,
java.awt.Dimension d)
Deprecated. since QTJava 4.0 |
|
QTFilter(int isSingleFrame,
QDDimension d)
Creates a QTFilter of specified frame setting and initSize. |
|
QTFilter(QDDimension d)
Creates a QTFilter which is a singleFrame filter and specified initialSize. |
Method Summary | |
QDDimension |
getOriginalSize()
This method returns the original size before the transformations specified in the returned matrix are applied. |
ImageSpec |
getSourceImage()
Returns the currently set source image of the QTFilter |
void |
setEffect(AtomContainer effectParams)
This method will take the incoming parameters and use this as the control parameters for the effect. |
void |
setSourceImage(ImageSpec image)
This sets the QT source of the QTFilter, which is the image that the current filter will be applied to when doEffect is called. |
protected boolean |
setUpSequence()
This method is called by a number of other methods to create the DSequence that is used to render the QTEffect. |
Methods inherited from class quicktime.app.image.QTEffect |
addedTo, checkForEffect, getClip, getCurrentFrame, getDescription, getDisplayBounds, getDSequence, getEffect, getFrames, getGraphicsMode, getGWorld, getImage, getInitialSize, getMatrix, isRedrawing, isSingleFrame, redraw, removedFrom, setClip, setDisplayBounds, setGraphicsMode, setGWorld, setLocation, setMatrix, setRedrawing |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public QTFilter() throws QTException
public QTFilter(java.awt.Dimension d) throws QTException
d
- the initSize of the effect.public QTFilter(QDDimension d) throws QTException
d
- the initSize of the effect.public QTFilter(int isSingleFrame) throws QTException
multiFrameFlag
- is normally set to kMultiFrame. The setting of this flag
will also set the initial setting of the redrawing flag. QTEffects
require redrawing so the default value is kMultiFrame. Typically the QTFilters do
not require redrawing so their default value is kSingleFrame. QTTransitions are
multiframes and so do require redrawing.public QTFilter(int isSingleFrame, java.awt.Dimension d) throws QTException
multiFrameFlag
- is normally set to kMultiFrame. The setting of this flag
will also set the initial setting of the redrawing flag. QTEffects
require redrawing so the default value is kMultiFrame. Typically the QTFilters do
not require redrawing so their default value is kSingleFrame. QTTransitions are
multiframes and so do require redrawing.d
- the initSize of the effect.public QTFilter(int isSingleFrame, QDDimension d) throws QTException
multiFrameFlag
- is normally set to kMultiFrame. The setting of this flag
will also set the initial setting of the redrawing flag. QTEffects
require redrawing so the default value is kMultiFrame. Typically the QTFilters do
not require redrawing so their default value is kSingleFrame. QTTransitions are
multiframes and so do require redrawing.d
- the initSize of the effect.Method Detail |
public void setEffect(AtomContainer effectParams) throws QTException
setEffect
in class QTEffect
effectParams
- the parameters that determine the effect that is runpublic QDDimension getOriginalSize() throws QTException
getOriginalSize
in class QTEffect
public void setSourceImage(ImageSpec image) throws QTException
image
- the image to use as the source of the filterpublic ImageSpec getSourceImage()
protected boolean setUpSequence() throws QTException
setUpSequence
in class QTEffect
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |