geosoft.gxpy.view

Views, which can be 2D or 3D, contain groups of graphical elements that can be displayed to a user in a Geosoft Map viewer or a Geosoft 3D viewer. Geosoft maps can contain any number of 2D or 3D views.

Views contain one or more geosoft.gxpy.group.Group instances. 2D views can contain 2D groups, while 3D views can contain both 2D and 3D groups.

Classes:
View:

single 2D plane view

View_3d:

3D view in a geosoft.3dv file, or a 3D view on a 2D map.

CrookedPath:

defines the path for a crooked section.

Both 2D and 3D views can be placed on a geosoft.gxpy.map.Map, though 3D views are stored in a geosoft_3dv file which can also be viewed separately from a map.

Constants:
READ_ONLY:

geosoft.gxapi.MVIEW_READ

WRITE_NEW:

geosoft.gxapi.MVIEW_WRITENEW

WRITE_OLD:

geosoft.gxapi.MVIEW_WRITEOLD

UNIT_VIEW:

0

UNIT_MAP:

2

UNIT_VIEW_UNWARPED:

3

GROUP_ALL:

0

GROUP_MARKED:

1

GROUP_VISIBLE:

2

GROUP_AGG:

3

GROUP_CSYMB:

4

GROUP_VOXD:

5

GROUP_VECTORVOX:

6

GROUP_SURFACE:

7

EXTENT_ALL:

geosoft.gxapi.MVIEW_EXTENT_ALL

EXTENT_VISIBLE:

geosoft.gxapi.MVIEW_EXTENT_VISIBLE

EXTENT_CLIPPED:

geosoft.gxapi.MVIEW_EXTENT_CLIP

See also

geosoft.gxpy.map, geosoft.gxpy.group

geosoft.geosoft.gxapi.GXMVIEW

Note

Regression tests provide usage examples: View tests

Functions

_crooked_path_from_ipj(gxipj)

_plane_err(plane, view)

_t(s)

delete_files(v3d_file)

Delete a v3d file with associated files.

Classes

CrookedPath(xy_path[, log_z])

Description of a crooked (x, y) path that defines a crooked-section view, or a crooked-section grid.

PlaneReliefSurfaceInfo(surface_grid_name, ...)

Information about a relief surface assigned to a plane.

View(map[, name, mode, coordinate_system, ...])

Geosoft view class.

View_3d(file_name, mode[, _internal, map, ...])

Geosoft 3D views, which contain 3D drawing groups.

Exceptions

ViewException(message)

Exceptions from geosoft.gxpy.view.