#include <ShapeCreator.h>
|
| ShapeCreator () |
|
void | setProjection (int p) |
|
TLine * | createLine (const TVector3 &pos, const TVector3 &dir, double length) |
|
TLine * | createLine (const TVector3 &pos1, const TVector3 &pos2) |
|
TLine * | createOrthogonalLine (const TVector3 &pos, const TVector3 &dir, double length) |
|
TArrow * | createArrow (const TVector3 &pos, const TVector3 &dir, double length) |
|
TPolyLine * | createTriangle (const TVector3 &pos, const TVector3 &dir, double length) |
|
TArc * | createArc (const TVector3 &pos, double r) |
|
TBox * | createBox (const TVector3 &upperleft, const TVector3 &lowerright) |
|
TText * | createText (const TVector3 &pos, const char *text) |
|
TEllipse * | createEllipse (const TVector3 &pos, double r1, double r2) |
|
Definition at line 22 of file ShapeCreator.h.
◆ ShapeCreator()
ShapeCreator::ShapeCreator |
( |
| ) |
|
◆ applyDirectionProjectionUnit()
void ShapeCreator::applyDirectionProjectionUnit |
( |
const TVector3 & |
dir, |
|
|
double & |
x1, |
|
|
double & |
x2, |
|
|
const TVector3 & |
pos |
|
) |
| |
|
private |
Definition at line 53 of file ShapeCreator.cxx.
68 const double phiFactor = 1000.;
72 x2 = (pos2.Phi() -
pos.Phi()) * phiFactor;
◆ applyProjection()
void ShapeCreator::applyProjection |
( |
const TVector3 & |
pos, |
|
|
double & |
x1, |
|
|
double & |
x2 |
|
) |
| |
|
private |
◆ createArc()
TArc * ShapeCreator::createArc |
( |
const TVector3 & |
pos, |
|
|
double |
r |
|
) |
| |
◆ createArrow()
TArrow * ShapeCreator::createArrow |
( |
const TVector3 & |
pos, |
|
|
const TVector3 & |
dir, |
|
|
double |
length |
|
) |
| |
◆ createBox()
TBox * ShapeCreator::createBox |
( |
const TVector3 & |
upperleft, |
|
|
const TVector3 & |
lowerright |
|
) |
| |
◆ createEllipse()
TEllipse * ShapeCreator::createEllipse |
( |
const TVector3 & |
pos, |
|
|
double |
r1, |
|
|
double |
r2 |
|
) |
| |
◆ createLine() [1/2]
TLine * ShapeCreator::createLine |
( |
const TVector3 & |
pos, |
|
|
const TVector3 & |
dir, |
|
|
double |
length |
|
) |
| |
◆ createLine() [2/2]
TLine * ShapeCreator::createLine |
( |
const TVector3 & |
pos1, |
|
|
const TVector3 & |
pos2 |
|
) |
| |
◆ createOrthogonalLine()
TLine * ShapeCreator::createOrthogonalLine |
( |
const TVector3 & |
pos, |
|
|
const TVector3 & |
dir, |
|
|
double |
length |
|
) |
| |
◆ createText()
TText * ShapeCreator::createText |
( |
const TVector3 & |
pos, |
|
|
const char * |
text |
|
) |
| |
◆ createTriangle()
TPolyLine * ShapeCreator::createTriangle |
( |
const TVector3 & |
pos, |
|
|
const TVector3 & |
dir, |
|
|
double |
length |
|
) |
| |
◆ setProjection()
void ShapeCreator::setProjection |
( |
int |
p | ) |
|
Definition at line 95 of file ShapeCreator.cxx.
97 if(
p != 0 &&
p != 1 &&
p != 2 &&
p != 3 &&
p != 4)
98 std::cout <<
"ERROR Wrong projection " << std::endl;
◆ m_projection
int ShapeCreator::m_projection |
|
private |
The documentation for this class was generated from the following files: