C# Class Treefrog.Plugins.Object.Tools.ObjectSelectTool

Inheritance: ObjectPointerTool, ICommandSubscriber
Show file Open project: jaquadro/Treefrog Class Usage Examples

Public Methods

Method Description
ObjectSelectTool ( ILayerContext layerContext, Treefrog.Framework.Model.ObjectLayer layer, Size gridSize, Treefrog.Presentation.ObjectSelectionManager selectionManager ) : System

Protected Methods

Method Description
DisposeManaged ( ) : void
EndPointerSequenceCore ( PointerEventInfo info, ILevelGeometry viewport ) : void
PointerPositionCore ( PointerEventInfo info, ILevelGeometry viewport ) : void
StartPointerSequenceCore ( PointerEventInfo info, ILevelGeometry viewport ) : void
UpdatePointerSequenceCore ( PointerEventInfo info, ILevelGeometry viewport ) : void

Private Methods

Method Description
ActivateObjectMenu ( PointerEventInfo info ) : void
CoarseHitTest ( int x, int y ) : List
InitializeCommandManager ( ) : void
MaxBoundingDiagonal ( ObjectInstance inst ) : float
ObjectsInArea ( Rectangle area ) : List
PointInRing ( Point point, Point center, float innerRadius, float outerRadius ) : bool
SelectObjectPosition ( PointerEventInfo info, ILevelGeometry viewport ) : void
TopObject ( List objects ) : ObjectInstance
UpdatePropertyProvider ( ) : void

Method Details

DisposeManaged() protected method

protected DisposeManaged ( ) : void
return void

EndPointerSequenceCore() protected method

protected EndPointerSequenceCore ( PointerEventInfo info, ILevelGeometry viewport ) : void
info Treefrog.Presentation.Tools.PointerEventInfo
viewport ILevelGeometry
return void

ObjectSelectTool() public method

public ObjectSelectTool ( ILayerContext layerContext, Treefrog.Framework.Model.ObjectLayer layer, Size gridSize, Treefrog.Presentation.ObjectSelectionManager selectionManager ) : System
layerContext ILayerContext
layer Treefrog.Framework.Model.ObjectLayer
gridSize Treefrog.Framework.Imaging.Size
selectionManager Treefrog.Presentation.ObjectSelectionManager
return System

PointerPositionCore() protected method

protected PointerPositionCore ( PointerEventInfo info, ILevelGeometry viewport ) : void
info Treefrog.Presentation.Tools.PointerEventInfo
viewport ILevelGeometry
return void

StartPointerSequenceCore() protected method

protected StartPointerSequenceCore ( PointerEventInfo info, ILevelGeometry viewport ) : void
info Treefrog.Presentation.Tools.PointerEventInfo
viewport ILevelGeometry
return void

UpdatePointerSequenceCore() protected method

protected UpdatePointerSequenceCore ( PointerEventInfo info, ILevelGeometry viewport ) : void
info Treefrog.Presentation.Tools.PointerEventInfo
viewport ILevelGeometry
return void