|
ATLAS Offline Software
|
Go to the documentation of this file.
11 #include "Acts/Definitions/Algebra.hpp"
32 const Acts::Vector3&
vertex,
33 const std::string& vtntype =
"v",
41 const std::vector<unsigned int>& vsides);
54 const std::vector<Acts::Vector3>& vertices,
55 double thickness = 0.,
56 const std::vector<unsigned int>& vsides = {});
63 VtnCounter& vtnCounter,
65 unsigned int nSegments,
69 double thickness = 0.);
void writePlanarFace(std::ofstream &stream, VtnCounter &vtnCounter, double scalor, const std::vector< Acts::Vector3 > &vertices, double thickness=0., const std::vector< unsigned int > &vsides={})
This will write a planar face.
Amg::Vector3D transform(Amg::Vector3D &v, Amg::Transform3D &tr)
Transform a point from a Trasformation3D.
void writeTube(std::ofstream &stream, VtnCounter &vtnCounter, double scalor, unsigned int nSegments, const Acts::Transform3 &transform, double r, double hZ, double thickness=0.)
This will write a cylindrical object.
This is the counter struct for keeping track of the vertices.
void constructVerticalFaces(std::ofstream &stream, unsigned int start, const std::vector< unsigned int > &vsides)
construct vertical faces this takes a range and constructs faces
void writeVTN(std::ofstream &stream, VtnCounter &vtnCounter, double scalor, const Acts::Vector3 &vertex, const std::string &vtntype="v", bool point=false)
This will write a vertex to the fstream.