|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IAnimationTrack
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(Object pObject)
Attach object to the track. |
void |
detachAllObjects()
Detach all objects from the track. |
void |
detachObject(Object pObject)
Detach object from the track. |
void |
findKeyframe(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. |
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(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(String name)
The name of the track. |
void |
sortKeyframes()
Sorts the keyframes in ascending time order. |
Method Detail |
---|
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.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.IAnimationType getAnimationType() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setAnimationTypeByRef(IAnimationType ppAnimationType) throws IOException, AutomationException
ppAnimationType
- A reference to a com.esri.arcgis.analyst3d.IAnimationType (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getKeyframeCount() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IKeyframe getKeyframe(int index) throws IOException, AutomationException
index
- The index (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean isCycle() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setIsCycle(boolean pbIsCycle) throws IOException, AutomationException
pbIsCycle
- The pbIsCycle (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.double getBeginTime() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setBeginTime(double pBeginTime) throws IOException, AutomationException
pBeginTime
- The pBeginTime (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.double getEndTime() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setEndTime(double pEndTime) throws IOException, AutomationException
pEndTime
- The pEndTime (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean isEnabled() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setIsEnabled(boolean pbIsEnabled) throws IOException, AutomationException
pbIsEnabled
- The pbIsEnabled (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setEvenTimeStamps(boolean pbEvenTimeStamps) throws IOException, AutomationException
pbEvenTimeStamps
- The pbEvenTimeStamps (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean isEvenTimeStamps() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setApplyToAllViewers(boolean pbApplyToAllViewers) throws IOException, AutomationException
pbApplyToAllViewers
- The pbApplyToAllViewers (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean isApplyToAllViewers() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getAttachedObjectsCount() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IArray getAttachedObjects() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean isAttached(Object pObject) throws IOException, AutomationException
pObject
- A reference to another Object (IUnknown) (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setAttachedObjects(IArray ppObjectArray) throws IOException, AutomationException
ppObjectArray
- A reference to a com.esri.arcgis.system.IArray (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void attachObject(Object pObject) throws IOException, AutomationException
pObject
- A reference to another Object (IUnknown) (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void detachObject(Object pObject) throws IOException, AutomationException
pObject
- A reference to another Object (IUnknown) (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void detachAllObjects() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void resetAttachedObjects(IScene pScene) throws IOException, AutomationException
pScene
- A reference to a com.esri.arcgis.analyst3d.IScene (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void insertKeyframe(IKeyframe pKeyframe, int index) throws IOException, AutomationException
pKeyframe
- A reference to a com.esri.arcgis.analyst3d.IKeyframe (in)index
- The index (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void removeKeyframe(int index) throws IOException, AutomationException
index
- The index (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void removeAllKeyframes() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void findKeyframe(String name, IKeyframe[] ppKeyframe) throws IOException, AutomationException
name
- The name (in)ppKeyframe
- A reference to a com.esri.arcgis.analyst3d.IKeyframe (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void moveKeyframe(int originIndex, int destinationIndex) throws IOException, AutomationException
originIndex
- The originIndex (in)destinationIndex
- The destinationIndex (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void sortKeyframes() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void resetTimeStamps() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void saveObjectProperties(IScene pScene, int index) throws IOException, AutomationException
pScene
- A reference to a com.esri.arcgis.analyst3d.IScene (in)index
- The index (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void restoreObjectProperties(IScene pScene, int index) throws IOException, AutomationException
pScene
- A reference to a com.esri.arcgis.analyst3d.IScene (in)index
- The index (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void interpolateObjectProperties(IScene pScene, double time) throws IOException, AutomationException
pScene
- A reference to a com.esri.arcgis.analyst3d.IScene (in)time
- The time (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 |