|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IKeyframe
Provides access to keyframe of animated objects.
Keyframes encapsulate some properties and behaviors of an animated object. IKeyframe interface can be used to access those properties and methods. Starting from ArcGIS 8.2 3D Analyst extension, three built-in objects (Camera, Layer, and Scene) can be animated by using IKeyframe, which is already implemented for all three internally and used by the animation tools on the Animation Toolbar. Developers can animate other objects by first implementing IKeyframe interface for those objects.
Method Summary | |
---|---|
void |
apply(IScene pScene,
Object pObject)
Apply to the object the active properties of the keyframe. |
void |
captureProperties(IScene pScene,
Object pObject)
Copy the properties from the object to the keyframe. |
ILongArray |
getActiveProperties()
The combination of active properties. |
IAnimationType |
getAnimationType()
The animation type. |
String |
getName()
The name of the keyframe. |
double |
getPropertyValueDouble(int propIndex)
The value of a double-typed property. |
IEnvelope |
getPropertyValueExtent(int propIndex)
The value of an Extent-typed property. |
int |
getPropertyValueInt(int propIndex)
The value of an integer typed property. |
int |
getPropertyValueLong(int propIndex)
The value of a long integer typed property. |
IPoint |
getPropertyValuePoint(int propIndex)
The value of a Point-typed property. |
IColor |
getPropertyValueRGBColor(int propIndex)
The value of an RGB Color-typed property. |
double |
getTimeStamp()
The time stamp (in the interval 0-1). |
void |
interpolate(IScene pScene,
Object pObject,
int propertyIndex,
double time,
IKeyframe pNextKeyframe,
IKeyframe pPrevKeyframe,
IKeyframe 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. |
boolean |
isPropertyValueBoolean(int propIndex)
Indicates if the property is TRUE. |
void |
refreshObject(IScene pScene,
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 |
setPropertyValueBoolean(int propIndex,
boolean pBoolValue)
Indicates if the property is TRUE. |
void |
setPropertyValueDouble(int propIndex,
double pDoubleValue)
The value of a double-typed property. |
void |
setPropertyValueExtent(int propIndex,
IEnvelope ppExtent)
The value of an Extent-typed property. |
void |
setPropertyValueInt(int propIndex,
int pIntValue)
The value of an integer typed property. |
void |
setPropertyValueLong(int propIndex,
int pLongValue)
The value of a long integer typed property. |
void |
setPropertyValuePoint(int propIndex,
IPoint ppPoint)
The value of a Point-typed property. |
void |
setPropertyValueRGBColor(int propIndex,
IColor ppColor)
The value of an RGB Color-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.int getPropertyValueInt(int propIndex) throws IOException, AutomationException
propIndex
- The propIndex (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getPropertyValueLong(int propIndex) throws IOException, AutomationException
propIndex
- The propIndex (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.double getPropertyValueDouble(int propIndex) throws IOException, AutomationException
propIndex
- The propIndex (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean isPropertyValueBoolean(int propIndex) throws IOException, AutomationException
propIndex
- The propIndex (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IPoint getPropertyValuePoint(int propIndex) throws IOException, AutomationException
propIndex
- The propIndex (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IEnvelope getPropertyValueExtent(int propIndex) throws IOException, AutomationException
propIndex
- The propIndex (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IColor getPropertyValueRGBColor(int propIndex) throws IOException, AutomationException
propIndex
- The propIndex (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setPropertyValueInt(int propIndex, int pIntValue) throws IOException, AutomationException
propIndex
- The propIndex (in)pIntValue
- The pIntValue (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setPropertyValueLong(int propIndex, int pLongValue) throws IOException, AutomationException
propIndex
- The propIndex (in)pLongValue
- The pLongValue (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setPropertyValueDouble(int propIndex, double pDoubleValue) throws IOException, AutomationException
propIndex
- The propIndex (in)pDoubleValue
- The pDoubleValue (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setPropertyValueBoolean(int propIndex, boolean pBoolValue) throws IOException, AutomationException
propIndex
- The propIndex (in)pBoolValue
- The pBoolValue (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setPropertyValuePoint(int propIndex, IPoint ppPoint) throws IOException, AutomationException
propIndex
- The propIndex (in)ppPoint
- A reference to a com.esri.arcgis.geometry.IPoint (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setPropertyValueExtent(int propIndex, IEnvelope ppExtent) throws IOException, AutomationException
propIndex
- The propIndex (in)ppExtent
- A reference to a com.esri.arcgis.geometry.IEnvelope (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setPropertyValueRGBColor(int propIndex, IColor ppColor) throws IOException, AutomationException
propIndex
- The propIndex (in)ppColor
- A reference to a com.esri.arcgis.display.IColor (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.IAnimationType getAnimationType() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void apply(IScene pScene, Object pObject) throws IOException, AutomationException
The second argument of this method can be a Camera, a Layer, or a Scene object, which corresponds to one of the three built-in animation types.
pScene
- A reference to a com.esri.arcgis.analyst3d.IScene (in)pObject
- A Variant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void captureProperties(IScene pScene, Object pObject) throws IOException, AutomationException
pScene
- A reference to a com.esri.arcgis.analyst3d.IScene (in)pObject
- A Variant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void interpolate(IScene pScene, Object pObject, int propertyIndex, double time, IKeyframe pNextKeyframe, IKeyframe pPrevKeyframe, IKeyframe pAfterNextKeyframe) throws IOException, AutomationException
pScene
- A reference to a com.esri.arcgis.analyst3d.IScene (in)pObject
- A Variant (in)propertyIndex
- The propertyIndex (in)time
- The time (in)pNextKeyframe
- A reference to a com.esri.arcgis.analyst3d.IKeyframe (in)pPrevKeyframe
- A reference to a com.esri.arcgis.analyst3d.IKeyframe (in)pAfterNextKeyframe
- A reference to a com.esri.arcgis.analyst3d.IKeyframe (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(IScene pScene, Object pObject) throws IOException, AutomationException
pScene
- A reference to a com.esri.arcgis.analyst3d.IScene (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 |