Template Class PlyVisualization¶
Defined in File PlyVisualization.hpp
Inheritance Relationships¶
Base Type¶
public Acts::IVisualization
(Class IVisualization)
Class Documentation¶
-
template<typename
T
= double>
classActs
::
PlyVisualization
: public Acts::IVisualization¶ Helper to write out PlyVisualization visualization format.
Public Types
-
using
VertexType
= ActsVector<ValueType, 3>¶ Type of a vertex based on the value type.
Public Functions
-
void
clear
() final¶ Remove all contents of this helper.
-
void
face
(const std::vector<Vector3D> &vtxs, IVisualization::ColorType color = {120, 120, 120}) final¶ Draw a line from a vertex to another.
- Parameters
a
: The start vertexb
: The end vertexcolor
: The color of the line
-
void
faces
(const std::vector<Vector3D> &vtxs, const std::vector<FaceType>&, ColorType color = {120, 120, 120}) final¶ Draw a faces that connects a list of vertices - expert only.
- Note
Depending on the helper implementation, out of plane vertices might be handled differently.
- Parameters
vtxs
: The vertices that make up the faceSfaces
: The face presectiotions (i.e. connecting vertices)color
: The color of the face
-
void
line
(const Vector3D &a, const Vector3D &b, IVisualization::ColorType color = {120, 120, 120}) final¶ Draw a face that connects a list of vertices.
- Note
Depending on the helper implementation, out of plane vertices might be handled differently.
- Parameters
vtxs
: The vertices that make up the facecolor
: The color of the face
-
void
vertex
(const Vector3D &vtx, IVisualization::ColorType color = {120, 120, 120}) final¶ Draw a vertex at a given location and a color.
- Parameters
vtx
: The vertex positioncolor
: The color
-
void
write
(const std::string &path) const final¶ Write the content of the helper to an outstream.
- Parameters
os
: The output stream for file
-
void
write
(std::ostream &os) const final¶ Write the content of the helper to an outstream.
- Parameters
os
: The output stream for file
-
using