|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.arcgis.analyst3d.Bookmark3D
public class Bookmark3D
The 3D bookmark coclass.
Bookmark3D coclass manages 3D bookmarks and camera keyframes. It also provides the facility to convert a 3D bookmark into a camera keyframe (via IBookmarkToKeyframe interface). There are 8 different camera properties that can be used for a camera animation through its IKeyframe interface.
| Constructor Summary | |
|---|---|
Bookmark3D()
Constructs a Bookmark3D using ArcGIS Engine. |
|
Bookmark3D(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. Bookmark3D theBookmark3D = (Bookmark3D) obj; |
|
| Method Summary | |
|---|---|
void |
apply(IAGAnimationTrack pTrack,
IAGAnimationContainer pContainer,
Object pObject)
Apply to the object the active properties of the keyframe. |
void |
apply(IScene pScene,
Object pObject)
Apply to the object the active properties of the keyframe. |
void |
apply(ISceneViewer pViewer,
boolean bAnimate,
double animDuration)
Applies bookmark to given viewer. |
void |
assign(IClone src)
Assigns the properties of src to the receiver. |
void |
capture(ICamera pCamera)
Copies bookmark properties from given camera. |
void |
captureProperties(IAGAnimationContainer pContainer,
Object pObject)
Copy the properties from the object to the keyframe. |
void |
captureProperties(IScene pScene,
Object pObject)
Copy the properties from the object to the keyframe. |
IKeyframe |
convertToKeyframe()
Create a Camera keyframe based on bookmark properties. |
boolean |
equals(Object o)
Compare this object with another |
IClone |
esri_clone()
Clones the receiver and assigns the result to *clone. |
ILongArray |
getActiveProperties()
The combination of active properties. |
IAnimationType |
getAnimationType()
The animation type. |
void |
getClassID(GUID[] pClassID)
getClassID |
static String |
getClsid()
getClsid. |
String |
getName()
The name of the 3D bookmark. |
Object |
getPropertyValue(int propIndex)
The value of a typed property. |
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. |
void |
getSizeMax(_ULARGE_INTEGER[] pcbSize)
getSizeMax |
double |
getTimeStamp()
The time stamp (in the interval 0-1). |
int |
hashCode()
the hashcode for this object |
IAGAnimationType |
IAGKeyframe_getAnimationType()
The animation type. |
void |
interpolate(IAGAnimationTrack pTrack,
IAGAnimationContainer pContainer,
Object pObject,
int propertyIndex,
double time,
IAGKeyframe pNextKeyframe,
IAGKeyframe pPrevKeyframe,
IAGKeyframe pAfterNextKeyframe)
Interpolates the values of an object property for a time between this keyframe and the next (time is in [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. |
void |
isDirty()
isDirty |
boolean |
isEqual(IClone other)
Indicates if the receiver and other have the same properties. |
boolean |
isIdentical(IClone other)
Indicates if the receiver and other are the same object. |
boolean |
isObjectNeedsRefresh()
Indicates if the object must be refreshed after interpolating its state. |
boolean |
isPropertyValueBoolean(int propIndex)
Indicates if the property is TRUE. |
void |
load(IStream pstm)
load |
void |
readExternal(ObjectInput in)
|
void |
refreshObject(IAGAnimationTrack pTrack,
IAGAnimationContainer pContainer,
Object pObject)
Recreates the object after its properties have been interpolated. |
void |
refreshObject(IScene pScene,
Object pObject)
Recreates the object after its properties have been interpolated. |
void |
save(IStream pstm,
int fClearDirty)
save |
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 3D bookmark. |
void |
setPropertyValue(int propIndex,
Object pValue)
The value of a typed property. |
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). |
void |
writeExternal(ObjectOutput out)
|
| 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 Bookmark3D()
throws IOException,
UnknownHostException
IOException - if there are interop problems
UnknownHostException - if there are interop problems
public Bookmark3D(Object obj)
throws IOException
Bookmark3D theBookmark3D = (Bookmark3D) obj;
obj to Bookmark3D.
obj - an object returned from ArcGIS Engine or Server
IOException - if there are interop problems| Method Detail |
|---|
public static String getClsid()
public boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Object
public String getName()
throws IOException,
AutomationException
getName in interface IBookmark3DgetName in interface IKeyframegetName in interface IAGKeyframeIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setName(String name)
throws IOException,
AutomationException
setName in interface IBookmark3DsetName in interface IKeyframesetName in interface IAGKeyframename - The name (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void capture(ICamera pCamera)
throws IOException,
AutomationException
capture in interface IBookmark3DpCamera - A reference to a com.esri.arcgis.analyst3d.ICamera (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void apply(ISceneViewer pViewer,
boolean bAnimate,
double animDuration)
throws IOException,
AutomationException
apply in interface IBookmark3DpViewer - A reference to a com.esri.arcgis.analyst3d.ISceneViewer (in)bAnimate - The bAnimate (in)animDuration - The animDuration (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public ILongArray getActiveProperties()
throws IOException,
AutomationException
getActiveProperties in interface IKeyframegetActiveProperties in interface IAGKeyframeIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setActiveProperties(ILongArray ppActiveProps)
throws IOException,
AutomationException
setActiveProperties in interface IKeyframesetActiveProperties in interface IAGKeyframeppActiveProps - A reference to a com.esri.arcgis.system.ILongArray (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isActiveProperty(int propIndex)
throws IOException,
AutomationException
isActiveProperty in interface IKeyframeisActiveProperty in interface IAGKeyframepropIndex - The propIndex (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setIsActiveProperty(int propIndex,
boolean pbIsActiveProp)
throws IOException,
AutomationException
setIsActiveProperty in interface IKeyframesetIsActiveProperty in interface IAGKeyframepropIndex - The propIndex (in)pbIsActiveProp - The pbIsActiveProp (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getPropertyValueInt(int propIndex)
throws IOException,
AutomationException
getPropertyValueInt in interface IKeyframepropIndex - The propIndex (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getPropertyValueLong(int propIndex)
throws IOException,
AutomationException
getPropertyValueLong in interface IKeyframepropIndex - The propIndex (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public double getPropertyValueDouble(int propIndex)
throws IOException,
AutomationException
getPropertyValueDouble in interface IKeyframepropIndex - The propIndex (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isPropertyValueBoolean(int propIndex)
throws IOException,
AutomationException
isPropertyValueBoolean in interface IKeyframepropIndex - The propIndex (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IPoint getPropertyValuePoint(int propIndex)
throws IOException,
AutomationException
getPropertyValuePoint in interface IKeyframepropIndex - The propIndex (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IEnvelope getPropertyValueExtent(int propIndex)
throws IOException,
AutomationException
getPropertyValueExtent in interface IKeyframepropIndex - The propIndex (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IColor getPropertyValueRGBColor(int propIndex)
throws IOException,
AutomationException
getPropertyValueRGBColor in interface IKeyframepropIndex - The propIndex (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setPropertyValueInt(int propIndex,
int pIntValue)
throws IOException,
AutomationException
setPropertyValueInt in interface IKeyframepropIndex - The propIndex (in)pIntValue - The pIntValue (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setPropertyValueLong(int propIndex,
int pLongValue)
throws IOException,
AutomationException
setPropertyValueLong in interface IKeyframepropIndex - The propIndex (in)pLongValue - The pLongValue (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setPropertyValueDouble(int propIndex,
double pDoubleValue)
throws IOException,
AutomationException
setPropertyValueDouble in interface IKeyframepropIndex - The propIndex (in)pDoubleValue - The pDoubleValue (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setPropertyValueBoolean(int propIndex,
boolean pBoolValue)
throws IOException,
AutomationException
setPropertyValueBoolean in interface IKeyframepropIndex - The propIndex (in)pBoolValue - The pBoolValue (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setPropertyValuePoint(int propIndex,
IPoint ppPoint)
throws IOException,
AutomationException
setPropertyValuePoint in interface IKeyframepropIndex - 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.
public void setPropertyValueExtent(int propIndex,
IEnvelope ppExtent)
throws IOException,
AutomationException
setPropertyValueExtent in interface IKeyframepropIndex - 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.
public void setPropertyValueRGBColor(int propIndex,
IColor ppColor)
throws IOException,
AutomationException
setPropertyValueRGBColor in interface IKeyframepropIndex - 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.
public void setTimeStamp(double pTimeStamp)
throws IOException,
AutomationException
setTimeStamp in interface IKeyframesetTimeStamp in interface IAGKeyframepTimeStamp - The pTimeStamp (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public double getTimeStamp()
throws IOException,
AutomationException
getTimeStamp in interface IKeyframegetTimeStamp in interface IAGKeyframeIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IAnimationType getAnimationType()
throws IOException,
AutomationException
getAnimationType in interface IKeyframeIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public 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.
apply in interface IKeyframepScene - 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.
public void captureProperties(IScene pScene,
Object pObject)
throws IOException,
AutomationException
captureProperties in interface IKeyframepScene - 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.
public void interpolate(IScene pScene,
Object pObject,
int propertyIndex,
double time,
IKeyframe pNextKeyframe,
IKeyframe pPrevKeyframe,
IKeyframe pAfterNextKeyframe)
throws IOException,
AutomationException
interpolate in interface IKeyframepScene - 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.
public boolean isObjectNeedsRefresh()
throws IOException,
AutomationException
isObjectNeedsRefresh in interface IKeyframeisObjectNeedsRefresh in interface IAGKeyframeIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void refreshObject(IScene pScene,
Object pObject)
throws IOException,
AutomationException
refreshObject in interface IKeyframepScene - 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.
public Object getPropertyValue(int propIndex)
throws IOException,
AutomationException
getPropertyValue in interface IAGKeyframepropIndex - The propIndex (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setPropertyValue(int propIndex,
Object pValue)
throws IOException,
AutomationException
setPropertyValue in interface IAGKeyframepropIndex - The propIndex (in)pValue - A Variant (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IAGAnimationType IAGKeyframe_getAnimationType()
throws IOException,
AutomationException
IAGKeyframe_getAnimationType in interface IAGKeyframeIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void apply(IAGAnimationTrack pTrack,
IAGAnimationContainer pContainer,
Object pObject)
throws IOException,
AutomationException
apply in interface IAGKeyframepTrack - A reference to a com.esri.arcgis.animation.IAGAnimationTrack (in)pContainer - A reference to a com.esri.arcgis.animation.IAGAnimationContainer (in)pObject - A Variant (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void captureProperties(IAGAnimationContainer pContainer,
Object pObject)
throws IOException,
AutomationException
captureProperties in interface IAGKeyframepContainer - A reference to a com.esri.arcgis.animation.IAGAnimationContainer (in)pObject - A Variant (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void interpolate(IAGAnimationTrack pTrack,
IAGAnimationContainer pContainer,
Object pObject,
int propertyIndex,
double time,
IAGKeyframe pNextKeyframe,
IAGKeyframe pPrevKeyframe,
IAGKeyframe pAfterNextKeyframe)
throws IOException,
AutomationException
interpolate in interface IAGKeyframepTrack - A reference to a com.esri.arcgis.animation.IAGAnimationTrack (in)pContainer - A reference to a com.esri.arcgis.animation.IAGAnimationContainer (in)pObject - A Variant (in)propertyIndex - The propertyIndex (in)time - The time (in)pNextKeyframe - A reference to a com.esri.arcgis.animation.IAGKeyframe (in)pPrevKeyframe - A reference to a com.esri.arcgis.animation.IAGKeyframe (in)pAfterNextKeyframe - A reference to a com.esri.arcgis.animation.IAGKeyframe (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void refreshObject(IAGAnimationTrack pTrack,
IAGAnimationContainer pContainer,
Object pObject)
throws IOException,
AutomationException
refreshObject in interface IAGKeyframepTrack - A reference to a com.esri.arcgis.animation.IAGAnimationTrack (in)pContainer - A reference to a com.esri.arcgis.animation.IAGAnimationContainer (in)pObject - A Variant (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IKeyframe convertToKeyframe()
throws IOException,
AutomationException
convertToKeyframe in interface IBookmarkToKeyframeIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void isDirty()
throws IOException,
AutomationException
IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
isDirty in interface IPersistStreamIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void load(IStream pstm)
throws IOException,
AutomationException
IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
load in interface IPersistStreampstm - A reference to a com.esri.arcgis.system.IStream (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void save(IStream pstm,
int fClearDirty)
throws IOException,
AutomationException
IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
save in interface IPersistStreampstm - A reference to a com.esri.arcgis.system.IStream (in)fClearDirty - The fClearDirty (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void getSizeMax(_ULARGE_INTEGER[] pcbSize)
throws IOException,
AutomationException
IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
getSizeMax in interface IPersistStreampcbSize - A Structure: com.esri.arcgis.system._ULARGE_INTEGER (out: use single element array)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void getClassID(GUID[] pClassID)
throws IOException,
AutomationException
IPersist is a Microsoft interface. Please refer to MSDN for information about this interface.
getClassID in interface IPersistpClassID - A Structure: com.esri.arcgis.support.ms.stdole.GUID (out: use single element array)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IClone esri_clone()
throws IOException,
AutomationException
esri_clone in interface ICloneIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void assign(IClone src)
throws IOException,
AutomationException
assign in interface IClonesrc - A reference to a com.esri.arcgis.system.IClone (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isEqual(IClone other)
throws IOException,
AutomationException
IsEqual returns True if the receiver and the source have the same properties. Note, this does not imply that the receiver and the source reference the same object.
isEqual in interface ICloneother - A reference to a com.esri.arcgis.system.IClone (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isIdentical(IClone other)
throws IOException,
AutomationException
IsIdentical returns true if the receiver and the source reference the same object.
isIdentical in interface ICloneother - A reference to a com.esri.arcgis.system.IClone (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void writeExternal(ObjectOutput out)
throws IOException
writeExternal in interface ExternalizableIOException
public void readExternal(ObjectInput in)
throws IOException,
ClassNotFoundException
readExternal in interface ExternalizableIOException
ClassNotFoundException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||