Track::EditAssist Namespace Reference

Features for that mostly make sense for an editor. More...


Classes

class  ControlPoint
 A Dragable point. More...
class  Dragable
 A Selectable which can be dragged. More...
class  EdgeStrengthHandle
 A handle for adjusting the gradient stength of a Track::PathEdge. More...
class  LineConstrainedControlPoint
 A handle constrained to a line, half line, or line segment. More...
class  RotationHandle
 A ControlPoint that stays a fixed distance from another point. More...
class  SegmentConnectionHandle
class  Selectable
 Object that reacts to mouse clicks in an editor's view of the track. More...
class  TrackAttachmentHandle
 Control point for an object which can be dragged along an edge. More...
class  VertexRotationHandle

Functions

btVector3 to_plane (btVector3 v, btVector3 normal)
 snap a point to a plane going through the origin.


Detailed Description

Features for that mostly make sense for an editor.

This is the ideal namespace for things which are built in to elements of the Track namespace, but are only used for the editor. Its contents is independent of any user interface library.


Function Documentation

btVector3 Track::EditAssist::to_plane ( btVector3  v,
btVector3  normal 
)

snap a point to a plane going through the origin.

Parameters:
v position to snap
normal The normal of the plane
Returns:
the nearest point to v on the plane.

Definition at line 44 of file LineConstrainedControlPoint.cpp.


Get Racer at SourceForge.net. Fast, secure and Free Open Source software downloads

Generated at Mon Sep 6 00:41:19 2010 by Doxygen version 1.4.7 for Racer version svn335.