|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ISceneViewer2
Provides access to members that conrtrol the scene viewer.
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 scene viewer's camera. |
String |
getCaption()
The scene 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. |
ISceneGraph |
getSceneGraph()
The scene viewer's scene graph. |
void |
getScreenShot(int type,
String fileName)
Saves the content of the scene 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 scene viewer as an image. |
boolean |
isGestureEnabled()
Indicates if gesturing is enabled. |
boolean |
isNorthArrowEnabled()
Indicates if the north arrow is enabled. |
void |
overrideDefaultHandler()
Supersedes the default event handler. |
void |
redraw(boolean cameraMoved)
Redraws the scene viewer. |
void |
setCameraByRef(ICamera ppCamera)
The scene viewer's camera. |
void |
setCaption(String pCaption)
The scene viewer's caption. |
void |
setGestureEnabled(boolean pbEnabled)
Indicates if gesturing is enabled. |
void |
setGestureSensitivity(int pcPixels)
The gesture sensitivity as indicated by number of pixels. |
void |
setNorthArrowEnabled(boolean pbNorthArrow)
Indicates if the north arrow is enabled. |
void |
setSceneGraphByRef(ISceneGraph ppSceneGraph)
The scene viewer's scene graph. |
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.ISceneGraph getSceneGraph() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setSceneGraphByRef(ISceneGraph ppSceneGraph) throws IOException, AutomationException
ppSceneGraph
- A reference to a com.esri.arcgis.analyst3d.ISceneGraph (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 cameraMoved) throws IOException, AutomationException
cameraMoved
- The cameraMoved (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 setNorthArrowEnabled(boolean pbNorthArrow) throws IOException, AutomationException
pbNorthArrow
- The pbNorthArrow (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean isNorthArrowEnabled() throws IOException, AutomationException
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 |