Track::EditAssist::Selectable Class Reference

Object that reacts to mouse clicks in an editor's view of the track. More...

#include <Selectable.h>

Inheritance diagram for Track::EditAssist::Selectable:

Track::EditAssist::Dragable Track::PathEdge Track::EditAssist::ControlPoint Track::PathVertex Track::EditAssist::LineConstrainedControlPoint Track::EditAssist::RotationHandle Track::EditAssist::SegmentConnectionHandle Track::EditAssist::TrackAttachmentHandle Track::EditAssist::EdgeStrengthHandle Track::EditAssist::VertexRotationHandle List of all members.

Public Member Functions

virtual bool is_here (btVector3 start, btVector3 stop, btScalar radius) const =0
 Check if the object lies along a given line segment.

Detailed Description

Object that reacts to mouse clicks in an editor's view of the track.

A Selectable can be selected by clicking on it.

Definition at line 25 of file Selectable.h.


Member Function Documentation

virtual bool Track::EditAssist::Selectable::is_here ( btVector3  start,
btVector3  stop,
btScalar  radius 
) const [pure virtual]

Check if the object lies along a given line segment.

Parameters:
start The start position of the line in world space.
stop The end position of the line in world space
radius to consider points near the line
Returns:
true if it is on or near the line, false otherwise.

Implemented in Track::EditAssist::ControlPoint, Track::PathEdge, and Track::PathVertex.


The documentation for this class was generated from the following file:
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.