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 8 of file display.py.

Constructor & Destructor Documentation

◆ __init__()

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 display.py.

Member Function Documentation

◆ place()

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 48 of file display.py.

Member Data Documentation

◆ viewer

display.Display.viewer

Definition at line 24 of file display.py.


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


pinocchio
Author(s):
autogenerated on Thu Dec 19 2024 03:41:34