LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
#include "GeoObjCollection.h"
Public Member Functions | |
void | Clear () |
void | Add (const Point_t &pt, std::string label="", std::string c="") |
void | Add (const AABox_t &box, std::string label="", std::string c="") |
void | Add (const LineSegment_t &seg, std::string label="", std::string c="") |
void | Add (const HalfLine_t &seg, std::string label="", std::string c="") |
void | Add (const Trajectory_t &trj, std::string label="", std::string c="") |
void | Add (const Cone_t &cone, std::string label="", std::string c="") |
void | Add (const Sphere_t &sphere, std::string label="", std::string c="") |
const std::vector< geoalgo::Point_t > & | Point () const |
const std::vector< std::string > & | PointColor () const |
const std::vector< geoalgo::AABox_t > & | AABox () const |
const std::vector< std::string > & | AABoxColor () const |
const std::vector< geoalgo::LineSegment_t > & | LineSegment () const |
const std::vector< std::string > & | LineSegmentColor () const |
const std::vector< geoalgo::HalfLine_t > & | HalfLine () const |
const std::vector< std::string > & | HalfLineColor () const |
const std::vector< geoalgo::Trajectory_t > & | Trajectory () const |
const std::vector< std::string > & | TrajectoryColor () const |
const std::vector< geoalgo::Cone_t > & | Cone () const |
const std::vector< std::string > & | ConeColor () const |
const std::vector< geoalgo::Sphere_t > & | Sphere () const |
const std::vector< std::string > & | SphereColor () const |
const std::map< geoalgo::Point_t, std::string > & | Labels () const |
Protected Member Functions | |
const Point_t & | _Point_ (size_t i) const |
const AABox_t & | _AABox_ (size_t i) const |
const LineSegment_t & | _LineSegment_ (size_t i) const |
const Trajectory_t & | _Trajectory_ (size_t i) const |
const Cone_t & | _Cone_ (size_t i) const |
const Sphere_t & | _Sphere_ (size_t i) const |
void | _AddLabel_ (const Point_t &pt, std::string label) |
Protected Attributes | |
std::vector< geoalgo::Point_t > | _pt_v |
std::vector< std::string > | _pt_col |
std::vector< geoalgo::AABox_t > | _box_v |
std::vector< std::string > | _box_col |
std::vector< geoalgo::LineSegment_t > | _seg_v |
std::vector< std::string > | _seg_col |
std::vector< geoalgo::HalfLine_t > | _lin_v |
std::vector< std::string > | _lin_col |
std::vector< geoalgo::Trajectory_t > | _trj_v |
std::vector< std::string > | _trj_col |
std::vector< geoalgo::Cone_t > | _cone_v |
std::vector< std::string > | _cone_col |
std::vector< geoalgo::Sphere > | _sphere_v |
std::vector< std::string > | _sphere_col |
std::map< geoalgo::Point_t, std::string > | _labels |
Definition at line 35 of file GeoObjCollection.h.
|
inlineprotected |
Definition at line 80 of file GeoObjCollection.h.
References _box_v.
|
protected |
Definition at line 29 of file GeoObjCollection.cxx.
Referenced by _Sphere_(), and Add().
|
inlineprotected |
Definition at line 86 of file GeoObjCollection.h.
References _cone_v.
|
inlineprotected |
Definition at line 82 of file GeoObjCollection.h.
References _seg_v.
|
inlineprotected |
Definition at line 78 of file GeoObjCollection.h.
References _pt_v.
|
inlineprotected |
Definition at line 88 of file GeoObjCollection.h.
References _AddLabel_(), and _sphere_v.
|
inlineprotected |
Definition at line 84 of file GeoObjCollection.h.
References _trj_v.
|
inline |
Definition at line 57 of file GeoObjCollection.h.
References _box_v.
|
inline |
Definition at line 58 of file GeoObjCollection.h.
References _box_col.
void geoalgo::GeoObjCollection::Add | ( | const Point_t & | pt, |
std::string | label = "" , |
||
std::string | c = "" |
||
) |
Definition at line 44 of file GeoObjCollection.cxx.
References _AddLabel_(), _pt_col, and _pt_v.
void geoalgo::GeoObjCollection::Add | ( | const AABox_t & | box, |
std::string | label = "" , |
||
std::string | c = "" |
||
) |
Definition at line 52 of file GeoObjCollection.cxx.
References _AddLabel_(), _box_col, _box_v, geoalgo::AABox::Max(), and geoalgo::AABox::Min().
void geoalgo::GeoObjCollection::Add | ( | const LineSegment_t & | seg, |
std::string | label = "" , |
||
std::string | c = "" |
||
) |
Definition at line 60 of file GeoObjCollection.cxx.
References _AddLabel_(), _seg_col, _seg_v, and geoalgo::LineSegment::End().
void geoalgo::GeoObjCollection::Add | ( | const HalfLine_t & | seg, |
std::string | label = "" , |
||
std::string | c = "" |
||
) |
Definition at line 68 of file GeoObjCollection.cxx.
References _AddLabel_(), _lin_col, _lin_v, and geoalgo::HalfLine::Start().
void geoalgo::GeoObjCollection::Add | ( | const Trajectory_t & | trj, |
std::string | label = "" , |
||
std::string | c = "" |
||
) |
Definition at line 76 of file GeoObjCollection.cxx.
References _AddLabel_(), _trj_col, and _trj_v.
void geoalgo::GeoObjCollection::Add | ( | const Cone_t & | cone, |
std::string | label = "" , |
||
std::string | c = "" |
||
) |
Definition at line 87 of file GeoObjCollection.cxx.
References _AddLabel_(), _cone_col, _cone_v, geoalgo::HalfLine::Dir(), geoalgo::Cone::Length(), and geoalgo::HalfLine::Start().
void geoalgo::GeoObjCollection::Add | ( | const Sphere_t & | sphere, |
std::string | label = "" , |
||
std::string | c = "" |
||
) |
Definition at line 95 of file GeoObjCollection.cxx.
References _AddLabel_(), _sphere_col, _sphere_v, and geoalgo::Sphere::Center().
void geoalgo::GeoObjCollection::Clear | ( | ) |
Definition at line 10 of file GeoObjCollection.cxx.
References _box_col, _box_v, _cone_col, _cone_v, _labels, _lin_col, _lin_v, _pt_col, _pt_v, _seg_col, _seg_v, _sphere_col, _trj_col, and _trj_v.
|
inline |
Definition at line 69 of file GeoObjCollection.h.
References _cone_v.
|
inline |
Definition at line 70 of file GeoObjCollection.h.
References _cone_col.
|
inline |
Definition at line 63 of file GeoObjCollection.h.
References _lin_v.
|
inline |
Definition at line 64 of file GeoObjCollection.h.
References _lin_col.
|
inline |
Definition at line 75 of file GeoObjCollection.h.
References _labels.
|
inline |
Definition at line 60 of file GeoObjCollection.h.
References _seg_v.
|
inline |
Definition at line 61 of file GeoObjCollection.h.
References _seg_col.
|
inline |
Definition at line 54 of file GeoObjCollection.h.
References _pt_v.
|
inline |
Definition at line 55 of file GeoObjCollection.h.
References _pt_col.
|
inline |
Definition at line 72 of file GeoObjCollection.h.
References _sphere_v.
|
inline |
Definition at line 73 of file GeoObjCollection.h.
References _sphere_col.
|
inline |
Definition at line 66 of file GeoObjCollection.h.
References _trj_v.
|
inline |
Definition at line 67 of file GeoObjCollection.h.
References _trj_col.
|
protected |
Definition at line 95 of file GeoObjCollection.h.
Referenced by AABoxColor(), Add(), and Clear().
|
protected |
|
protected |
Definition at line 103 of file GeoObjCollection.h.
Referenced by Add(), Clear(), and ConeColor().
|
protected |
|
protected |
Definition at line 106 of file GeoObjCollection.h.
Referenced by _AddLabel_(), Clear(), and Labels().
|
protected |
Definition at line 99 of file GeoObjCollection.h.
Referenced by Add(), Clear(), and HalfLineColor().
|
protected |
Definition at line 98 of file GeoObjCollection.h.
Referenced by Add(), Clear(), and HalfLine().
|
protected |
Definition at line 93 of file GeoObjCollection.h.
Referenced by Add(), Clear(), and PointColor().
|
protected |
|
protected |
Definition at line 97 of file GeoObjCollection.h.
Referenced by Add(), Clear(), and LineSegmentColor().
|
protected |
Definition at line 96 of file GeoObjCollection.h.
Referenced by _LineSegment_(), Add(), Clear(), and LineSegment().
|
protected |
Definition at line 105 of file GeoObjCollection.h.
Referenced by Add(), Clear(), and SphereColor().
|
protected |
Definition at line 104 of file GeoObjCollection.h.
Referenced by _Sphere_(), Add(), and Sphere().
|
protected |
Definition at line 101 of file GeoObjCollection.h.
Referenced by Add(), Clear(), and TrajectoryColor().
|
protected |
Definition at line 100 of file GeoObjCollection.h.
Referenced by _Trajectory_(), Add(), Clear(), and Trajectory().