|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IVRMLExporter
Provides access to members that are associated with the VRML exporter.
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
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 |
---|
void setIndentation(boolean pIndentation) throws IOException, AutomationException
pIndentation
- The pIndentation (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean isIndentation() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setSaveOnlyVisible(boolean pSaveOnlyVisible) throws IOException, AutomationException
pSaveOnlyVisible
- The pSaveOnlyVisible (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean isSaveOnlyVisible() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setIsYUp(boolean pIsYUp) throws IOException, AutomationException
pIsYUp
- The pIsYUp (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean isYUp() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setMoveToOrigin(boolean pbMoveToOrigin) throws IOException, AutomationException
pbMoveToOrigin
- The pbMoveToOrigin (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean isMoveToOrigin() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setUseGeoVRML(boolean pbUseGeoVRML) throws IOException, AutomationException
pbUseGeoVRML
- The pbUseGeoVRML (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean isUseGeoVRML() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setUseElevationGrid(boolean pbUseElevationGrid) throws IOException, AutomationException
pbUseElevationGrid
- The pbUseElevationGrid (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean isUseElevationGrid() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setQuality(int quality) throws IOException, AutomationException
quality
- The quality (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getQuality() 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 |