LArSoft
v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
|
#include "BezierCurveHelper.h"
Public Member Functions | |
BezierCurveHelper () | |
BezierCurveHelper (int fCurveRes) | |
~BezierCurveHelper () | |
void | reconfigure (const fhicl::ParameterSet &pset) |
std::vector< TVector3 > | GetBezierPoints (recob::Seed const &s1, recob::Seed const &s2, int N=100) |
std::vector< TVector3 > | GetBezierPointsQuartic (recob::Seed const &s1, recob::Seed const &s2, int N=100) |
std::vector< TVector3 > | GetBezierPointsCubic (recob::Seed const &s1, recob::Seed const &s2, int N=100) |
double | GetSegmentLength (recob::Seed const &s1, recob::Seed const &s2) |
void | GetBezierPointXYZ (recob::Seed const &s1, recob::Seed const &s2, float t, double *xyz) |
TVector3 | GetBezierPoint (recob::Seed const &s1, recob::Seed const &s2, float t) |
TVector3 | GetBezierPointCubic (recob::Seed const &s1, recob::Seed const &s2, float t) |
TVector3 | GetBezierPointQuartic (recob::Seed const &s1, recob::Seed const &s2, float t) |
void | GetDirectionScales (double *Pt1, double *Pt2, double *Dir1, double *Dir2, double *Scales) |
void | SetCurveResolution (int CurveRes) |
int | GetCurveResolution () |
Private Attributes | |
int | fCurveResolution |
Definition at line 29 of file BezierCurveHelper.h.
trkf::BezierCurveHelper::BezierCurveHelper | ( | ) |
|
explicit |
trkf::BezierCurveHelper::~BezierCurveHelper | ( | ) |
Definition at line 45 of file BezierCurveHelper.cxx.
TVector3 trkf::BezierCurveHelper::GetBezierPoint | ( | recob::Seed const & | s1, |
recob::Seed const & | s2, | ||
float | t | ||
) |
Definition at line 122 of file BezierCurveHelper.cxx.
References GetBezierPointCubic().
Referenced by GetBezierPointXYZ().
TVector3 trkf::BezierCurveHelper::GetBezierPointCubic | ( | recob::Seed const & | s1, |
recob::Seed const & | s2, | ||
float | t | ||
) |
Definition at line 181 of file BezierCurveHelper.cxx.
References recob::Seed::GetDirection(), GetDirectionScales(), recob::Seed::GetPoint(), and s.
Referenced by GetBezierPoint().
TVector3 trkf::BezierCurveHelper::GetBezierPointQuartic | ( | recob::Seed const & | s1, |
recob::Seed const & | s2, | ||
float | t | ||
) |
Definition at line 130 of file BezierCurveHelper.cxx.
References recob::Seed::GetDirection(), recob::Seed::GetPoint(), and s.
std::vector< TVector3 > trkf::BezierCurveHelper::GetBezierPoints | ( | recob::Seed const & | s1, |
recob::Seed const & | s2, | ||
int | N = 100 |
||
) |
Definition at line 225 of file BezierCurveHelper.cxx.
References GetBezierPointsCubic().
Referenced by trkf::BezierTrackerAlgorithm::EvaluateOccupancy(), and GetSegmentLength().
std::vector< TVector3 > trkf::BezierCurveHelper::GetBezierPointsCubic | ( | recob::Seed const & | s1, |
recob::Seed const & | s2, | ||
int | N = 100 |
||
) |
Definition at line 233 of file BezierCurveHelper.cxx.
References recob::Seed::GetDirection(), GetDirectionScales(), and recob::Seed::GetPoint().
Referenced by GetBezierPoints().
std::vector< TVector3 > trkf::BezierCurveHelper::GetBezierPointsQuartic | ( | recob::Seed const & | s1, |
recob::Seed const & | s2, | ||
int | N = 100 |
||
) |
Definition at line 271 of file BezierCurveHelper.cxx.
References recob::Seed::GetDirection(), and recob::Seed::GetPoint().
void trkf::BezierCurveHelper::GetBezierPointXYZ | ( | recob::Seed const & | s1, |
recob::Seed const & | s2, | ||
float | t, | ||
double * | xyz | ||
) |
Definition at line 108 of file BezierCurveHelper.cxx.
References GetBezierPoint().
Referenced by trkf::BezierTrack::GetTrackPoint().
|
inline |
void trkf::BezierCurveHelper::GetDirectionScales | ( | double * | Pt1, |
double * | Pt2, | ||
double * | Dir1, | ||
double * | Dir2, | ||
double * | Scales | ||
) |
Definition at line 72 of file BezierCurveHelper.cxx.
Referenced by GetBezierPointCubic(), and GetBezierPointsCubic().
double trkf::BezierCurveHelper::GetSegmentLength | ( | recob::Seed const & | s1, |
recob::Seed const & | s2 | ||
) |
Definition at line 55 of file BezierCurveHelper.cxx.
References fCurveResolution, and GetBezierPoints().
Referenced by trkf::BezierTrack::CalculateSegments().
void trkf::BezierCurveHelper::reconfigure | ( | const fhicl::ParameterSet & | pset | ) |
|
inline |
|
private |
Definition at line 57 of file BezierCurveHelper.h.
Referenced by BezierCurveHelper(), GetCurveResolution(), GetSegmentLength(), and SetCurveResolution().