|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface I3DViewer
Provides access to members that conrtrol the 3D viewer.
This interface could be seen as a newer version or replacement of ISceneViewer interface. It keeps the basic members of the ISceneViewer interface and added some new members, with the most notable ones being those for full screen control.
Method Summary | |
---|---|
void |
clearGesture()
Clears the last gesture. |
void |
drawToMetafile(int hDC,
float resolutionFactor,
int left,
int top,
int right,
int bottom,
boolean bOffScreen)
Draws the contents of the viewer to a device. |
ICamera |
getCamera()
The viewer's camera. |
String |
getCaption()
The viewer's caption. |
int |
getGestureSensitivity()
The gesture sensitivity as indicated by number of pixels. |
int |
getHDC()
The associated device context. |
int |
getHWnd()
The associated window handle. |
void |
getScreenShot(int type,
String fileName)
Saves the content of the viewer and any windows superimposed on the scene viewer as an image. |
void |
getSnapshot(int width,
int height,
int type,
String fileName)
Saves the content of the viewer as an image. |
boolean |
isFullScreen()
Indicates if full screen is the current drawing mode. |
boolean |
isFullScreenEnabled()
Indicates if key [F11] is enabled to toggle full screen drawing. |
boolean |
isGestureEnabled()
Indicates if gesturing is enabled. |
void |
overrideDefaultHandler()
Supersedes the default event handler. |
void |
redraw(boolean bCameraMoved)
Redraws the viewer. |
void |
setCameraByRef(ICamera ppCamera)
The viewer's camera. |
void |
setCaption(String pCaption)
The viewer's caption. |
void |
setFullScreen(boolean bFullScreen)
Full screen drawing if the argument is TRUE, otherwise normal window drawing. |
void |
setFullScreenEnabled(boolean pbEnabled)
Indicates if key [F11] is enabled to toggle full screen drawing. |
void |
setGestureEnabled(boolean pbEnabled)
Indicates if gesturing is enabled. |
void |
setGestureSensitivity(int pcPixels)
The gesture sensitivity as indicated by number of pixels. |
Method Detail |
---|
String getCaption() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setCaption(String pCaption) throws IOException, AutomationException
pCaption
- The pCaption (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.ICamera getCamera() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setCameraByRef(ICamera ppCamera) throws IOException, AutomationException
ppCamera
- A reference to a com.esri.arcgis.analyst3d.ICamera (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void redraw(boolean bCameraMoved) throws IOException, AutomationException
bCameraMoved
- The bCameraMoved (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void drawToMetafile(int hDC, float resolutionFactor, int left, int top, int right, int bottom, boolean bOffScreen) throws IOException, AutomationException
hDC
- The hDC (A COM typedef) (in)resolutionFactor
- The resolutionFactor (in)left
- The left (in)top
- The top (in)right
- The right (in)bottom
- The bottom (in)bOffScreen
- The bOffScreen (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void getSnapshot(int width, int height, int type, String fileName) throws IOException, AutomationException
width
- The width (in)height
- The height (in)type
- A com.esri.arcgis.analyst3d.esri3DOutputImageType constant (in)fileName
- The fileName (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void getScreenShot(int type, String fileName) throws IOException, AutomationException
type
- A com.esri.arcgis.analyst3d.esri3DOutputImageType constant (in)fileName
- The fileName (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getHWnd() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getHDC() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setGestureSensitivity(int pcPixels) throws IOException, AutomationException
pcPixels
- The pcPixels (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getGestureSensitivity() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setGestureEnabled(boolean pbEnabled) throws IOException, AutomationException
pbEnabled
- The pbEnabled (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean isGestureEnabled() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void clearGesture() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void overrideDefaultHandler() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setFullScreenEnabled(boolean pbEnabled) throws IOException, AutomationException
pbEnabled
- The pbEnabled (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean isFullScreenEnabled() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean isFullScreen() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setFullScreen(boolean bFullScreen) throws IOException, AutomationException
bFullScreen
- The bFullScreen (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 |