GXVOXD class¶
- class GXVOXD(handle=0)[source]¶
GXVOXD class.
GXVOXDisplay object.- classmethod create(vox, table, zone, contour)[source]¶
Create a new
GXVOXD- Parameters:
table (str) – Color table name, “” for default
zone (int) – ITR_ZONE constants
contour (float) – Color contour interval or
rDUMMY
- Returns:
GXVOXDhandle, terminates if creation fails- Return type:
New in version 6.2.
License: Geosoft Open License
Note: Fails if the
GXVOXobject is NOT thematic. (See thecreate_thematicfunction.)
- classmethod create_itr(vox, itr)[source]¶
Create a new
GXVOXDwith our ownGXITR- Parameters:
- Returns:
GXVOXDhandle, terminates if creation fails- Return type:
New in version 6.2.
License: Geosoft Open License
Note: Fails if the
GXVOXobject is thematic. (See thecreate_thematicfunction.)
- classmethod create_thematic(vox)[source]¶
Create a new
GXVOXDfor a thematicGXVOXobject.- Parameters:
- Returns:
GXVOXDhandle, terminates if creation fails- Return type:
New in version 7.0.
License: Geosoft Open License
Note: A thematic voxel is one where the stored integer values represent indices into an internally stored
GXTPATobject. Thematic voxels contain their own color definitions, and normal numerical operations, such as applying ITRs for display, are not valid.To determine if a
GXVOXobject is thematic, use theis_thematicfunction.Fails if the
GXVOXobject is NOT thematic.
- get_draw_controls(box, trans, min_x, min_y, min_z, max_x, max_y, max_z)[source]¶
Get the draw controls
- Parameters:
New in version 6.2.
License: Geosoft Open License
- get_itr(itr)[source]¶
-
New in version 6.2.
License: Geosoft Open License
- get_name(name)[source]¶
Gets the file name of the voxel.
- Parameters:
name (str_ref) – File name returned
New in version 8.2.
License: Geosoft Open License
- get_render_mode(render_mode)[source]¶
Get voxel render mode.
- Parameters:
render_mode (int_ref) – VOXELRENDER_MODE constants
New in version 9.5.
License: Geosoft Open License
- get_shell_controls(min, max)[source]¶
Get the shell controls
- Parameters:
New in version 6.2.
License: Geosoft Open License
- get_thematic_info(tpat, vv)[source]¶
Get a copy of a thematic voxel’s
GXTPATobject and aGXVVcontaining the current display selections.- Parameters:
New in version 9.3.
License: Geosoft Open License
- is_null()[source]¶
Check if this is a null (undefined) instance
- Returns:
True if this is a null (undefined) instance, False otherwise.
- Return type:
bool
- is_thematic()[source]¶
Is this a thematic voxel?
- Returns:
1 if
GXVOXis thematic- Return type:
int
New in version 9.3.
License: Geosoft Open License
Note: A thematic voxel is one where the stored integer values represent indices into an internally stored
GXTPATobject. Thematic voxels contain their own color definitions, and normal numerical operations, such as applying ITRs for display, are not valid.
- set_draw_controls(box, trans, min_x, min_y, min_z, max_x, max_y, max_z)[source]¶
Set the draw controls
- Parameters:
box (int) – Draw Bounding Box
trans (float) – Transparency
min_x (float) – Min X
min_y (float) – Min Y
min_z (float) – Min Z
max_x (float) – Max X
max_y (float) – Max Y
max_z (float) – Max Z
New in version 6.2.
License: Geosoft Open License
- set_itr(itr)[source]¶
-
New in version 6.2.
License: Geosoft Open License
- set_render_mode(render_mode)[source]¶
Get voxel render mode.
- Parameters:
render_mode (int) – VOXELRENDER_MODE constants
New in version 9.5.
License: Geosoft Open License
- set_shell_controls(min, max)[source]¶
Set the shell controls
- Parameters:
New in version 6.2.
License: Geosoft Open License
VOXELRENDER_MODE constants¶
Render Modes