|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.animation.AnimationExporterAVI
public class AnimationExporterAVI
An exporter of animations to AVI video format.
Constructor Summary | |
---|---|
AnimationExporterAVI()
Constructs a AnimationExporterAVI using ArcGIS Engine. |
|
AnimationExporterAVI(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. AnimationExporterAVI theAnimationExporterAVI = (AnimationExporterAVI) obj; |
Method Summary | |
---|---|
void |
addIAnimationEventsListener(IAnimationEvents theListener)
addIAnimationEventsListener. |
void |
enumConnectionPoints(IEnumConnectionPoints[] ppEnum)
enumConnectionPoints |
boolean |
equals(Object o)
Compare this object with another |
void |
exportAnimation(IAGAnimationTracks pTracks,
IAGAnimationEnvironment pAnimEnv,
IStatusBar pStatusBar)
Export the animation into a video file. |
void |
exportVideoFromImages(double duration)
Export a video from a folder of images. |
void |
exportVideoFromTimeSlider()
Export a video from the time slider. |
void |
findConnectionPoint(GUID riid,
IConnectionPoint[] ppCP)
findConnectionPoint |
static String |
getClsid()
getClsid. |
String |
getCodec()
The current video codec. |
String |
getCodecCode()
The current video codec's unique code. |
IStringArray |
getCodecCodeList()
The list of unique codes of available codecs. |
IStringArray |
getCodecList()
The list of names of available codecs. |
short |
getColorDepth()
The number of bits per pixel in each video frame. |
void |
getCustomSize(int[] pWidth,
int[] pHeight)
The custom image size for video export. |
int |
getDataRate()
The maximum number of bytes per second. |
int |
getEndFrame()
The last frame in frame based export. |
String |
getExportFileName()
The exported file name. |
String |
getFileExtension()
The file extension associated with the current exporter. |
String |
getFilter()
The filter string used in the CFileDialog class. |
int |
getFrameDuration()
The duration of each frame in milliseconds. |
int |
getFrameRate()
The frame rate in images per second. |
String |
getImageFolderName()
The complete path name of the folder with the images to be exported. |
String |
getImageFormat()
The source format of images to be used when exporting a video. |
int |
getKeyFrameRate()
The frequency of keyframes in the video. |
String |
getName()
The name of the exporter. |
int |
getQuality()
The quality of video compression (1-100). |
int |
getStartFrame()
The first frame in frame based export. |
int |
getTotalFrames()
The total frames to be exported. |
int |
hashCode()
the hashcode for this object |
boolean |
isInstalled()
Indicates if the video exporter is installed. |
boolean |
isRecordOffScreen()
Indicates if video is to be recorded offscreen. |
boolean |
isRecordWindow()
Indicates if entire window is to be recorded. |
boolean |
isResizeExportWindow()
Indicates if the viewer window is to be resized during video export. |
boolean |
isShowSettingsDialog()
Indicates if video compression settings dialog is to be displayed. |
boolean |
isUseCustomSize()
Indicates if a custom image size should be used. |
boolean |
isUseExportFromImages()
Indicates if export from images is to be used. |
boolean |
isUseFrameExport()
Indicates if frame based export is to be used. |
boolean |
isUseTwoStageExport()
Indicates if two stage export is to be used. |
boolean |
isWriteAGVFile()
Indicates if an AGV file is to be written out during export. |
void |
putCustomSize(int width,
int height)
The custom image size for video export. |
void |
removeIAnimationEventsListener(IAnimationEvents theListener)
removeIAnimationEventsListener. |
void |
setCodec(String pCodecName)
The current video codec. |
void |
setCodecCode(String pCodecCode)
The current video codec's unique code. |
void |
setColorDepth(short pColorDepth)
The number of bits per pixel in each video frame. |
void |
setDataRate(int pDataRate)
The maximum number of bytes per second. |
void |
setEndFrame(int pEndFrame)
The last frame in frame based export. |
void |
setExportFileName(String fileName)
The exported file name. |
void |
setFrameDuration(int pFrameDuration)
The duration of each frame in milliseconds. |
void |
setFrameRate(int pImagesPerSecond)
The frame rate in images per second. |
void |
setImageFolderName(String pImageFolderName)
The complete path name of the folder with the images to be exported. |
void |
setImageFormat(String pImageFormat)
The source format of images to be used when exporting a video. |
void |
setKeyFrameRate(int pKeyFrameRate)
The frequency of keyframes in the video. |
void |
setQuality(int pQualityPercent)
The quality of video compression (1-100). |
void |
setRecordOffScreen(boolean pbRecordOffScreen)
Indicates if video is to be recorded offscreen. |
void |
setRecordWindow(boolean pbRecordAppWindow)
Indicates if entire window is to be recorded. |
void |
setResizeExportWindow(boolean pbResizeExportWindow)
Indicates if the viewer window is to be resized during video export. |
void |
setShowSettingsDialog(boolean pbShowSettingsDialog)
Indicates if video compression settings dialog is to be displayed. |
void |
setStartFrame(int pStartFrame)
The first frame in frame based export. |
void |
setTotalFrames(int pTotalFrames)
The total frames to be exported. |
void |
setUseCustomSize(boolean pbUseCustomSize)
Indicates if a custom image size should be used. |
void |
setUseExportFromImages(boolean pbUseExportFromImages)
Indicates if export from images is to be used. |
void |
setUseFrameExport(boolean pbUseFrameExport)
Indicates if frame based export is to be used. |
void |
setUseTwoStageExport(boolean pbUseTwoStageExport)
Indicates if two stage export is to be used. |
void |
setWriteAGVFile(boolean pbWriteAGVFile)
Indicates if an AGV file is to be written out during export. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.esri.arcgis.interop.RemoteObjRef |
---|
getJintegraDispatch, release |
Constructor Detail |
---|
public AnimationExporterAVI() throws IOException, UnknownHostException
IOException
- if there are interop problems
UnknownHostException
- if there are interop problemspublic AnimationExporterAVI(Object obj) throws IOException
AnimationExporterAVI theAnimationExporterAVI = (AnimationExporterAVI) obj;
obj
to AnimationExporterAVI
.
obj
- an object returned from ArcGIS Engine or Server
IOException
- if there are interop problemsMethod Detail |
---|
public static String getClsid()
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public void addIAnimationEventsListener(IAnimationEvents theListener) throws IOException
theListener
- An object that implements the com.esri.arcgis.animation.IAnimationEvents interface.
IOException
- If there are communications problems.public void removeIAnimationEventsListener(IAnimationEvents theListener) throws IOException
theListener
- An object that implements the com.esri.arcgis.animation.IAnimationEvents interface.
IOException
- If there are communications problems.public String getName() throws IOException, AutomationException
getName
in interface IVideoExporter
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void exportAnimation(IAGAnimationTracks pTracks, IAGAnimationEnvironment pAnimEnv, IStatusBar pStatusBar) throws IOException, AutomationException
exportAnimation
in interface IVideoExporter
pTracks
- A reference to a com.esri.arcgis.animation.IAGAnimationTracks (in)pAnimEnv
- A reference to a com.esri.arcgis.animation.IAGAnimationEnvironment (in)pStatusBar
- A reference to a com.esri.arcgis.system.IStatusBar (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getFilter() throws IOException, AutomationException
getFilter
in interface IVideoExporter
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getFileExtension() throws IOException, AutomationException
getFileExtension
in interface IVideoExporter
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setExportFileName(String fileName) throws IOException, AutomationException
setExportFileName
in interface IVideoExporter
fileName
- The fileName (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getExportFileName() throws IOException, AutomationException
getExportFileName
in interface IVideoExporter
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setFrameRate(int pImagesPerSecond) throws IOException, AutomationException
setFrameRate
in interface IVideoExporter
pImagesPerSecond
- The pImagesPerSecond (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getFrameRate() throws IOException, AutomationException
getFrameRate
in interface IVideoExporter
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setUseCustomSize(boolean pbUseCustomSize) throws IOException, AutomationException
Call pVideoExporter.PutCustomSize(500, 500)
setUseCustomSize
in interface IVideoExporter
pbUseCustomSize
- The pbUseCustomSize (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isUseCustomSize() throws IOException, AutomationException
isUseCustomSize
in interface IVideoExporter
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void putCustomSize(int width, int height) throws IOException, AutomationException
Call pVideoExporter.PutCustomSize(500, 500)
putCustomSize
in interface IVideoExporter
width
- The width (in)height
- The height (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void getCustomSize(int[] pWidth, int[] pHeight) throws IOException, AutomationException
getCustomSize
in interface IVideoExporter
pWidth
- The pWidth (out: use single element array)pHeight
- The pHeight (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isInstalled() throws IOException, AutomationException
isInstalled
in interface IVideoExporter
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IStringArray getCodecList() throws IOException, AutomationException
getCodecList
in interface IVideoExporter
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IStringArray getCodecCodeList() throws IOException, AutomationException
getCodecCodeList
in interface IVideoExporter
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setCodec(String pCodecName) throws IOException, AutomationException
setCodec
in interface IVideoExporter
pCodecName
- The pCodecName (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getCodec() throws IOException, AutomationException
For AnimationExporterAVI, the default codec used by the video exporter is related to the quality setting. If the quality is below 90, then the Intel Indeo(R) Video R3.2 codec is used. Otherwise, the Cinepak Codec by Radius codec is used.
getCodec
in interface IVideoExporter
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setCodecCode(String pCodecCode) throws IOException, AutomationException
setCodecCode
in interface IVideoExporter
pCodecCode
- The pCodecCode (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getCodecCode() throws IOException, AutomationException
getCodecCode
in interface IVideoExporter
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setColorDepth(short pColorDepth) throws IOException, AutomationException
setColorDepth
in interface IVideoExporter
pColorDepth
- The pColorDepth (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public short getColorDepth() throws IOException, AutomationException
getColorDepth
in interface IVideoExporter
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setQuality(int pQualityPercent) throws IOException, AutomationException
This property is used to control the quality of the exported video, which ranges from 0 to 100. For AVI exporter (AnimationExporterAVI), the default value is 90. For QuickTime exporter, the default value is 50.
setQuality
in interface IVideoExporter
pQualityPercent
- The pQualityPercent (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getQuality() throws IOException, AutomationException
getQuality
in interface IVideoExporter
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setKeyFrameRate(int pKeyFrameRate) throws IOException, AutomationException
setKeyFrameRate
in interface IVideoExporter
pKeyFrameRate
- The pKeyFrameRate (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getKeyFrameRate() throws IOException, AutomationException
getKeyFrameRate
in interface IVideoExporter
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setDataRate(int pDataRate) throws IOException, AutomationException
setDataRate
in interface IVideoExporter
pDataRate
- The pDataRate (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getDataRate() throws IOException, AutomationException
getDataRate
in interface IVideoExporter
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setFrameDuration(int pFrameDuration) throws IOException, AutomationException
setFrameDuration
in interface IVideoExporter
pFrameDuration
- The pFrameDuration (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getFrameDuration() throws IOException, AutomationException
getFrameDuration
in interface IVideoExporter
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setRecordWindow(boolean pbRecordAppWindow) throws IOException, AutomationException
setRecordWindow
in interface IVideoExporter
pbRecordAppWindow
- The pbRecordAppWindow (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isRecordWindow() throws IOException, AutomationException
isRecordWindow
in interface IVideoExporter
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setRecordOffScreen(boolean pbRecordOffScreen) throws IOException, AutomationException
setRecordOffScreen
in interface IVideoExporter
pbRecordOffScreen
- The pbRecordOffScreen (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isRecordOffScreen() throws IOException, AutomationException
isRecordOffScreen
in interface IVideoExporter
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setShowSettingsDialog(boolean pbShowSettingsDialog) throws IOException, AutomationException
setShowSettingsDialog
in interface IVideoExporter
pbShowSettingsDialog
- The pbShowSettingsDialog (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isShowSettingsDialog() throws IOException, AutomationException
isShowSettingsDialog
in interface IVideoExporter
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setResizeExportWindow(boolean pbResizeExportWindow) throws IOException, AutomationException
setResizeExportWindow
in interface IVideoExporter
pbResizeExportWindow
- The pbResizeExportWindow (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isResizeExportWindow() throws IOException, AutomationException
isResizeExportWindow
in interface IVideoExporter
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setUseFrameExport(boolean pbUseFrameExport) throws IOException, AutomationException
setUseFrameExport
in interface IVideoExporter2
pbUseFrameExport
- The pbUseFrameExport (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isUseFrameExport() throws IOException, AutomationException
isUseFrameExport
in interface IVideoExporter2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setStartFrame(int pStartFrame) throws IOException, AutomationException
setStartFrame
in interface IVideoExporter2
pStartFrame
- The pStartFrame (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getStartFrame() throws IOException, AutomationException
getStartFrame
in interface IVideoExporter2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setEndFrame(int pEndFrame) throws IOException, AutomationException
setEndFrame
in interface IVideoExporter2
pEndFrame
- The pEndFrame (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getEndFrame() throws IOException, AutomationException
getEndFrame
in interface IVideoExporter2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setTotalFrames(int pTotalFrames) throws IOException, AutomationException
setTotalFrames
in interface IVideoExporter2
pTotalFrames
- The pTotalFrames (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getTotalFrames() throws IOException, AutomationException
getTotalFrames
in interface IVideoExporter2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setUseTwoStageExport(boolean pbUseTwoStageExport) throws IOException, AutomationException
setUseTwoStageExport
in interface IVideoExporter2
pbUseTwoStageExport
- The pbUseTwoStageExport (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isUseTwoStageExport() throws IOException, AutomationException
isUseTwoStageExport
in interface IVideoExporter2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setUseExportFromImages(boolean pbUseExportFromImages) throws IOException, AutomationException
setUseExportFromImages
in interface IVideoExporter2
pbUseExportFromImages
- The pbUseExportFromImages (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isUseExportFromImages() throws IOException, AutomationException
isUseExportFromImages
in interface IVideoExporter2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setImageFolderName(String pImageFolderName) throws IOException, AutomationException
setImageFolderName
in interface IVideoExporter2
pImageFolderName
- The pImageFolderName (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getImageFolderName() throws IOException, AutomationException
getImageFolderName
in interface IVideoExporter2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setImageFormat(String pImageFormat) throws IOException, AutomationException
setImageFormat
in interface IVideoExporter2
pImageFormat
- The pImageFormat (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getImageFormat() throws IOException, AutomationException
getImageFormat
in interface IVideoExporter2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void exportVideoFromImages(double duration) throws IOException, AutomationException
exportVideoFromImages
in interface IVideoExporter2
duration
- The duration (in, optional, pass 0.0 if not required)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setWriteAGVFile(boolean pbWriteAGVFile) throws IOException, AutomationException
setWriteAGVFile
in interface IVideoExporter2
pbWriteAGVFile
- The pbWriteAGVFile (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isWriteAGVFile() throws IOException, AutomationException
isWriteAGVFile
in interface IVideoExporter2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void exportVideoFromTimeSlider() throws IOException, AutomationException
exportVideoFromTimeSlider
in interface IVideoExporter2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void enumConnectionPoints(IEnumConnectionPoints[] ppEnum) throws IOException, AutomationException
IConnectionPointContainer is a Microsoft interface. Please refer to MSDN for information about this interface.
enumConnectionPoints
in interface IConnectionPointContainer
ppEnum
- A reference to a com.esri.arcgis.display.IEnumConnectionPoints (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void findConnectionPoint(GUID riid, IConnectionPoint[] ppCP) throws IOException, AutomationException
IConnectionPointContainer is a Microsoft interface. Please refer to MSDN for information about this interface.
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)
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 |