C# Class Canguro.Controller.Tracking.PolygonTrackingService

Pinta un polígono cerrado que sigue al Mouse tras seleccionar una lista de Vertex3D's. Se van seleccionando Vertex3D y siempre se pinta lo necesario para cerrar el contorno. Se van acumulando puntos y formando el contorno hasta que se desactive (o se le dé Reset). Utiliza el MouseMove para seguir y SetPoint para fijar puntos.
Inheritance: TrackingService
Exibir arquivo Open project: rforsbach/Treu-Structure

Public Properties

Property Type Description
Instance PolygonTrackingService

Public Methods

Method Description
MouseMove ( System pt ) : void
Paint ( Device device ) : void
SetColor ( ) : void
SetColor ( Color colorFill, Color colorLine ) : void
SetPoint ( System pt ) : void
SetPoint ( System.Vector3 vecInternational ) : void
Start ( ) : void

Private Methods

Method Description
PolygonTrackingService ( ) : System
recalcPoints ( ) : void

Method Details

MouseMove() public method

public MouseMove ( System pt ) : void
pt System
return void

Paint() public method

public Paint ( Device device ) : void
device Device
return void

SetColor() public method

public SetColor ( ) : void
return void

SetColor() public method

public SetColor ( Color colorFill, Color colorLine ) : void
colorFill Color
colorLine Color
return void

SetPoint() public method

public SetPoint ( System pt ) : void
pt System
return void

SetPoint() public method

public SetPoint ( System.Vector3 vecInternational ) : void
vecInternational System.Vector3
return void

Start() public method

public Start ( ) : void
return void

Property Details

Instance public_oe static_oe property

public static PolygonTrackingService,Canguro.Controller.Tracking Instance
return PolygonTrackingService