19. marks — OpenGL marks for annotating 3D actors. — pyFormex v0.8.6 documentation

### Navigation

- index
- modules |
- next |
- previous |
- pyFormex v0.8.6 documentation >
- pyFormex reference manual >

# 19. `marks` — OpenGL marks for annotating 3D actors.

`Classes defined in module marks`

class `marks.` `Mark`(pos, nolight=True, **kargs)

  A 2D drawing inserted at a 3D position of the scene.

  The minimum attributes and methods are:
    pos : 3D point where the mark will be drawn draw() : function to draw the mark
  `drawGL`(**kargs)

    Perform the OpenGL drawing functions to display the actor.

  `pickGL`(**kargs)

    Mimick the OpenGL drawing functions to pick (from) the actor.

  `setLineWidth`(linewidth)

    Set the linewidth of the Actor.

  `setLineStipple`(linestipple)

    Set the linewidth of the Actor.

  `setColor`(color=None, colormap=None, ncolors=1)

    Set the color of the Drawable.

class `marks.` `AxesMark`(pos, color=None, **kargs)

  Two viewport axes drawn at a 3D position.

  `pickGL`(**kargs)

    Mimick the OpenGL drawing functions to pick (from) the actor.

  `setLineWidth`(linewidth)

    Set the linewidth of the Actor.

  `setLineStipple`(linestipple)

    Set the linewidth of the Actor.

  `setColor`(color=None, colormap=None, ncolors=1)

    Set the color of the Drawable.

class `marks.` `TextMark`(pos, text, color=None, font='sans', size=18, **kargs)

  A text drawn at a 3D position.

  `pickGL`(**kargs)

    Mimick the OpenGL drawing functions to pick (from) the actor.

  `setLineWidth`(linewidth)

    Set the linewidth of the Actor.

  `setLineStipple`(linestipple)

    Set the linewidth of the Actor.

  `setColor`(color=None, colormap=None, ncolors=1)

    Set the color of the Drawable.

class `marks.` `MarkList`(pos, val, color=(0.0, 0.0, 0.0), font='sans', size=18, leader='', gravity='', **kargs)

  A list of numbers drawn at 3D positions.

  `drawpick`()

    This functions mimicks the drawing of a number list for picking.

  `pickGL`(**kargs)

    Mimick the OpenGL drawing functions to pick (from) the actor.

  `setLineWidth`(linewidth)

    Set the linewidth of the Actor.

  `setLineStipple`(linestipple)

    Set the linewidth of the Actor.

  `setColor`(color=None, colormap=None, ncolors=1)

    Set the color of the Drawable.

`Functions defined in module marks`

### Navigation

- index
- modules |
- next |
- previous |
- pyFormex v0.8.6 documentation >
- pyFormex reference manual >