C# Class CURELab.SignLanguage.Debugger.View.ChartView

ChartView.xaml 的交互逻辑
Inheritance: System.Windows.Controls.UserControl
Show file Open project: huangfuyang/Sign-Language-with-Kinect

Public Methods

Method Description
AddLineGraph ( string name, TwoDimensionViewPointCollection datasource, System.Windows.Media.Pen pen, bool isShow ) : void

add new line graph

AddSegRect ( int start, int end, System.Windows.Media.Brush color, double height = 0.5 ) : void
AddSplitLine ( int split, double stroke, double min, double max, SegmentType segType, Color color ) : Microsoft.Research.DynamicDataDisplay.LineGraph

draw split line

AddTruthRect ( int start, int end, System.Windows.Media.Brush color, double height = 1 ) : void
ChartView ( ) : System
ClearAllGraph ( ) : void

clear all the graphs

ClearSplitLine ( bool isClearAcc, bool isClearVel, bool isClearAng ) : void

DrawSigner ( int split, double min, double max ) : void

draw signer

RemoveRect ( ) : void
SetXRestriction ( double xlow, double xhigh ) : void
SetYRestriction ( double ylow, double yhigh ) : void
ShowRect ( ) : void
ShowSplitLine ( bool isShowAcc, bool isShowVel, bool isShowAng ) : void

Private Methods

Method Description
AppendLineGraph ( TwoDimensionViewPointCollection collection, System.Windows.Media.Pen pen, string description ) : LineAndMarker

Append VelocityPointCollection to the graph

Method Details

AddLineGraph() public method

add new line graph
public AddLineGraph ( string name, TwoDimensionViewPointCollection datasource, System.Windows.Media.Pen pen, bool isShow ) : void
name string line graph name
datasource TwoDimensionViewPointCollection graph data source
pen System.Windows.Media.Pen pen color
isShow bool is show at beginning
return void

AddSegRect() public method

public AddSegRect ( int start, int end, System.Windows.Media.Brush color, double height = 0.5 ) : void
start int
end int
color System.Windows.Media.Brush
height double
return void

AddSplitLine() public method

draw split line
public AddSplitLine ( int split, double stroke, double min, double max, SegmentType segType, Color color ) : Microsoft.Research.DynamicDataDisplay.LineGraph
split int
stroke double
min double
max double
segType SegmentType
color Color
return Microsoft.Research.DynamicDataDisplay.LineGraph

AddTruthRect() public method

public AddTruthRect ( int start, int end, System.Windows.Media.Brush color, double height = 1 ) : void
start int
end int
color System.Windows.Media.Brush
height double
return void

ChartView() public method

public ChartView ( ) : System
return System

ClearAllGraph() public method

clear all the graphs
public ClearAllGraph ( ) : void
return void

ClearSplitLine() public method

public ClearSplitLine ( bool isClearAcc, bool isClearVel, bool isClearAng ) : void
isClearAcc bool
isClearVel bool
isClearAng bool
return void

DrawSigner() public method

draw signer
public DrawSigner ( int split, double min, double max ) : void
split int
min double
max double
return void

RemoveRect() public method

public RemoveRect ( ) : void
return void

SetXRestriction() public method

public SetXRestriction ( double xlow, double xhigh ) : void
xlow double
xhigh double
return void

SetYRestriction() public method

public SetYRestriction ( double ylow, double yhigh ) : void
ylow double
yhigh double
return void

ShowRect() public method

public ShowRect ( ) : void
return void

ShowSplitLine() public method

public ShowSplitLine ( bool isShowAcc, bool isShowVel, bool isShowAng ) : void
isShowAcc bool
isShowVel bool
isShowAng bool
return void