C# Class Accord.Controls.DenavitHartenbergViewer

Denavit Hartenberg Viewer.
This class can be used to visualize a D-H model as bitmaps.
Inheritance: IDisposable
Mostrar archivo Open project: accord-net/framework Class Usage Examples

Public Methods

Method Description
ComputeImages ( ) : void

Computes the three images of a list of ModelCombinator

This function assumes that the models have already been calculated.

DenavitHartenbergViewer ( int width, int height ) : System

Initializes a new instance of the DenavitHartenbergViewer class.

Dispose ( ) : void

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Releases unmanaged and - optionally - managed resources

Private Methods

Method Description
DrawArrows ( Graphics &g, string topArrowText, string rightArrowText ) : void

Method to draw arrows to indicate the axis.

GetAllModels ( DenavitHartenbergNode model, List models ) : List

Makes a list of all the models contained on a ModelCombinator. This function is recursive.

Method Details

ComputeImages() public method

Computes the three images of a list of ModelCombinator
This function assumes that the models have already been calculated.
public ComputeImages ( ) : void
return void

DenavitHartenbergViewer() public method

Initializes a new instance of the DenavitHartenbergViewer class.
public DenavitHartenbergViewer ( int width, int height ) : System
width int Width of the drawing window
height int Height of the drawing window
return System

Dispose() public method

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public Dispose ( ) : void
return void

Dispose() protected method

Releases unmanaged and - optionally - managed resources
protected Dispose ( bool disposing ) : void
disposing bool true to release both managed /// and unmanaged resources; false to release only unmanaged /// resources.
return void