Public Member Functions | Public Attributes | List of all members
smach_viewer.xdot.xdot.MoveToAnimation Class Reference
Inheritance diagram for smach_viewer.xdot.xdot.MoveToAnimation:
Inheritance graph
[legend]

Public Member Functions

def __init__ (self, dot_widget, target_x, target_y)
 
def animate (self, t)
 
- Public Member Functions inherited from smach_viewer.xdot.xdot.LinearAnimation
def start (self)
 
def tick (self)
 
- Public Member Functions inherited from smach_viewer.xdot.xdot.Animation
def __init__ (self, dot_widget)
 
def stop (self)
 

Public Attributes

 source_x
 
 source_y
 
 target_x
 
 target_y
 
- Public Attributes inherited from smach_viewer.xdot.xdot.LinearAnimation
 started
 
- Public Attributes inherited from smach_viewer.xdot.xdot.Animation
 dot_widget
 
 timeout_id
 

Additional Inherited Members

- Static Public Attributes inherited from smach_viewer.xdot.xdot.LinearAnimation
float duration = 0.6
 
- Static Public Attributes inherited from smach_viewer.xdot.xdot.Animation
float step = 0.03
 

Detailed Description

Definition at line 1378 of file xdot.py.

Constructor & Destructor Documentation

◆ __init__()

def smach_viewer.xdot.xdot.MoveToAnimation.__init__ (   self,
  dot_widget,
  target_x,
  target_y 
)

Reimplemented in smach_viewer.xdot.xdot.ZoomToAnimation.

Definition at line 1380 of file xdot.py.

Member Function Documentation

◆ animate()

def smach_viewer.xdot.xdot.MoveToAnimation.animate (   self,
  t 
)

Reimplemented from smach_viewer.xdot.xdot.LinearAnimation.

Reimplemented in smach_viewer.xdot.xdot.ZoomToAnimation.

Definition at line 1387 of file xdot.py.

Member Data Documentation

◆ source_x

smach_viewer.xdot.xdot.MoveToAnimation.source_x

Definition at line 1382 of file xdot.py.

◆ source_y

smach_viewer.xdot.xdot.MoveToAnimation.source_y

Definition at line 1383 of file xdot.py.

◆ target_x

smach_viewer.xdot.xdot.MoveToAnimation.target_x

Definition at line 1384 of file xdot.py.

◆ target_y

smach_viewer.xdot.xdot.MoveToAnimation.target_y

Definition at line 1385 of file xdot.py.


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


smach_viewer
Author(s): Jonathan Bohren
autogenerated on Thu Feb 20 2025 03:09:09