Track::PathEdgeEnd Class Reference

Information about an Edge that is recorded for each end of the edge, but can be different to multiple edges at the same vertex. More...

#include <PathEdgeEnd.h>

List of all members.

Public Member Functions

 PathEdgeEnd (std::size_t edge_index, EditAssist::EdgeStrengthHandle::EdgeEnd end)
 Create tied to a specific end of an edge.
 PathEdgeEnd (std::istream &source, std::size_t edge_index, EditAssist::EdgeStrengthHandle::EdgeEnd end)
 Create from a stream tied to a specific end of an edge.
virtual ~PathEdgeEnd ()

Public Attributes

btScalar gradient_strength
 The strength at which to use the gradient at the vertex.
std::size_t segment_connection_index
 The index of the segment connection.
EditAssist::EdgeStrengthHandle handle
 Control point to adjust gradient_strength.

Protected Attributes

unsigned int file_version

Friends

std::ostream & operator<< (std::ostream &destination, const PathEdgeEnd &path_edge_end)


Detailed Description

Information about an Edge that is recorded for each end of the edge, but can be different to multiple edges at the same vertex.

Definition at line 30 of file PathEdgeEnd.h.


Constructor & Destructor Documentation

Track::PathEdgeEnd::PathEdgeEnd ( std::size_t  edge_index,
EditAssist::EdgeStrengthHandle::EdgeEnd  end 
)

Create tied to a specific end of an edge.

Parameters:
edge_index The name of the edge to link to.
end The end we represent.

Definition at line 21 of file PathEdgeEnd.cpp.

Track::PathEdgeEnd::PathEdgeEnd ( std::istream &  source,
std::size_t  edge_index,
EditAssist::EdgeStrengthHandle::EdgeEnd  end 
)

Create from a stream tied to a specific end of an edge.

Parameters:
source The stream to extract data from. It will be advanced to the end of the description of the PathEdgeEnd.
edge_index The name of the edge to link to.
end The end we represent.

Definition at line 28 of file PathEdgeEnd.cpp.

Track::PathEdgeEnd::~PathEdgeEnd (  )  [virtual]

Definition at line 38 of file PathEdgeEnd.cpp.


Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  destination,
const PathEdgeEnd path_edge_end 
) [friend]

Definition at line 43 of file PathEdgeEnd.cpp.


Member Data Documentation

unsigned int Track::PathEdgeEnd::file_version [protected]

Definition at line 69 of file PathEdgeEnd.h.

btScalar Track::PathEdgeEnd::gradient_strength

The strength at which to use the gradient at the vertex.

It is dependent on the length of the edges.

Definition at line 56 of file PathEdgeEnd.h.

EditAssist::EdgeStrengthHandle Track::PathEdgeEnd::handle

Control point to adjust gradient_strength.

Todo:
It could make PathEdge cleaner if the relavent PathVertex was linked to in here. However the graph will then store the connections of each arc twice, and we'ld have to keep it up to date.

Definition at line 67 of file PathEdgeEnd.h.

std::size_t Track::PathEdgeEnd::segment_connection_index

The index of the segment connection.

Definition at line 59 of file PathEdgeEnd.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:18 2010 by Doxygen version 1.4.7 for Racer version svn335.