Constants

Details

v_sim.COLORIZATION_FROM_X = -3

To be used when a column id is awaited. The reduced coordinate in x direction will then be used.

v_sim.COLORIZATION_FROM_Y = -2

To be used when a column id is awaited. The reduced coordinate in y direction will then be used.

v_sim.COLORIZATION_FROM_Z = -1

To be used when a column id is awaited. The reduced coordinate in z direction will then be used.

v_sim.COLORIZATION_UNSET = -4

To be used when a column id is awaited. A constant value will then be used.

v_sim.COLOR_MASK_A = 8

This value can be used to create a mask for methods that require one for reading rgb color array. This value actually correspond to the alpha channel.

v_sim.COLOR_MASK_B = 4

This value can be used to create a mask for methods that require one for reading rgb color array. This value actually correspond to blue.

v_sim.COLOR_MASK_G = 2

This value can be used to create a mask for methods that require one for reading rgb color array. This value actually correspond to green.

v_sim.COLOR_MASK_R = 1

This value can be used to create a mask for methods that require one for reading rgb color array. This value actually correspond to red.

v_sim.COLOR_MASK_RGBA = 15

This value can be used to create a mask for methods that require one for reading rgb color array. This value is a shortcut for v_sim.COLOR_MASK_R | v_sim.COLOR_MASK_G | v_sim.COLOR_MASK_B.

v_sim.DATA_DIFF_DEFAULT_ID = 'geometry_diff'

A default label that is used to store a v_sim.DataDiff in a v_sim.Data.

New in version 3.8.

v_sim.GL_CAMERA_OMEGA = 8

Value used in the v_sim.GlCamera.setThetaPhiOmega() method to store the omega angle.

v_sim.GL_CAMERA_PHI = 4

Value used in the v_sim.GlCamera.setThetaPhiOmega() method to store the phi angle.

v_sim.GL_CAMERA_THETA = 2

Value used in the v_sim.GlCamera.setThetaPhiOmega() method to store the tetha angle.

v_sim.GL_CAMERA_XS = 2

Value used in the v_sim.GlCamera.setXsYs() method to store the horizontal offset.

v_sim.GL_CAMERA_YS = 4

Value used in the v_sim.GlCamera.setXsYs() method to store the vertical offset.

v_sim.GL_EXT_AXES_ID = 'Axes'

The id used to identify this extension, see v_sim.GlExt.rebuild() for instance.

v_sim.GL_EXT_BG_ID = 'Background'

The id used to identify this extension, see v_sim.GlExt.rebuild() for instance.

v_sim.GL_EXT_BOX_ID = 'Box'

The id used to identify this extension, see v_sim.GlExt.rebuild() for instance.

v_sim.GL_EXT_BOX_LEGEND_ID = 'Box legend'

The id used to identify this extension, see v_sim.GlExt.rebuild() for instance.

v_sim.GL_EXT_INFOS_ID = 'Node information'

The id used to identify this extension, see v_sim.GlExt.rebuild() for instance.

v_sim.GL_EXT_LEGEND_ID = 'Legend'

The id used to identify this extension, see v_sim.GlExt.rebuild() for instance.

v_sim.GL_EXT_MAPS_ID = 'Maps'

The id used to identify this extension, see v_sim.GlExt.rebuild() for instance.

v_sim.GL_EXT_PAIRS_ID = 'Pairs'

The id used to identify this extension, see v_sim.GlExt.rebuild() for instance.

v_sim.GL_EXT_PATHS_ID = 'Paths'

The id used to identify this extension, see v_sim.GlExt.rebuild() for instance.

v_sim.GL_EXT_PLANES_ID = 'Planes'

The id used to identify this extension, see v_sim.GlExt.rebuild() for instance.

v_sim.GL_EXT_PRIORITY_BACKGROUND = 0

An extension with this priority is drawn first.

v_sim.GL_EXT_PRIORITY_HIGH = 20

An extension with this priority is drawn after the higher priorities.

v_sim.GL_EXT_PRIORITY_LAST = 100

An extension with this priority is drawn last.

v_sim.GL_EXT_PRIORITY_LOW = 80

An extension with this priority is drawn among last extensions.

v_sim.GL_EXT_PRIORITY_NODES = 2

An extension with this priority is drawn alsmost first with the nodes.

v_sim.GL_EXT_PRIORITY_NODE_DECORATIONS = 5

An extension with this priority is drawn just after the nodes.

v_sim.GL_EXT_PRIORITY_NORMAL = 50

An extension with this priority is drawn after the higher priorities.

v_sim.GL_EXT_SHADE_ID = 'Shade'

The id used to identify this extension, see v_sim.GlExt.rebuild() for instance.

v_sim.GL_EXT_SURFACES_ID = 'Surfaces'

The id used to identify this extension, see v_sim.GlExt.rebuild() for instance.

v_sim.GL_FOG_MASK_FULL = 2

Value used by the second parameter of v_sim.Gl.setFogStartFull() to specified the value that must be changed. This actually changes the fog_end value.

v_sim.GL_FOG_MASK_START = 1

Value used by the second parameter of v_sim.Gl.setFogStartFull() to specified the value that must be changed. This actually changes the fog_start value.

v_sim.GL_OFFSCREEN = 1

An hint mentioning that the OpenGL context is used for offscreen rendering.

New in version 3.8.

v_sim.MAX_LINE_LENGTH = 256

This is the maximum number of characters read on a line of an input file.

v_sim.PAIR_CYLINDER_RADIUS_MAX = 3.0

Maximum value for the radius of cylinder pairs.

v_sim.PAIR_CYLINDER_RADIUS_MIN = 0.01

Minimum value for the radius of cylinder pairs.

v_sim.PI180 = 0.017453

Value of pi / 180.

v_sim.PLANE_SIDE_MINUS = -1

This is a key that defines which side is hidden by the plane. For this value, the side is the one at the opposite of the one pointed by the normal vector.

v_sim.PLANE_SIDE_NONE = 0

This is a key that defines which side is hidden by the plane. For this value, no node is hidden.

v_sim.PLANE_SIDE_PLUS = 1

This is a key that defines which side is hidden by the plane. For this value, the side is the one pointed by the normal vector.

v_sim.SCALAR_FIELD_DEFINED_IN_STRUCT_FILE = 'fileFormat_hasPotentialOrDensity'

Flag used to registered a bool property in a v_sim.Data object. If this flag is True, the file used to read the structure can be used to read a density or a potential.

v_sim.SURFACE_POINTS_MAX_VERTICES = 10

Size used in v_sim.SurfacePoly structure.

New in version 3.8.

v_sim.SURFACE_POINTS_OFFSET_NORMAL = 3

The offset to read the normal values in poly_points.

v_sim.SURFACE_POINTS_OFFSET_TRANSLATION = 6

The offset to read the translation values in poly_points.

v_sim.SURFACE_POINTS_OFFSET_USER = 9

The offset to read the user values in poly_points.

v_sim.SURFACE_PROPERTY_POTENTIAL = 'potential_values'

Flag used in an ASCII surf file to give informations on the value the surface is built from.

v_sim.UI_SURFACE_NAME_CHOOSE = '<span size="smaller"><i>'

The string used in the tree view to represent the surfaces that don’t share surface resources.

v_sim.UI_SURFACE_NAME_STR = 'Choose an id name'

The default string used to name surfaces that are not associated to any public surface ressource.

v_sim.WEB_SITE = 'http://l_sim.gitlab.io/V_Sim'

URL where to find info on V_Sim.

v_sim.XYZ_MASK_ALL = 7

This value can be used to create a mask for methods that require one for reading xyz coordinates array. This value is a shortcut for v_sim.XYZ_MASK_X | v_sim.XYZ_MASK_Y | v_sim.XYZ_MASK_Z.

New in version 3.3.

v_sim.XYZ_MASK_X = 1

This value can be used to create a mask for methods that require one for reading xyz coordinates array. This value actually correspond to the x direction.

New in version 3.3.

v_sim.XYZ_MASK_Y = 2

This value can be used to create a mask for methods that require one for reading xyz coordinates array. This value actually correspond to the y direction.

New in version 3.3.

v_sim.XYZ_MASK_Z = 4

This value can be used to create a mask for methods that require one for reading xyz coordinates array. This value actually correspond to the z direction.

New in version 3.3.