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

Public Member Functions

def __init__ (self, x, y, w, h, shapes, url)
 
def get_jump (self, x, y)
 
def get_url (self, x, y)
 
def is_inside (self, x, y)
 
- Public Member Functions inherited from smach_viewer.xdot.xdot_qt.Element
def __init__ (self, shapes)
 
def get_jump (self, x, y)
 
def get_url (self, x, y)
 
- Public Member Functions inherited from smach_viewer.xdot.xdot_qt.CompoundShape
def __init__ (self, shapes)
 
def draw (self, cr, highlight=False)
 
- Public Member Functions inherited from smach_viewer.xdot.xdot_qt.Shape
def __init__ (self)
 
def draw (self, cr, highlight=False)
 
def select_pen (self, highlight)
 

Public Attributes

 url
 
 x
 
 x1
 
 x2
 
 y
 
 y1
 
 y2
 
- Public Attributes inherited from smach_viewer.xdot.xdot_qt.CompoundShape
 shapes
 
- Public Attributes inherited from smach_viewer.xdot.xdot_qt.Shape
 highlight_pen
 

Detailed Description

An abstract node in the graph, it's spatial location, and it's visual representation.

Definition at line 285 of file xdot_qt.py.

Constructor & Destructor Documentation

def smach_viewer.xdot.xdot_qt.Node.__init__ (   self,
  x,
  y,
  w,
  h,
  shapes,
  url 
)

Definition at line 288 of file xdot_qt.py.

Member Function Documentation

def smach_viewer.xdot.xdot_qt.Node.get_jump (   self,
  x,
  y 
)

Definition at line 316 of file xdot_qt.py.

def smach_viewer.xdot.xdot_qt.Node.get_url (   self,
  x,
  y 
)
Get the elemnt's metadata.

Definition at line 308 of file xdot_qt.py.

def smach_viewer.xdot.xdot_qt.Node.is_inside (   self,
  x,
  y 
)
Used to check for 2D-picking via the mouse.
param x: The x position on the canvas
param y: The y position on the canvas

Definition at line 301 of file xdot_qt.py.

Member Data Documentation

smach_viewer.xdot.xdot_qt.Node.url

Definition at line 299 of file xdot_qt.py.

smach_viewer.xdot.xdot_qt.Node.x

Definition at line 291 of file xdot_qt.py.

smach_viewer.xdot.xdot_qt.Node.x1

Definition at line 294 of file xdot_qt.py.

smach_viewer.xdot.xdot_qt.Node.x2

Definition at line 296 of file xdot_qt.py.

smach_viewer.xdot.xdot_qt.Node.y

Definition at line 292 of file xdot_qt.py.

smach_viewer.xdot.xdot_qt.Node.y1

Definition at line 295 of file xdot_qt.py.

smach_viewer.xdot.xdot_qt.Node.y2

Definition at line 297 of file xdot_qt.py.


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


smach_viewer
Author(s): Jonathan Bohren
autogenerated on Mon Jun 10 2019 13:13:42