|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Provides access to animation tracks.
Animation tracks are conceptually containers of animation keyframes. IAnimationTrack encapsulates properties and methods related to managing its keyframes and associating the animation track to proper objects.
| Method Summary | |
void |
attachObject(java.lang.Object pObject)
Attach object to the track. |
void |
detachAllObjects()
Detach all objects from the track. |
void |
detachObject(java.lang.Object pObject)
Detach object from the track. |
void |
findKeyframe(java.lang.String name,
IKeyframe[] ppKeyframe)
Finds a keyframe by name. |
ILongArray |
getActiveProperties()
The combination of active properties for the track. |
IAnimationType |
getAnimationType()
The animation type. |
IArray |
getAttachedObjects()
The objects to which the track is attached, or null. |
int |
getAttachedObjectsCount()
The number of objects to which the track is attached. |
double |
getBeginTime()
The initial time of the track. |
double |
getEndTime()
The final time of the track. |
IKeyframe |
getKeyframe(int index)
The keyframe with the given index in the track. |
int |
getKeyframeCount()
The number of keyframes defined in the track. |
java.lang.String |
getName()
The name of the track. |
void |
insertKeyframe(IKeyframe pKeyframe,
int index)
Inserts a new keyframe. |
void |
interpolateObjectProperties(IScene pScene,
double time)
Interpolates the state of the attached object for a time between BeginTime and Endtime. |
boolean |
isActiveProperty(int propIndex)
Indicates if an animation property is active. |
boolean |
isApplyToAllViewers()
Indicates whether to apply a camera track to all scene viewers. |
boolean |
isAttached(java.lang.Object pObject)
Indicates if the given objects is attached to the track. |
boolean |
isCycle()
Indicates if the track is repeated periodically. |
boolean |
isEnabled()
Indicates if the track is enabled. |
boolean |
isEvenTimeStamps()
Indicates whether to distribute time stamps evenly in the interval 0-1. |
void |
moveKeyframe(int originIndex,
int destinationIndex)
Moves the keyframe with the given index, inserting it with a different index. |
void |
removeAllKeyframes()
Removes all the keyframes. |
void |
removeKeyframe(int index)
Removes the keyframe with the given index. |
void |
resetAttachedObjects(IScene pScene)
Reset the state of the attached objects to be ready for animation. |
void |
resetTimeStamps()
Redistributes the time stamps in the interval [0,1]. |
void |
restoreObjectProperties(IScene pScene,
int index)
Restores the saved properties of the attached object specified. |
void |
saveObjectProperties(IScene pScene,
int index)
Internally saves the properties of the attached object specified. |
void |
setActiveProperties(ILongArray ppActiveProps)
The combination of active properties for the track. |
void |
setAnimationTypeByRef(IAnimationType ppAnimationType)
The animation type. |
void |
setApplyToAllViewers(boolean pbApplyToAllViewers)
Indicates whether to apply a camera track to all scene viewers. |
void |
setAttachedObjects(IArray ppObjectArray)
The objects to which the track is attached, or null. |
void |
setBeginTime(double pBeginTime)
The initial time of the track. |
void |
setEndTime(double pEndTime)
The final time of the track. |
void |
setEvenTimeStamps(boolean pbEvenTimeStamps)
Indicates whether to distribute time stamps evenly in the interval 0-1. |
void |
setIsActiveProperty(int propIndex,
boolean pbIsActiveProp)
Indicates if an animation property is active. |
void |
setIsCycle(boolean pbIsCycle)
Indicates if the track is repeated periodically. |
void |
setIsEnabled(boolean pbIsEnabled)
Indicates if the track is enabled. |
void |
setName(java.lang.String name)
The name of the track. |
void |
sortKeyframes()
Sorts the keyframes in ascending time order. |
| Method Detail |
public ILongArray getActiveProperties()
throws java.io.IOException,
AutomationException
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setActiveProperties(ILongArray ppActiveProps)
throws java.io.IOException,
AutomationException
ppActiveProps - A reference to a com.esri.arcgis.system.ILongArray (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isActiveProperty(int propIndex)
throws java.io.IOException,
AutomationException
propIndex - The propIndex (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setIsActiveProperty(int propIndex,
boolean pbIsActiveProp)
throws java.io.IOException,
AutomationException
propIndex - The propIndex (in)pbIsActiveProp - The pbIsActiveProp (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public java.lang.String getName()
throws java.io.IOException,
AutomationException
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setName(java.lang.String name)
throws java.io.IOException,
AutomationException
name - The name (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IAnimationType getAnimationType()
throws java.io.IOException,
AutomationException
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setAnimationTypeByRef(IAnimationType ppAnimationType)
throws java.io.IOException,
AutomationException
ppAnimationType - A reference to a com.esri.arcgis.analyst3d.IAnimationType (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getKeyframeCount()
throws java.io.IOException,
AutomationException
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IKeyframe getKeyframe(int index)
throws java.io.IOException,
AutomationException
index - The index (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isCycle()
throws java.io.IOException,
AutomationException
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setIsCycle(boolean pbIsCycle)
throws java.io.IOException,
AutomationException
pbIsCycle - The pbIsCycle (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public double getBeginTime()
throws java.io.IOException,
AutomationException
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setBeginTime(double pBeginTime)
throws java.io.IOException,
AutomationException
pBeginTime - The pBeginTime (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public double getEndTime()
throws java.io.IOException,
AutomationException
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setEndTime(double pEndTime)
throws java.io.IOException,
AutomationException
pEndTime - The pEndTime (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isEnabled()
throws java.io.IOException,
AutomationException
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setIsEnabled(boolean pbIsEnabled)
throws java.io.IOException,
AutomationException
pbIsEnabled - The pbIsEnabled (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setEvenTimeStamps(boolean pbEvenTimeStamps)
throws java.io.IOException,
AutomationException
pbEvenTimeStamps - The pbEvenTimeStamps (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isEvenTimeStamps()
throws java.io.IOException,
AutomationException
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setApplyToAllViewers(boolean pbApplyToAllViewers)
throws java.io.IOException,
AutomationException
pbApplyToAllViewers - The pbApplyToAllViewers (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isApplyToAllViewers()
throws java.io.IOException,
AutomationException
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getAttachedObjectsCount()
throws java.io.IOException,
AutomationException
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IArray getAttachedObjects()
throws java.io.IOException,
AutomationException
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isAttached(java.lang.Object pObject)
throws java.io.IOException,
AutomationException
pObject - A reference to another Object (IUnknown) (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setAttachedObjects(IArray ppObjectArray)
throws java.io.IOException,
AutomationException
ppObjectArray - A reference to a com.esri.arcgis.system.IArray (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void attachObject(java.lang.Object pObject)
throws java.io.IOException,
AutomationException
pObject - A reference to another Object (IUnknown) (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void detachObject(java.lang.Object pObject)
throws java.io.IOException,
AutomationException
pObject - A reference to another Object (IUnknown) (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void detachAllObjects()
throws java.io.IOException,
AutomationException
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void resetAttachedObjects(IScene pScene)
throws java.io.IOException,
AutomationException
pScene - A reference to a com.esri.arcgis.analyst3d.IScene (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void insertKeyframe(IKeyframe pKeyframe,
int index)
throws java.io.IOException,
AutomationException
pKeyframe - A reference to a com.esri.arcgis.analyst3d.IKeyframe (in)index - The index (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void removeKeyframe(int index)
throws java.io.IOException,
AutomationException
index - The index (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void removeAllKeyframes()
throws java.io.IOException,
AutomationException
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void findKeyframe(java.lang.String name,
IKeyframe[] ppKeyframe)
throws java.io.IOException,
AutomationException
name - The name (in)ppKeyframe - A reference to a com.esri.arcgis.analyst3d.IKeyframe (out: use single element array)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void moveKeyframe(int originIndex,
int destinationIndex)
throws java.io.IOException,
AutomationException
originIndex - The originIndex (in)destinationIndex - The destinationIndex (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void sortKeyframes()
throws java.io.IOException,
AutomationException
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void resetTimeStamps()
throws java.io.IOException,
AutomationException
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void saveObjectProperties(IScene pScene,
int index)
throws java.io.IOException,
AutomationException
pScene - A reference to a com.esri.arcgis.analyst3d.IScene (in)index - The index (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void restoreObjectProperties(IScene pScene,
int index)
throws java.io.IOException,
AutomationException
pScene - A reference to a com.esri.arcgis.analyst3d.IScene (in)index - The index (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void interpolateObjectProperties(IScene pScene,
double time)
throws java.io.IOException,
AutomationException
pScene - A reference to a com.esri.arcgis.analyst3d.IScene (in)time - The time (in)
java.io.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 | |||||||||