Public Member Functions | Public Attributes | List of all members
display.Display Class Reference

Public Member Functions

def __init__ (self, windowName="pinocchio")
 
def place (self, objName, M, refresh=True)
 

Public Attributes

 viewer
 

Detailed Description

Class Display: Example of a class implementing a client for the Gepetto-viewer server. The main
method of the class is 'place', that sets the position/rotation of a 3D visual object in a scene.

Definition at line 10 of file doc/d-practical-exercises/src/display.py.

Constructor & Destructor Documentation

def display.Display.__init__ (   self,
  windowName = "pinocchio" 
)
This function connect with the Gepetto-viewer server and open a window with the given name.
If the window already exists, it is kept in the current state. Otherwise, the newly-created
window is set up with a scene named 'world'.

Definition at line 15 of file doc/d-practical-exercises/src/display.py.

Member Function Documentation

def display.Display.place (   self,
  objName,
  M,
  refresh = True 
)
This function places (ie changes both translation and rotation) of the object
names "objName" in place given by the SE3 object "M". By default, immediately refresh
the layout. If multiple objects have to be placed at the same time, do the refresh
only at the end of the list.

Definition at line 45 of file doc/d-practical-exercises/src/display.py.

Member Data Documentation

display.Display.viewer

Definition at line 24 of file doc/d-practical-exercises/src/display.py.


The documentation for this class was generated from the following file:


pinocchio
Author(s):
autogenerated on Tue Jun 1 2021 02:45:05