#include <SetEdgeStrengthDelta.h>
Inheritance diagram for Document::EdgeStrengthFinder:
Public Types | |
typedef Track::EditAssist::EdgeStrengthHandle::EdgeEnd | EdgeEndEnum |
Public Member Functions | |
EdgeStrengthFinder (std::size_t edge_index, EdgeEndEnum end) | |
Create, associating with an end of an edge. | |
virtual void | read (const Track::Track &track, btScalar &strength) |
Get the gradient strength of the associate edge end. | |
virtual void | write (Track::Track &track, const btScalar &new_strength) |
Set the strength of the assoicated edge end. | |
Protected Attributes | |
std::size_t | edge_index |
The name of the associated edge. | |
EdgeEndEnum | end |
The end of the edge to use. |
Definition at line 26 of file SetEdgeStrengthDelta.h.
Definition at line 29 of file SetEdgeStrengthDelta.h.
Document::EdgeStrengthFinder::EdgeStrengthFinder | ( | std::size_t | edge_index, | |
EdgeEndEnum | end | |||
) |
Create, associating with an end of an edge.
edge_index | The name of the edge to associate with. | |
end | The end of the edge to associate with. |
Definition at line 18 of file SetEdgeStrengthDelta.cpp.
void Document::EdgeStrengthFinder::read | ( | const Track::Track & | track, | |
btScalar & | strength | |||
) | [virtual] |
Get the gradient strength of the associate edge end.
track | The Track the associated edge is in. | |
strength | Variable to set to the current gradient strength. |
Implements Document::PropertyDeltaIdentifier< btScalar >.
Definition at line 24 of file SetEdgeStrengthDelta.cpp.
void Document::EdgeStrengthFinder::write | ( | Track::Track & | track, | |
const btScalar & | new_strength | |||
) | [virtual] |
Set the strength of the assoicated edge end.
track | The Track the associated edge is in. | |
new_strength | The location to move the associated vertex to. |
Implements Document::PropertyDeltaIdentifier< btScalar >.
Definition at line 31 of file SetEdgeStrengthDelta.cpp.
std::size_t Document::EdgeStrengthFinder::edge_index [protected] |
EdgeEndEnum Document::EdgeStrengthFinder::end [protected] |
Generated at Mon Sep 6 00:41:17 2010 by Doxygen version 1.4.7 for Racer version svn335.