com.esri.arcgis.analyst3d
Interface IVRMLExporter

All Superinterfaces:
Serializable
All Known Implementing Classes:
VRMLExporter

public interface IVRMLExporter
extends Serializable

Provides access to members that are associated with the VRML exporter.

Description

Geographical coordinates usually require double floating point precision, since the number of significant digits is large. Some graphics standards and most rendering software are not ready to handle double precision. For instance, the VRML standard does not force VRML browsing software to accept double precision coordinates. As a result, you may see some visual artifacts in certain VRML browsers.

Users can select the option GeoVRML so that the exported double precision coordinates can be supported by a GeoVRML browser, or regular VRML export that "translates" the data to be close to the origin of the coordinate system (0,0) so that the number of significant digits decreases and single precision numbers suffice.

In the latter case, users can further select to move the origin, meaning to shift the data coordinates to the center of the scene extent (i.e. the XY extent; the Z coordinates are not affected) if precision problem occurs in a VRML browser, or simply keep the original geographical coordinates without moving to origin.

Here're the mathematical terms for the shifting: if the center of the scene extent is Xc and Yc in geographical coordinates, then the values in the VRML file are:

XVrml = XGeographical - Xc

YVrml = YGeographical - Yc

ZVrml = ZGeographical

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires 3D Analyst Extension.

Supported Platforms

Windows, Solaris, Linux


Method Summary
 int getQuality()
          The quality of textures when exported to JPEG (1-100).
 boolean isIndentation()
          Indicates if VRML text is indented.
 boolean isMoveToOrigin()
          Indicates if the origin of the coordinate system is in the middle of the scene.
 boolean isSaveOnlyVisible()
          Indicates if only the visible items are saved.
 boolean isUseElevationGrid()
          Indicates if an elevation grid is used to save raster surfaces.
 boolean isUseGeoVRML()
          Indicates if the GeoVRML Extension is used.
 boolean isYUp()
          Indicates if the scene's y-axis is used as the exporter's up direction.
 void setIndentation(boolean pIndentation)
          Indicates if VRML text is indented.
 void setIsYUp(boolean pIsYUp)
          Indicates if the scene's y-axis is used as the exporter's up direction.
 void setMoveToOrigin(boolean pbMoveToOrigin)
          Indicates if the origin of the coordinate system is in the middle of the scene.
 void setQuality(int quality)
          The quality of textures when exported to JPEG (1-100).
 void setSaveOnlyVisible(boolean pSaveOnlyVisible)
          Indicates if only the visible items are saved.
 void setUseElevationGrid(boolean pbUseElevationGrid)
          Indicates if an elevation grid is used to save raster surfaces.
 void setUseGeoVRML(boolean pbUseGeoVRML)
          Indicates if the GeoVRML Extension is used.
 

Method Detail

setIndentation

void setIndentation(boolean pIndentation)
                    throws IOException,
                           AutomationException
Indicates if VRML text is indented.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires 3D Analyst Extension.

Supported Platforms

Windows, Solaris, Linux

Parameters:
pIndentation - The pIndentation (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isIndentation

boolean isIndentation()
                      throws IOException,
                             AutomationException
Indicates if VRML text is indented.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires 3D Analyst Extension.

Supported Platforms

Windows, Solaris, Linux

Returns:
The pIndentation
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setSaveOnlyVisible

void setSaveOnlyVisible(boolean pSaveOnlyVisible)
                        throws IOException,
                               AutomationException
Indicates if only the visible items are saved.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires 3D Analyst Extension.

Supported Platforms

Windows, Solaris, Linux

Parameters:
pSaveOnlyVisible - The pSaveOnlyVisible (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isSaveOnlyVisible

boolean isSaveOnlyVisible()
                          throws IOException,
                                 AutomationException
Indicates if only the visible items are saved.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires 3D Analyst Extension.

Supported Platforms

Windows, Solaris, Linux

Returns:
The pSaveOnlyVisible
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setIsYUp

void setIsYUp(boolean pIsYUp)
              throws IOException,
                     AutomationException
Indicates if the scene's y-axis is used as the exporter's up direction.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires 3D Analyst Extension.

Supported Platforms

Windows, Solaris, Linux

Parameters:
pIsYUp - The pIsYUp (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isYUp

boolean isYUp()
              throws IOException,
                     AutomationException
Indicates if the scene's y-axis is used as the exporter's up direction.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires 3D Analyst Extension.

Supported Platforms

Windows, Solaris, Linux

Returns:
The pIsYUp
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setMoveToOrigin

void setMoveToOrigin(boolean pbMoveToOrigin)
                     throws IOException,
                            AutomationException
Indicates if the origin of the coordinate system is in the middle of the scene.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires 3D Analyst Extension.

Supported Platforms

Windows, Solaris, Linux

Parameters:
pbMoveToOrigin - The pbMoveToOrigin (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isMoveToOrigin

boolean isMoveToOrigin()
                       throws IOException,
                              AutomationException
Indicates if the origin of the coordinate system is in the middle of the scene.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires 3D Analyst Extension.

Supported Platforms

Windows, Solaris, Linux

Returns:
The pbMoveToOrigin
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setUseGeoVRML

void setUseGeoVRML(boolean pbUseGeoVRML)
                   throws IOException,
                          AutomationException
Indicates if the GeoVRML Extension is used.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires 3D Analyst Extension.

Supported Platforms

Windows, Solaris, Linux

Parameters:
pbUseGeoVRML - The pbUseGeoVRML (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isUseGeoVRML

boolean isUseGeoVRML()
                     throws IOException,
                            AutomationException
Indicates if the GeoVRML Extension is used.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires 3D Analyst Extension.

Supported Platforms

Windows, Solaris, Linux

Returns:
The pbUseGeoVRML
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setUseElevationGrid

void setUseElevationGrid(boolean pbUseElevationGrid)
                         throws IOException,
                                AutomationException
Indicates if an elevation grid is used to save raster surfaces.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires 3D Analyst Extension.

Supported Platforms

Windows, Solaris, Linux

Parameters:
pbUseElevationGrid - The pbUseElevationGrid (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isUseElevationGrid

boolean isUseElevationGrid()
                           throws IOException,
                                  AutomationException
Indicates if an elevation grid is used to save raster surfaces.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires 3D Analyst Extension.

Supported Platforms

Windows, Solaris, Linux

Returns:
The pbUseElevationGrid
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setQuality

void setQuality(int quality)
                throws IOException,
                       AutomationException
The quality of textures when exported to JPEG (1-100).

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires 3D Analyst Extension.

Supported Platforms

Windows, Solaris, Linux

Parameters:
quality - The quality (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getQuality

int getQuality()
               throws IOException,
                      AutomationException
The quality of textures when exported to JPEG (1-100).

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires 3D Analyst Extension.

Supported Platforms

Windows, Solaris, Linux

Returns:
The quality
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.