|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IAGKeyframe
Provides access to keyframes of animated objects.
A keyframe stores a snapshot of the properties of an animation object at a given moment. When an animation is played, keyframes are interpolated and applied to the animation objects to create the dynamic visual effect.
Method Summary | |
---|---|
void |
apply(IAGAnimationTrack pTrack,
IAGAnimationContainer pContainer,
Object pObject)
Apply to the object the active properties of the keyframe. |
void |
captureProperties(IAGAnimationContainer pContainer,
Object pObject)
Copy the properties from the object to the keyframe. |
ILongArray |
getActiveProperties()
The combination of active properties. |
String |
getName()
The name of the keyframe. |
Object |
getPropertyValue(int propIndex)
The value of a typed property. |
double |
getTimeStamp()
The time stamp (in the interval 0-1). |
IAGAnimationType |
IAGKeyframe_getAnimationType()
The animation type. |
void |
interpolate(IAGAnimationTrack pTrack,
IAGAnimationContainer pContainer,
Object pObject,
int propertyIndex,
double time,
IAGKeyframe pNextKeyframe,
IAGKeyframe pPrevKeyframe,
IAGKeyframe pAfterNextKeyframe)
Interpolates the values of an object property for a time between this keyframe and the next (time is in [0,1]). |
boolean |
isActiveProperty(int propIndex)
Indicates if an animation property is active. |
boolean |
isObjectNeedsRefresh()
Indicates if the object must be refreshed after interpolating its state. |
void |
refreshObject(IAGAnimationTrack pTrack,
IAGAnimationContainer pContainer,
Object pObject)
Recreates the object after its properties have been interpolated. |
void |
setActiveProperties(ILongArray ppActiveProps)
The combination of active properties. |
void |
setIsActiveProperty(int propIndex,
boolean pbIsActiveProp)
Indicates if an animation property is active. |
void |
setName(String name)
The name of the keyframe. |
void |
setPropertyValue(int propIndex,
Object pValue)
The value of a typed property. |
void |
setTimeStamp(double pTimeStamp)
The time stamp (in the interval 0-1). |
Method Detail |
---|
String getName() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setName(String name) throws IOException, AutomationException
name
- The name (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.ILongArray getActiveProperties() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setActiveProperties(ILongArray ppActiveProps) throws IOException, AutomationException
ppActiveProps
- A reference to a com.esri.arcgis.system.ILongArray (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean isActiveProperty(int propIndex) throws IOException, AutomationException
propIndex
- The propIndex (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setIsActiveProperty(int propIndex, boolean pbIsActiveProp) throws IOException, AutomationException
propIndex
- The propIndex (in)pbIsActiveProp
- The pbIsActiveProp (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.Object getPropertyValue(int propIndex) throws IOException, AutomationException
propIndex
- The propIndex (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setPropertyValue(int propIndex, Object pValue) throws IOException, AutomationException
propIndex
- The propIndex (in)pValue
- A Variant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setTimeStamp(double pTimeStamp) throws IOException, AutomationException
pTimeStamp
- The pTimeStamp (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.double getTimeStamp() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IAGAnimationType IAGKeyframe_getAnimationType() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void apply(IAGAnimationTrack pTrack, IAGAnimationContainer pContainer, Object pObject) throws IOException, AutomationException
pTrack
- A reference to a com.esri.arcgis.animation.IAGAnimationTrack (in)pContainer
- A reference to a com.esri.arcgis.animation.IAGAnimationContainer (in)pObject
- A Variant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void captureProperties(IAGAnimationContainer pContainer, Object pObject) throws IOException, AutomationException
pContainer
- A reference to a com.esri.arcgis.animation.IAGAnimationContainer (in)pObject
- A Variant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void interpolate(IAGAnimationTrack pTrack, IAGAnimationContainer pContainer, Object pObject, int propertyIndex, double time, IAGKeyframe pNextKeyframe, IAGKeyframe pPrevKeyframe, IAGKeyframe pAfterNextKeyframe) throws IOException, AutomationException
pTrack
- A reference to a com.esri.arcgis.animation.IAGAnimationTrack (in)pContainer
- A reference to a com.esri.arcgis.animation.IAGAnimationContainer (in)pObject
- A Variant (in)propertyIndex
- The propertyIndex (in)time
- The time (in)pNextKeyframe
- A reference to a com.esri.arcgis.animation.IAGKeyframe (in)pPrevKeyframe
- A reference to a com.esri.arcgis.animation.IAGKeyframe (in)pAfterNextKeyframe
- A reference to a com.esri.arcgis.animation.IAGKeyframe (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean isObjectNeedsRefresh() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void refreshObject(IAGAnimationTrack pTrack, IAGAnimationContainer pContainer, Object pObject) throws IOException, AutomationException
pTrack
- A reference to a com.esri.arcgis.animation.IAGAnimationTrack (in)pContainer
- A reference to a com.esri.arcgis.animation.IAGAnimationContainer (in)pObject
- A Variant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |