Common
common packages for kyubic
 
Loading...
Searching...
No Matches
rt_pose_plotter.main.PlotUnitWidget Class Reference
+ Inheritance diagram for rt_pose_plotter.main.PlotUnitWidget:
+ Collaboration diagram for rt_pose_plotter.main.PlotUnitWidget:

Public Member Functions

def __init__ (self, title, y1_label, y2_label, unit1, unit2, min1_y, max1_y, min2_y, max2_y, invert_y=False, parent=None)
 
def setData (self, time_data, value1_data, value2_data, target_data)
 
def update_yrange (self)
 
def update_views (self)
 
def auto_scale_y (self, event)
 

Public Attributes

 min1_y_input
 
 max1_y_input
 
 min2_y_input
 
 max2_y_input
 
 plot_widget
 
 plot_widget2
 
 target_curve
 
 value1_curve
 
 value2_curve
 
 init
 

Detailed Description

一つのグラフと、その設定UIをまとめたウィジェットクラス

Constructor & Destructor Documentation

◆ __init__()

def rt_pose_plotter.main.PlotUnitWidget.__init__ (   self,
  title,
  y1_label,
  y2_label,
  unit1,
  unit2,
  min1_y,
  max1_y,
  min2_y,
  max2_y,
  invert_y = False,
  parent = None 
)

Member Function Documentation

◆ auto_scale_y()

def rt_pose_plotter.main.PlotUnitWidget.auto_scale_y (   self,
  event 
)
グラフをダブルクリックしたときにY軸のスケールを自動調整する

◆ setData()

def rt_pose_plotter.main.PlotUnitWidget.setData (   self,
  time_data,
  value1_data,
  value2_data,
  target_data 
)

◆ update_views()

def rt_pose_plotter.main.PlotUnitWidget.update_views (   self)

◆ update_yrange()

def rt_pose_plotter.main.PlotUnitWidget.update_yrange (   self)

Member Data Documentation

◆ init

rt_pose_plotter.main.PlotUnitWidget.init

◆ max1_y_input

rt_pose_plotter.main.PlotUnitWidget.max1_y_input

◆ max2_y_input

rt_pose_plotter.main.PlotUnitWidget.max2_y_input

◆ min1_y_input

rt_pose_plotter.main.PlotUnitWidget.min1_y_input

◆ min2_y_input

rt_pose_plotter.main.PlotUnitWidget.min2_y_input

◆ plot_widget

rt_pose_plotter.main.PlotUnitWidget.plot_widget

◆ plot_widget2

rt_pose_plotter.main.PlotUnitWidget.plot_widget2

◆ target_curve

rt_pose_plotter.main.PlotUnitWidget.target_curve

◆ value1_curve

rt_pose_plotter.main.PlotUnitWidget.value1_curve

◆ value2_curve

rt_pose_plotter.main.PlotUnitWidget.value2_curve

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