#include <Dragable.h>
Inheritance diagram for Track::EditAssist::Dragable:

Public Member Functions | |
| virtual void | snap (btVector3 &position, btVector3 normal) const |
| Adjust a position the object was dragged to to the nearest valid location. | |
| virtual boost::shared_ptr< Document::DocumentDelta > | make_delta (btVector3 position) const =0 |
| Make a DocumentDelta that moves the object to a new position. | |
This is a base class for objects that can be moved by dragging them across a view in the editor.
Definition at line 29 of file Dragable.h.
| virtual boost::shared_ptr<Document::DocumentDelta> Track::EditAssist::Dragable::make_delta | ( | btVector3 | position | ) | const [pure virtual] |
Make a DocumentDelta that moves the object to a new position.
| position | the desired position of the Selectable after the DocumentDelta is applied. |
Implemented in Track::EditAssist::EdgeStrengthHandle, Track::EditAssist::SegmentConnectionHandle, Track::EditAssist::TrackAttachmentHandle, Track::EditAssist::VertexRotationHandle, and Track::PathVertex.
| void Track::EditAssist::Dragable::snap | ( | btVector3 & | position, | |
| btVector3 | normal | |||
| ) | const [virtual] |
Adjust a position the object was dragged to to the nearest valid location.
| position | to adjust. | |
| normal | direction which the user cannot see as their view is looking down it. |
Reimplemented in Track::EditAssist::LineConstrainedControlPoint, Track::EditAssist::RotationHandle, Track::EditAssist::SegmentConnectionHandle, and Track::EditAssist::TrackAttachmentHandle.
Definition at line 20 of file Dragable.cpp.
Generated at Mon Sep 6 00:41:19 2010 by Doxygen version 1.4.7 for Racer version svn335.