Document::EdgeStrengthFinder Class Reference

Find or set the edge gradient strength at an end of an edge edge. More...

#include <SetEdgeStrengthDelta.h>

Inheritance diagram for Document::EdgeStrengthFinder:

Document::PropertyDeltaIdentifier< btScalar > List of all members.

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.

Detailed Description

Find or set the edge gradient strength at an end of an edge edge.

Definition at line 26 of file SetEdgeStrengthDelta.h.


Member Typedef Documentation

typedef Track::EditAssist::EdgeStrengthHandle::EdgeEnd Document::EdgeStrengthFinder::EdgeEndEnum

Definition at line 29 of file SetEdgeStrengthDelta.h.


Constructor & Destructor Documentation

Document::EdgeStrengthFinder::EdgeStrengthFinder ( std::size_t  edge_index,
EdgeEndEnum  end 
)

Create, associating with an end of an edge.

Parameters:
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.


Member Function Documentation

void Document::EdgeStrengthFinder::read ( const Track::Track track,
btScalar &  strength 
) [virtual]

Get the gradient strength of the associate edge end.

Parameters:
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.

Parameters:
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.


Member Data Documentation

std::size_t Document::EdgeStrengthFinder::edge_index [protected]

The name of the associated edge.

Definition at line 49 of file SetEdgeStrengthDelta.h.

EdgeEndEnum Document::EdgeStrengthFinder::end [protected]

The end of the edge to use.

Definition at line 51 of file SetEdgeStrengthDelta.h.


The documentation for this class was generated from the following files:
Get Racer at SourceForge.net. Fast, secure and Free Open Source software downloads

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