|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ISceneGraph
Provides access to members that control and manipulate the scene graph.
Method Summary | |
---|---|
void |
addSimpleActor(ISceneRenderer pRecorder,
IGeoDataset pGeoDataset)
Constructs a simple actor (layer visualization subgraph). |
void |
addSimpleGraphics(ISceneRenderer pRecorder)
Constructs a simple graphics node. |
void |
beginCompositeActor(ICompositeLayer pGroupLayer)
Creates a composite layer node and notifies the scene graph that subsequent actors must be added as children. |
void |
clear(boolean bKeepBasicGraph)
Resets the scene graph. |
void |
endCompositeActor()
Notifies the scene graph that the definition of a group layer has ended. |
ISceneViewer |
findViewer(String caption)
Finds the Viewer. |
ISceneViewer |
getActiveViewer()
The active viewer. |
IArray |
getAllViewers()
Returns all registered Viewers. |
void |
getBackgroundColor(float[] pRed,
float[] pGreen,
float[] pBlue)
Returns the background color. |
int |
getContrast()
The contrast coefficient. |
void |
getDrawingTimeInfo(double[] pLastFrameDuration,
double[] pMeanFrameRate)
Returns the duration in seconds of last redraw and the average number of frames per second. |
IEnvelope |
getExtent()
The extent of the scene graph content. |
IEnvelope |
getGeographySelectionExtent()
The volumetric bounding box of selected features. |
IEnvelope |
getOwnerExtent(Object pOwner,
boolean bSelectionOnly)
The full or selected extent of a layer. |
void |
getOwnerSymbols(Object pOwner,
IArray[] ppSymbols,
ILongArray[] ppDisplayListIDs)
Returns an array containing all symbols used in a layer and their corresponding display list identifications. |
void |
getOwnerTransparency(Object pObject,
int[] pTranspPercent)
Get the transparency percentage of an owner as stored in the scene graph. |
IScene |
getScene()
The scene. |
IColor |
getSelectionColor()
The selection color. |
IVector3D |
getSunVector()
The sun vector. |
double |
getVerticalExaggeration()
The vertical exaggeration factor. |
void |
invalidate(Object pObject,
boolean bInvalidateGeography,
boolean bInvalidateSelection)
Invalidates acts representing an object. |
boolean |
isEmpty()
Indicates if the content of the scene graph is empty. |
boolean |
isGestureEnabled()
Indicates if the mouse gestures are supported. |
boolean |
isImmediateMode()
Indicates if immediate-mode rendering for the whole scene is being used. |
boolean |
isNavigating()
Indicates if the scene graph is in navigation mode. |
boolean |
isRecordingMessageEnabled()
Indicates if the scene graph provides visual feedback during recording. |
void |
locate(ISceneViewer pViewer,
int x,
int y,
int mode,
boolean bGetTransformed,
IPoint[] ppPt,
Object[] ppOwner,
Object[] ppObject)
Locates a single object. |
void |
locateMultiple(ISceneViewer pViewer,
int x,
int y,
int mode,
boolean bGetTransformed,
IHit3DSet[] ppHits)
Locates multiple objects. |
void |
lockViewers(boolean lock)
Locks the viewer cameras in position. |
void |
recordSymbol(ISymbol pSymbol,
int glList,
boolean bIsExtruded,
boolean bLighting,
int layerTransparencyPercent,
boolean bOptimizeState)
Creates the display list with the given identification for the symbol and its extrusion state (for points and lines). |
void |
refreshViewers()
Redraws all viewers. |
void |
registerViewer(ISceneViewer pViewer)
Adds a viewer to the scene graph. |
void |
remove(Object pObject,
boolean bUpdateExtent)
Removes actors representing an object. |
void |
replayFrame(ICamera camera)
Uses the camera to redraw a frame. |
void |
setActiveViewerByRef(ISceneViewer ppViewer)
The active viewer. |
void |
setBackgroundColor(float red,
float green,
float blue)
Sets the background color. |
void |
setContrast(int pContrast)
The contrast coefficient. |
void |
setGestureEnabled(boolean pbEnabled)
Indicates if the mouse gestures are supported. |
void |
setImmediateMode(boolean pbIsAllImmediate)
Indicates if immediate-mode rendering for the whole scene is being used. |
void |
setIsNavigating(boolean pbIsNavigating)
Indicates if the scene graph is in navigation mode. |
void |
setIsRecordingMessageEnabled(boolean pbIsEnabled)
Indicates if the scene graph provides visual feedback during recording. |
void |
setOwnerDepthPriority(Object pObject,
short depthPriority)
Sets the depth offset of layers. |
void |
setOwnerExtrusion(Object pObject,
boolean rhs2)
The scene graph information about a layer extrusion. |
void |
setOwnerFaceCulling(Object pObject,
int cullingMode)
Sets retained or immediate mode for the owner. |
void |
setOwnerImmediateMode(Object pObject,
boolean bIsLayerImmediate)
Sets retained or immediate mode for the owner. |
void |
setOwnerLightingOption(Object pObject,
boolean lighting)
Sets the lighting state of layers. |
void |
setOwnerNavigationVisibility(Object pObject,
boolean visibleWhenNavigating,
boolean visibleWhenStill)
Sets the visibility of layers depending on navigating state. |
void |
setOwnerShadingMode(Object pObject,
boolean bIsSmooth)
Sets the shading mode (smooth or flat) of layers. |
void |
setOwnerTimeThreshold(Object pObject,
double timeThreshold)
Sets the time threshold to use lowest level of detail in layers when navigating. |
void |
setOwnerTransparencyState(Object pObject,
boolean bIsTransparent)
Sets transparency enabling flag for the owner. |
void |
setOwnerVisibility(Object pObject,
boolean visible)
Sets the visibility of acts representing an object. |
void |
setSceneByRef(IScene pVal)
The scene. |
void |
setSelectionColorByRef(IColor pSelectionColor)
The selection color. |
void |
setSunVector(IVector3D ppSun)
The sun vector. |
void |
setVerticalExaggeration(double pZFactor)
The vertical exaggeration factor. |
void |
unregisterViewer(ISceneViewer pViewer)
Removes a viewer from the scene graph. |
Method Detail |
---|
IScene getScene() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setSceneByRef(IScene pVal) throws IOException, AutomationException
pVal
- A reference to a com.esri.arcgis.analyst3d.IScene (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean isEmpty() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void addSimpleGraphics(ISceneRenderer pRecorder) throws IOException, AutomationException
pRecorder
- A reference to a com.esri.arcgis.analyst3d.ISceneRenderer (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void addSimpleActor(ISceneRenderer pRecorder, IGeoDataset pGeoDataset) throws IOException, AutomationException
pRecorder
- A reference to a com.esri.arcgis.analyst3d.ISceneRenderer (in)pGeoDataset
- A reference to a com.esri.arcgis.geodatabase.IGeoDataset (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void beginCompositeActor(ICompositeLayer pGroupLayer) throws IOException, AutomationException
pGroupLayer
- A reference to a com.esri.arcgis.carto.ICompositeLayer (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void endCompositeActor() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void remove(Object pObject, boolean bUpdateExtent) throws IOException, AutomationException
pObject
- A reference to another Object (IUnknown) (in)bUpdateExtent
- The bUpdateExtent (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void invalidate(Object pObject, boolean bInvalidateGeography, boolean bInvalidateSelection) throws IOException, AutomationException
The Invalidate method of the SceneGraph is used to ensure a full re-recording of the contents of the invalidated object, such as a viewer.
pObject
- A reference to another Object (IUnknown) (in)bInvalidateGeography
- The bInvalidateGeography (in)bInvalidateSelection
- The bInvalidateSelection (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setImmediateMode(boolean pbIsAllImmediate) throws IOException, AutomationException
pbIsAllImmediate
- The pbIsAllImmediate (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean isImmediateMode() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setOwnerVisibility(Object pObject, boolean visible) throws IOException, AutomationException
pObject
- A reference to another Object (IUnknown) (in)visible
- The visible (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setOwnerNavigationVisibility(Object pObject, boolean visibleWhenNavigating, boolean visibleWhenStill) throws IOException, AutomationException
pObject
- A reference to another Object (IUnknown) (in)visibleWhenNavigating
- The visibleWhenNavigating (in)visibleWhenStill
- The visibleWhenStill (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setOwnerLightingOption(Object pObject, boolean lighting) throws IOException, AutomationException
pObject
- A reference to another Object (IUnknown) (in)lighting
- The lighting (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setOwnerShadingMode(Object pObject, boolean bIsSmooth) throws IOException, AutomationException
pObject
- A reference to another Object (IUnknown) (in)bIsSmooth
- The bIsSmooth (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setOwnerDepthPriority(Object pObject, short depthPriority) throws IOException, AutomationException
pObject
- A reference to another Object (IUnknown) (in)depthPriority
- The depthPriority (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setOwnerTimeThreshold(Object pObject, double timeThreshold) throws IOException, AutomationException
pObject
- A reference to another Object (IUnknown) (in)timeThreshold
- The timeThreshold (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setOwnerImmediateMode(Object pObject, boolean bIsLayerImmediate) throws IOException, AutomationException
pObject
- A reference to another Object (IUnknown) (in)bIsLayerImmediate
- The bIsLayerImmediate (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setOwnerFaceCulling(Object pObject, int cullingMode) throws IOException, AutomationException
pObject
- A reference to another Object (IUnknown) (in)cullingMode
- A com.esri.arcgis.analyst3d.esri3DFaceCulling constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setOwnerTransparencyState(Object pObject, boolean bIsTransparent) throws IOException, AutomationException
pObject
- A reference to another Object (IUnknown) (in)bIsTransparent
- The bIsTransparent (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void getOwnerTransparency(Object pObject, int[] pTranspPercent) throws IOException, AutomationException
pObject
- A reference to another Object (IUnknown) (in)pTranspPercent
- The pTranspPercent (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setOwnerExtrusion(Object pObject, boolean rhs2) throws IOException, AutomationException
pObject
- A reference to another Object (IUnknown) (in)rhs2
- The rhs2 (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IEnvelope getExtent() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IEnvelope getGeographySelectionExtent() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IEnvelope getOwnerExtent(Object pOwner, boolean bSelectionOnly) throws IOException, AutomationException
pOwner
- A reference to another Object (IUnknown) (in)bSelectionOnly
- The bSelectionOnly (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void registerViewer(ISceneViewer pViewer) throws IOException, AutomationException
pViewer
- A reference to a com.esri.arcgis.analyst3d.ISceneViewer (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void unregisterViewer(ISceneViewer pViewer) throws IOException, AutomationException
pViewer
- A reference to a com.esri.arcgis.analyst3d.ISceneViewer (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.ISceneViewer findViewer(String caption) throws IOException, AutomationException
caption
- The caption (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IArray getAllViewers() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setActiveViewerByRef(ISceneViewer ppViewer) throws IOException, AutomationException
ppViewer
- A reference to a com.esri.arcgis.analyst3d.ISceneViewer (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.ISceneViewer getActiveViewer() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void replayFrame(ICamera camera) throws IOException, AutomationException
camera
- 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 refreshViewers() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setBackgroundColor(float red, float green, float blue) throws IOException, AutomationException
red
- The red (in)green
- The green (in)blue
- The blue (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void getBackgroundColor(float[] pRed, float[] pGreen, float[] pBlue) throws IOException, AutomationException
pRed
- The pRed (out: use single element array)pGreen
- The pGreen (out: use single element array)pBlue
- The pBlue (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setSelectionColorByRef(IColor pSelectionColor) throws IOException, AutomationException
pSelectionColor
- A reference to a com.esri.arcgis.display.IColor (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IColor getSelectionColor() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean isNavigating() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setIsNavigating(boolean pbIsNavigating) throws IOException, AutomationException
pbIsNavigating
- The pbIsNavigating (in)
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 locate(ISceneViewer pViewer, int x, int y, int mode, boolean bGetTransformed, IPoint[] ppPt, Object[] ppOwner, Object[] ppObject) throws IOException, AutomationException
pViewer
- A reference to a com.esri.arcgis.analyst3d.ISceneViewer (in)x
- The x (in)y
- The y (in)mode
- A com.esri.arcgis.analyst3d.esriScenePickMode constant (in)bGetTransformed
- The bGetTransformed (in)ppPt
- A reference to a com.esri.arcgis.geometry.IPoint (out: use single element array)ppOwner
- A reference to another Object (IUnknown) (out: use single element array)ppObject
- A reference to another Object (IUnknown) (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void locateMultiple(ISceneViewer pViewer, int x, int y, int mode, boolean bGetTransformed, IHit3DSet[] ppHits) throws IOException, AutomationException
pViewer
- A reference to a com.esri.arcgis.analyst3d.ISceneViewer (in)x
- The x (in)y
- The y (in)mode
- A com.esri.arcgis.analyst3d.esriScenePickMode constant (in)bGetTransformed
- The bGetTransformed (in)ppHits
- A reference to a com.esri.arcgis.analyst3d.IHit3DSet (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.double getVerticalExaggeration() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setVerticalExaggeration(double pZFactor) throws IOException, AutomationException
pZFactor
- The pZFactor (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IVector3D getSunVector() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setSunVector(IVector3D ppSun) throws IOException, AutomationException
ppSun
- A reference to a com.esri.arcgis.geometry.IVector3D (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getContrast() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setContrast(int pContrast) throws IOException, AutomationException
pContrast
- The pContrast (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void clear(boolean bKeepBasicGraph) throws IOException, AutomationException
bKeepBasicGraph
- The bKeepBasicGraph (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void lockViewers(boolean lock) throws IOException, AutomationException
lock
- The lock (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void getDrawingTimeInfo(double[] pLastFrameDuration, double[] pMeanFrameRate) throws IOException, AutomationException
pLastFrameDuration
- The pLastFrameDuration (out: use single element array)pMeanFrameRate
- The pMeanFrameRate (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void getOwnerSymbols(Object pOwner, IArray[] ppSymbols, ILongArray[] ppDisplayListIDs) throws IOException, AutomationException
pOwner
- A reference to another Object (IUnknown) (in)ppSymbols
- A reference to a com.esri.arcgis.system.IArray (out: use single element array)ppDisplayListIDs
- A reference to a com.esri.arcgis.system.ILongArray (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void recordSymbol(ISymbol pSymbol, int glList, boolean bIsExtruded, boolean bLighting, int layerTransparencyPercent, boolean bOptimizeState) throws IOException, AutomationException
This method provides a mechnism for a quick update on the display of system symbols in the SceneGraph. The purpose of this method is to capture a changed symbol state of a layer for a possible redraw to reflect the change.
pSymbol
- A reference to a com.esri.arcgis.display.ISymbol (in)glList
- The glList (in)bIsExtruded
- The bIsExtruded (in)bLighting
- The bLighting (in)layerTransparencyPercent
- The layerTransparencyPercent (in)bOptimizeState
- The bOptimizeState (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean isRecordingMessageEnabled() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setIsRecordingMessageEnabled(boolean pbIsEnabled) throws IOException, AutomationException
pbIsEnabled
- The pbIsEnabled (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 |