|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.animation.AGAnimationUtils
public class AGAnimationUtils
COM Class 'AGAnimationUtils'. Generated 3/19/2015 1:20:41 PM from 'C:\ArcGIS\COM\esriAnimation.olb'
Description 'Class containing common implementation of utility methods.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =
Field Summary |
---|
Fields inherited from interface com.esri.arcgis.animation.IAGAnimationPlayer |
---|
IID, IID22a2663f_5edb_4ce3_9f97_53db2d3d4caa, xxDummy |
Fields inherited from interface com.esri.arcgis.animation.IAGAnimationUtils |
---|
IID, IIDd0f357c6_b826_4f9a_9c62_cb919fcb84a8, xxDummy |
Fields inherited from interface com.esri.arcgis.animation.IVideoExportUtils2 |
---|
IID, IIDb082ac71_d735_48f5_b918_8def9129bb2c, xxDummy |
Fields inherited from interface com.esri.arcgis.animation.IVideoExportUtils |
---|
IID3bd31712_38e4_4b6f_9ef5_bd46f90276a9 |
Fields inherited from interface com.esri.arcgis.display.IConnectionPointContainer |
---|
IID, IIDb196b284_bab4_101a_b69c_00aa00341d07, xxDummy |
Constructor Summary | |
---|---|
AGAnimationUtils()
Constructs a AGAnimationUtils using ArcGIS Engine. |
|
AGAnimationUtils(java.lang.Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. AGAnimationUtils theAGAnimationUtils = (AGAnimationUtils) obj; |
Method Summary | |
---|---|
void |
addIAnimationEventsListener(IAnimationEvents theListener)
addIAnimationEventsListener. |
void |
calculateDisplayFrames(IAGAnimationTracks pTracks,
int[] pFrames)
Calculate the number of frames to display based on the minimum animation interval. |
void |
captureCurrentView(IAGAnimationTracks pTracks,
IAGAnimationEnvironment pEnvironment)
Creates a keyframe to capture the current view and adds it to the current animation. |
void |
createFlybyFromPath(IAGAnimationContainer pContainer,
IAGImportPathOptions pOptions)
Create a flyby animation from a path. |
void |
createLayerGroupAnimation(IAGAnimationContainer pContainer,
IAGGroupAnimationOptions pOptions)
Create a layer group animation. |
void |
enumConnectionPoints(IEnumConnectionPoints[] ppEnum)
enumConnectionPoints |
boolean |
equals(java.lang.Object o)
Compare this object with another |
void |
findConnectionPoint(GUID riid,
IConnectionPoint[] ppCP)
findConnectionPoint |
void |
getCameraProperties(IAGAnimationContainer pContainer,
IDoubleArray[] ppCameraProps)
The camera properties. |
static java.lang.String |
getClsid()
getClsid. |
com.esri.arcgis.interop.Dispatch |
getJintegraDispatch()
Deprecated. Internal use only. |
void |
getOffScreenBitmapHandle(IAGAnimationContainer pContainer,
int[] phBitmap)
The bitmap handle from an offscreen rendering buffer. |
void |
getOffScreenTiledBitmapHandle(IAGAnimationContainer pContainer,
tagRECT pOutputRect,
int[] phBitmap)
The tiled bitmap handle from an offscreen rendering buffer. |
void |
getWindowBitmapHandle(IAGAnimationContainer pContainer,
int[] phBitmap)
The bitmap handle from an OpenGL or GDI rendered window. |
int |
hashCode()
the hashcode for this object |
boolean |
isBBoxNavigationMode(IAGAnimationContainer pContainer)
Indicates bounding box navigation mode. |
void |
keyframeFromBookmark(IAGAnimationContainer pContainer,
ISpatialBookmark pBookmark,
IAGKeyframe[] ppKeyframe)
Create a view keyframe from a spatial bookmark. |
void |
loadAnimationFile(IAGAnimationContainer pContainer,
java.lang.String pFilename)
Load the animation from a file. |
void |
pauseAnimation()
Pauses the playing or recording of the animation. |
void |
playAnimation(IAGAnimationTracks pTracks,
IAGAnimationEnvironment pEnvironment,
IStatusBar pStatusBar)
Plays the animation according to the animation environment options. |
void |
recordAnimation(IAGAnimationTracks pTracks,
IAGAnimationEnvironment pEnvironment,
boolean bOverwrite)
Records a view animation. |
void |
release()
Release a AGAnimationUtils. |
void |
removeIAnimationEventsListener(IAnimationEvents theListener)
removeIAnimationEventsListener. |
void |
restorePreviousContext(IAGAnimationContainer pContainer)
Restores the OpenGL rendering context after offscreen video export. |
void |
saveAnimationFile(IAGAnimationContainer pContainer,
java.lang.String pFilename,
int version)
Save the animation to a file. |
void |
setBBoxNavigationMode(IAGAnimationContainer pContainer,
boolean pbBBoxMode)
Indicates bounding box navigation mode. |
void |
stopAnimation()
Stops playing or recording the animation. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AGAnimationUtils() throws java.io.IOException, java.net.UnknownHostException
java.io.IOException
- if there are interop problems
java.net.UnknownHostException
- if there are interop problemspublic AGAnimationUtils(java.lang.Object obj) throws java.io.IOException
AGAnimationUtils theAGAnimationUtils = (AGAnimationUtils) obj;
obj
to AGAnimationUtils
.
obj
- an object returned from ArcGIS Engine or Server
java.io.IOException
- if there are interop problemsMethod Detail |
---|
public static java.lang.String getClsid()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
getJintegraDispatch
in interface com.esri.arcgis.interop.RemoteObjRef
public void addIAnimationEventsListener(IAnimationEvents theListener) throws java.io.IOException
theListener
- An object that implements the com.esri.arcgis.animation.IAnimationEvents interface.
java.io.IOException
- If there are communications problems.public void removeIAnimationEventsListener(IAnimationEvents theListener) throws java.io.IOException
theListener
- An object that implements the com.esri.arcgis.animation.IAnimationEvents interface.
java.io.IOException
- If there are communications problems.public void release()
release
in interface com.esri.arcgis.interop.RemoteObjRef
public void playAnimation(IAGAnimationTracks pTracks, IAGAnimationEnvironment pEnvironment, IStatusBar pStatusBar) throws java.io.IOException, AutomationException
playAnimation
in interface IAGAnimationPlayer
pTracks
- A reference to a com.esri.arcgis.animation.IAGAnimationTracks (in)pEnvironment
- A reference to a com.esri.arcgis.animation.IAGAnimationEnvironment (in)pStatusBar
- A reference to a com.esri.arcgis.system.IStatusBar (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void recordAnimation(IAGAnimationTracks pTracks, IAGAnimationEnvironment pEnvironment, boolean bOverwrite) throws java.io.IOException, AutomationException
recordAnimation
in interface IAGAnimationPlayer
pTracks
- A reference to a com.esri.arcgis.animation.IAGAnimationTracks (in)pEnvironment
- A reference to a com.esri.arcgis.animation.IAGAnimationEnvironment (in)bOverwrite
- The bOverwrite (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void pauseAnimation() throws java.io.IOException, AutomationException
pauseAnimation
in interface IAGAnimationPlayer
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void stopAnimation() throws java.io.IOException, AutomationException
stopAnimation
in interface IAGAnimationPlayer
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void createLayerGroupAnimation(IAGAnimationContainer pContainer, IAGGroupAnimationOptions pOptions) throws java.io.IOException, AutomationException
createLayerGroupAnimation
in interface IAGAnimationUtils
pContainer
- A reference to a com.esri.arcgis.animation.IAGAnimationContainer (in)pOptions
- A reference to a com.esri.arcgis.animation.IAGGroupAnimationOptions (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void createFlybyFromPath(IAGAnimationContainer pContainer, IAGImportPathOptions pOptions) throws java.io.IOException, AutomationException
createFlybyFromPath
in interface IAGAnimationUtils
pContainer
- A reference to a com.esri.arcgis.animation.IAGAnimationContainer (in)pOptions
- A reference to a com.esri.arcgis.animation.IAGImportPathOptions (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void keyframeFromBookmark(IAGAnimationContainer pContainer, ISpatialBookmark pBookmark, IAGKeyframe[] ppKeyframe) throws java.io.IOException, AutomationException
keyframeFromBookmark
in interface IAGAnimationUtils
pContainer
- A reference to a com.esri.arcgis.animation.IAGAnimationContainer (in)pBookmark
- A reference to a com.esri.arcgis.carto.ISpatialBookmark (in)ppKeyframe
- A reference to a com.esri.arcgis.animation.IAGKeyframe (out: use single element array)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void captureCurrentView(IAGAnimationTracks pTracks, IAGAnimationEnvironment pEnvironment) throws java.io.IOException, AutomationException
captureCurrentView
in interface IAGAnimationUtils
pTracks
- A reference to a com.esri.arcgis.animation.IAGAnimationTracks (in)pEnvironment
- A reference to a com.esri.arcgis.animation.IAGAnimationEnvironment (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void calculateDisplayFrames(IAGAnimationTracks pTracks, int[] pFrames) throws java.io.IOException, AutomationException
calculateDisplayFrames
in interface IAGAnimationUtils
pTracks
- A reference to a com.esri.arcgis.animation.IAGAnimationTracks (in)pFrames
- The pFrames (out: use single element array)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void saveAnimationFile(IAGAnimationContainer pContainer, java.lang.String pFilename, int version) throws java.io.IOException, AutomationException
saveAnimationFile
in interface IAGAnimationUtils
pContainer
- A reference to a com.esri.arcgis.animation.IAGAnimationContainer (in)pFilename
- The pFilename (in)version
- A com.esri.arcgis.system.esriArcGISVersion constant (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void loadAnimationFile(IAGAnimationContainer pContainer, java.lang.String pFilename) throws java.io.IOException, AutomationException
loadAnimationFile
in interface IAGAnimationUtils
pContainer
- A reference to a com.esri.arcgis.animation.IAGAnimationContainer (in)pFilename
- The pFilename (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void getCameraProperties(IAGAnimationContainer pContainer, IDoubleArray[] ppCameraProps) throws java.io.IOException, AutomationException
getCameraProperties
in interface IVideoExportUtils2
pContainer
- A reference to a com.esri.arcgis.animation.IAGAnimationContainer (in)ppCameraProps
- A reference to a com.esri.arcgis.system.IDoubleArray (out: use single element array)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void restorePreviousContext(IAGAnimationContainer pContainer) throws java.io.IOException, AutomationException
restorePreviousContext
in interface IVideoExportUtils
pContainer
- A reference to a com.esri.arcgis.animation.IAGAnimationContainer (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void getOffScreenBitmapHandle(IAGAnimationContainer pContainer, int[] phBitmap) throws java.io.IOException, AutomationException
getOffScreenBitmapHandle
in interface IVideoExportUtils
pContainer
- A reference to a com.esri.arcgis.animation.IAGAnimationContainer (in)phBitmap
- The phBitmap (A COM typedef) (out: use single element array)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void getWindowBitmapHandle(IAGAnimationContainer pContainer, int[] phBitmap) throws java.io.IOException, AutomationException
getWindowBitmapHandle
in interface IVideoExportUtils
pContainer
- A reference to a com.esri.arcgis.animation.IAGAnimationContainer (in)phBitmap
- The phBitmap (A COM typedef) (out: use single element array)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void getOffScreenTiledBitmapHandle(IAGAnimationContainer pContainer, tagRECT pOutputRect, int[] phBitmap) throws java.io.IOException, AutomationException
getOffScreenTiledBitmapHandle
in interface IVideoExportUtils
pContainer
- A reference to a com.esri.arcgis.animation.IAGAnimationContainer (in)pOutputRect
- A Structure: com.esri.arcgis.system.tagRECT (in)phBitmap
- The phBitmap (A COM typedef) (out: use single element array)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isBBoxNavigationMode(IAGAnimationContainer pContainer) throws java.io.IOException, AutomationException
isBBoxNavigationMode
in interface IVideoExportUtils
pContainer
- A reference to a com.esri.arcgis.animation.IAGAnimationContainer (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setBBoxNavigationMode(IAGAnimationContainer pContainer, boolean pbBBoxMode) throws java.io.IOException, AutomationException
setBBoxNavigationMode
in interface IVideoExportUtils
pContainer
- A reference to a com.esri.arcgis.animation.IAGAnimationContainer (in)pbBBoxMode
- The pbBBoxMode (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void enumConnectionPoints(IEnumConnectionPoints[] ppEnum) throws java.io.IOException, AutomationException
enumConnectionPoints
in interface IConnectionPointContainer
ppEnum
- A reference to a com.esri.arcgis.display.IEnumConnectionPoints (out: use single element array)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void findConnectionPoint(GUID riid, IConnectionPoint[] ppCP) throws java.io.IOException, AutomationException
findConnectionPoint
in interface IConnectionPointContainer
riid
- A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)ppCP
- A reference to a com.esri.arcgis.display.IConnectionPoint (out: use single element array)
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 |