ExMujoco.Types.VisFlag (ExMujoco v0.2.2)

Copy Markdown View Source

mjtVisFlag_ — flags enabling model element visualization. From MuJoCo's headers, as numbers. All 32 values carry a number in the header.

Summary

Functions

mjVIS_ACTIVATION is 5 — activations.

mjVIS_ACTUATOR is 4 — actuators.

mjVIS_AUTOCONNECT is 19 — auto connect joints and body coms.

mjVIS_BODYBVH is 28 — body bounding volume hierarchy.

mjVIS_CAMERA is 3 — cameras.

mjVIS_COM is 20 — center of mass.

mjVIS_CONSTRAINT is 9 — point constraints.

mjVIS_CONTACTFORCE is 16 — contact force.

mjVIS_CONTACTPOINT is 14 — contact points.

mjVIS_CONTACTSPLIT is 17 — split contact force into normal and tangent.

mjVIS_CONVEXHULL is 0 — mesh convex hull.

mjVIS_FLEXEDGE is 25 — flex edges.

mjVIS_FLEXFACE is 26 — flex element faces.

mjVIS_FLEXSKIN is 27 — flex smooth skin (disables the rest).

mjVIS_FLEXVERT is 24 — flex vertices.

mjVIS_INERTIA is 10 — equivalent inertia boxes.

mjVIS_ISLAND is 15 — constraint islands.

mjVIS_JOINT is 2 — joints.

mjVIS_LIGHT is 6 — lights.

mjVIS_MESHBVH is 29 — mesh bounding volume hierarchy.

mjNVISFLAG is 31 — number of visualization flags.

mjVIS_PERTFORCE is 12 — perturbation force.

mjVIS_PERTOBJ is 13 — perturbation object.

mjVIS_RANGEFINDER is 8 — rangefinder sensors.

mjVIS_SCLINERTIA is 11 — scale equivalent inertia boxes with mass.

mjVIS_SDFITER is 30 — iterations of SDF gradient descent.

mjVIS_SELECT is 21 — selection point.

mjVIS_SKIN is 23 — skin.

mjVIS_STATIC is 22 — static bodies.

mjVIS_TENDON is 7 — tendons.

mjVIS_TEXTURE is 1 — textures.

The name behind an integer. An atom is already one.

The integer behind a name. An integer is already one.

mjVIS_TRANSPARENT is 18 — make dynamic geoms more transparent.

Every value, as {name, integer}, in the order the header lists them.

Types

t()

@type t() :: integer()

Functions

activation()

@spec activation() :: 5

mjVIS_ACTIVATION is 5 — activations.

actuator()

@spec actuator() :: 4

mjVIS_ACTUATOR is 4 — actuators.

autoconnect()

@spec autoconnect() :: 19

mjVIS_AUTOCONNECT is 19 — auto connect joints and body coms.

bodybvh()

@spec bodybvh() :: 28

mjVIS_BODYBVH is 28 — body bounding volume hierarchy.

camera()

@spec camera() :: 3

mjVIS_CAMERA is 3 — cameras.

com()

@spec com() :: 20

mjVIS_COM is 20 — center of mass.

constraint()

@spec constraint() :: 9

mjVIS_CONSTRAINT is 9 — point constraints.

contactforce()

@spec contactforce() :: 16

mjVIS_CONTACTFORCE is 16 — contact force.

contactpoint()

@spec contactpoint() :: 14

mjVIS_CONTACTPOINT is 14 — contact points.

contactsplit()

@spec contactsplit() :: 17

mjVIS_CONTACTSPLIT is 17 — split contact force into normal and tangent.

convexhull()

@spec convexhull() :: 0

mjVIS_CONVEXHULL is 0 — mesh convex hull.

flexedge()

@spec flexedge() :: 25

mjVIS_FLEXEDGE is 25 — flex edges.

flexface()

@spec flexface() :: 26

mjVIS_FLEXFACE is 26 — flex element faces.

flexskin()

@spec flexskin() :: 27

mjVIS_FLEXSKIN is 27 — flex smooth skin (disables the rest).

flexvert()

@spec flexvert() :: 24

mjVIS_FLEXVERT is 24 — flex vertices.

inertia()

@spec inertia() :: 10

mjVIS_INERTIA is 10 — equivalent inertia boxes.

island()

@spec island() :: 15

mjVIS_ISLAND is 15 — constraint islands.

joint()

@spec joint() :: 2

mjVIS_JOINT is 2 — joints.

light()

@spec light() :: 6

mjVIS_LIGHT is 6 — lights.

meshbvh()

@spec meshbvh() :: 29

mjVIS_MESHBVH is 29 — mesh bounding volume hierarchy.

mjnvisflag()

@spec mjnvisflag() :: 31

mjNVISFLAG is 31 — number of visualization flags.

pertforce()

@spec pertforce() :: 12

mjVIS_PERTFORCE is 12 — perturbation force.

pertobj()

@spec pertobj() :: 13

mjVIS_PERTOBJ is 13 — perturbation object.

rangefinder()

@spec rangefinder() :: 8

mjVIS_RANGEFINDER is 8 — rangefinder sensors.

sclinertia()

@spec sclinertia() :: 11

mjVIS_SCLINERTIA is 11 — scale equivalent inertia boxes with mass.

sdfiter()

@spec sdfiter() :: 30

mjVIS_SDFITER is 30 — iterations of SDF gradient descent.

select()

@spec select() :: 21

mjVIS_SELECT is 21 — selection point.

skin()

@spec skin() :: 23

mjVIS_SKIN is 23 — skin.

static()

@spec static() :: 22

mjVIS_STATIC is 22 — static bodies.

tendon()

@spec tendon() :: 7

mjVIS_TENDON is 7 — tendons.

texture()

@spec texture() :: 1

mjVIS_TEXTURE is 1 — textures.

to_atom(value)

@spec to_atom(integer() | atom()) :: atom() | nil

The name behind an integer. An atom is already one.

to_integer(value)

@spec to_integer(t() | atom()) :: integer() | nil

The integer behind a name. An integer is already one.

transparent()

@spec transparent() :: 18

mjVIS_TRANSPARENT is 18 — make dynamic geoms more transparent.

values()

@spec values() :: [{atom(), integer()}]

Every value, as {name, integer}, in the order the header lists them.