All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Classes | Functions | Variables
Eegeo::Routes::View Namespace Reference

Contains types and helper functions relating to Route Rendering. More...

Classes

class  IRouteView
 
class  IRouteViewFactory
 
struct  RouteRenderVertex
 
class  RouteView
 
class  RouteViewBaseComponent
 
struct  RouteViewSection
 
class  RouteViewFactory
 
class  RouteViewFactoryRepository
 
class  RouteViewFittedRouteObserver
 
class  IRouteViewGeometryFactory
 
class  RouteViewGeometryFactory
 
class  RouteViewScreenSpaceGeometryFactory
 
struct  RouteViewGeometryFactoryConfig
 
struct  CurveData
 
struct  RouteVert
 
class  RouteViewMaterial
 
class  RouteViewMeshFactory
 
class  RouteViewRenderable
 
class  RouteViewRenderableFactory
 
class  RouteViewRenderer
 
class  RouteViewRepository
 
class  RouteViewSegment
 
class  RouteViewService
 
class  RouteViewShader
 
class  IRouteViewStyleCallback
 
class  TRouteViewStyleCallback
 
class  RouteViewStyleObserver
 
class  ScreenSpaceRouteView
 
class  ScreenSpaceRouteViewMaterial
 
class  ScreenSpaceRouteViewRenderable
 
class  ScreenSpaceRouteViewShader
 
class  ViewFactoryMappingRouteObserver
 

Functions

void CreateRouteRenderVertex (const v3 &position, const v3 &displacement, const v4 &color, RouteRenderVertex &outVertex)
 
bool ShouldFilterVertex (const LocalRouteVertex &lhs, const LocalRouteVertex &rhs)
 
void RemoveDuplicateVertices (std::vector< LocalRouteVertex > &vertices)
 
void GetSectionRanges (const std::vector< LocalRouteVertex > &vertices, std::vector< std::pair< int, int > > &ranges)
 
void CullTransitionIndices (std::set< int > &indicesToCull, std::vector< LocalRouteVertex > &vertices)
 
LocalRouteVertex GetFittedTransitionVertex (const LocalRouteVertex &fittedVertex, const LocalRouteVertex &unfittedVertex)
 
bool IsFittableRouteVertex (const LocalRouteVertex &vertex)
 
void InsertFixedTransitionVertices (std::vector< LocalRouteVertex > &vertices)
 
void InsertIndoorTransitionVertices (std::vector< LocalRouteVertex > &vertices)
 
void CleanTransitionVertices (std::vector< LocalRouteVertex > &vertices)
 
IRouteViewGeometryFactoryCreateRouteViewGeometryFactory (const Routes::Style::RouteStyle &routeStyle)
 
std::vector< RouteViewSectionBuildRouteViewSectionsForVertices (const Fitting::FittedRoute &fittedRoute, const std::vector< LocalRouteVertex > &vertices)
 
bool IsCoincidentModuloZ (const v2 &p, const v2 &q, const float epsilon)
 
void CalculateVertexIndicesForCurveInsertion (const std::vector< RouteVert > &verts, float curveAngleThresholdDot, std::vector< size_t > &outIndices)
 
void CalculateInteriorCurveVerticesAndAddToCollection (const RouteVert &inputA, const RouteVert &inputB, const RouteVert &inputC, int bezierSegmentCount, std::vector< CurveData > &addToCurveDatas, std::vector< RouteVert > &addToVertices, std::vector< u16 > &addToIndices)
 
void CorrectVerticesThatIntersectWithCurves (const std::vector< CurveData > &curveDatas, std::vector< RouteVert > &verts)
 
bool hasNan (const Eegeo::v2 v)
 
void TransformInputVertices (const std::vector< LocalRouteVertex > &originalVerts, const m33 &tangentBasisTranspose, std::vector< RouteVert > &outVerts)
 
void TransformToRenderVerts (const std::vector< RouteVert > &inputVerts, const m33 &basisRot, std::vector< RouteRenderVertex > &outRenderVerts)
 
RouteRenderVertex CreateScreenSpaceRenderVert (const v3 &localEcefPos, const v3 &localEcefTangent, const v4 &colour)
 
void TransformToScreenSpaceRenderVerts (const std::vector< LocalRouteVertex > &inputVerts, std::vector< RouteRenderVertex > &outRenderVerts)
 

Variables

const float EpsilonMeters = 0.0009f
 

Detailed Description

Contains types and helper functions relating to Route Rendering.