Project
Loading...
Searching...
No Matches
ContourCreator.inl File Reference
#include <utility>
#include <vector>
#include <iostream>
#include "Edge.h"
#include "Polygon.h"
#include "Contour.h"
#include "SegmentTree.h"
#include <algorithm>

Go to the source code of this file.

Namespaces

namespace  o2
 a couple of static helper functions to create timestamp values for CCDB queries or override obsolete objects
 
namespace  o2::mch
 
namespace  o2::mch::contour
 
namespace  o2::mch::contour::impl
 

Macros

#define O2_MCH_CONTOUR_CONTOURCREATOR_INL
 

Typedefs

template<typename T >
using o2::mch::contour::impl::GetVertexPosFunc = T(*)(const Vertex< T > &)
 

Functions

template<typename T >
void o2::mch::contour::impl::sortVerticalEdges (std::vector< VerticalEdge< T > > &edges)
 
template<typename T >
Interval< T > o2::mch::contour::impl::interval (const VerticalEdge< T > &edge)
 
template<typename T >
std::vector< VerticalEdge< T > > o2::mch::contour::impl::getVerticalEdges (const Polygon< T > &polygon)
 
template<typename T >
std::vector< VerticalEdge< T > > o2::mch::contour::impl::getVerticalEdges (const std::vector< Polygon< T > > &polygons)
 
template<typename T >
o2::mch::contour::impl::getX (const Vertex< T > &v)
 
template<typename T >
o2::mch::contour::impl::getY (const Vertex< T > &v)
 
template<typename T >
std::vector< T > o2::mch::contour::impl::getPositions (const std::vector< Polygon< T > > &polygons, GetVertexPosFunc< T > func)
 
template<typename T >
std::vector< T > o2::mch::contour::impl::getYPositions (const std::vector< Polygon< T > > &polygons)
 
template<typename T >
std::vector< T > o2::mch::contour::impl::getXPositions (const std::vector< Polygon< T > > &polygons)
 
template<typename T >
std::vector< VerticalEdge< T > > o2::mch::contour::impl::sweep (Node< T > *segmentTree, const std::vector< VerticalEdge< T > > &polygonVerticalEdges)
 
template<typename T >
std::vector< HorizontalEdge< T > > o2::mch::contour::impl::verticalsToHorizontals (const std::vector< VerticalEdge< T > > &verticals)
 
template<typename T >
Contour< T > o2::mch::contour::impl::finalizeContour (const std::vector< VerticalEdge< T > > &verticals, const std::vector< HorizontalEdge< T > > &horizontals)
 

Macro Definition Documentation

◆ O2_MCH_CONTOUR_CONTOURCREATOR_INL

#define O2_MCH_CONTOUR_CONTOURCREATOR_INL
Author
Laurent Aphecetche

Definition at line 16 of file ContourCreator.inl.