GXVOXD class¶
-
class
GXVOXD
(handle=0)¶ GXVOXD class.
GXVOX
Display object.-
classmethod
create
(vox, table, zone, contour)¶ Create a new
GXVOXD
Parameters: - vox (GXVOX) –
GXVOX
Object - table (str) – Color table name, “” for default
- zone (int) – ITR_ZONE constants
- contour (float) – Color contour interval or
rDUMMY
Returns: GXVOXD
handle, terminates if creation failsReturn type: New in version 6.2.
License: Geosoft Open License
Note: Fails if the
GXVOX
object is NOT thematic. (See thecreate_thematic
function.)- vox (GXVOX) –
-
classmethod
create_itr
(vox, itr)¶ Create a new
GXVOXD
with our ownGXITR
Parameters: Returns: GXVOXD
handle, terminates if creation failsReturn type: New in version 6.2.
License: Geosoft Open License
Note: Fails if the
GXVOX
object is thematic. (See thecreate_thematic
function.)
-
classmethod
create_thematic
(vox)¶ Create a new
GXVOXD
for a thematicGXVOX
object.Parameters: vox (GXVOX) – GXVOX
ObjectReturns: GXVOXD
handle, terminates if creation failsReturn type: GXVOXD 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
GXTPAT
object. Thematic voxels contain their own color definitions, and normal numerical operations, such as applying ITRs for display, are not valid.To determine if a
GXVOX
object is thematic, use theis_thematic
function.Fails if the
GXVOX
object is NOT thematic.
-
get_draw_controls
(box, trans, min_x, min_y, min_z, max_x, max_y, max_z)¶ Get the draw controls
Parameters: New in version 6.2.
License: Geosoft Open License
-
get_itr
(itr)¶ -
Parameters: itr (GXITR) – GXITR
objectNew in version 6.2.
License: Geosoft Open License
-
get_name
(name)¶ Gets the file name of the voxel.
Parameters: name (str_ref) – File name returned New in version 8.2.
License: Geosoft Open License
-
get_shell_controls
(min, max)¶ Get the shell controls
Parameters: New in version 6.2.
License: Geosoft Open License
-
get_thematic_info
(tpat, vv)¶ Get a copy of a thematic voxel’s
GXTPAT
object and aGXVV
containing the current display selections.Parameters: New in version 9.3.
License: Geosoft Open License
-
is_null
()¶ Check if this is a null (undefined) instance
Returns: True if this is a null (undefined) instance, False otherwise. Return type: bool
-
is_thematic
()¶ Is this a thematic voxel?
Returns: 1 if GXVOX
is thematicReturn 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
GXTPAT
object. 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)¶ 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)¶ -
Parameters: itr (GXITR) – GXITR
objectNew in version 6.2.
License: Geosoft Open License
-
set_shell_controls
(min, max)¶ Set the shell controls
Parameters: New in version 6.2.
License: Geosoft Open License
-
classmethod