C# Class MissionPlanner.Controls.Sphere

Inheritance: OpenTK.GLControl
Mostra file Open project: ArduPilot/MissionPlanner Class Usage Examples

Public Properties

Property Type Description
CenterPoint Vector3
scale float

Public Methods

Method Description
AddPoint ( Vector3 point ) : void
AimClear ( ) : void
AimFor ( Vector3 point ) : void
Clear ( ) : void

Protected Methods

Method Description
OnPaint ( System e ) : void
ProcessCmdKey ( System &msg, System keyData ) : bool

Private Methods

Method Description
DrawCircle ( float cx, float cy, float cz, float yaw, float r, int num_segments ) : void
get_pos ( double radius, double theta, double phi, Vector3 &camera_pos ) : void

Method Details

AddPoint() public method

public AddPoint ( Vector3 point ) : void
point Vector3
return void

AimClear() public method

public AimClear ( ) : void
return void

AimFor() public method

public AimFor ( Vector3 point ) : void
point Vector3
return void

Clear() public method

public Clear ( ) : void
return void

OnPaint() protected method

protected OnPaint ( System e ) : void
e System
return void

ProcessCmdKey() protected method

protected ProcessCmdKey ( System &msg, System keyData ) : bool
msg System
keyData System
return bool

Property Details

CenterPoint public_oe property

public Vector3 CenterPoint
return Vector3

scale public_oe property

public float scale
return float