|
ACTS
Experiment-independent tracking
|
Helper to write out PlyVisualization3D visualization format. More...
#include <Acts/Visualization/PlyVisualization3D.hpp>
Public Types | |
| using | ValueType = T |
| Stored value type, should be double or float. | |
| using | VertexType = Eigen::Matrix<ValueType, 3, 1> |
| Type of a vertex based on the value type. | |
| Public Types inherited from Acts::IVisualization3D | |
| using | FaceType = std::vector<std::size_t> |
| Type alias for face definition as vertex indices. | |
Public Member Functions | |
| void | clear () final |
| Remove all contents of this helper. | |
| void | face (const std::vector< Vector3 > &vtxs, Color color={120, 120, 120}) final |
| Draw a face that connects a list of vertices. | |
| void | faces (const std::vector< Vector3 > &vtxs, const std::vector< FaceType > &faces, Color color={120, 120, 120}) final |
| Draw a faces that connects a list of vertices - expert only. | |
| void | line (const Vector3 &a, const Vector3 &b, Color color={120, 120, 120}) final |
| Draw a line from a vertex to another. | |
| void | object (const std::string &) final |
| Start a new object context. | |
| void | vertex (const Vector3 &vtx, Color color={120, 120, 120}) final |
| Draw a vertex at a given location and a color. | |
| void | write (const std::filesystem::path &path) const final |
| Write the content of the helper to an outstream. | |
| void | write (std::ostream &os) const final |
| Write the content of the helper to an outstream. | |
| Public Member Functions inherited from Acts::IVisualization3D | |
| virtual | ~IVisualization3D ()=default |
Additional Inherited Members | |
| Static Public Attributes inherited from Acts::IVisualization3D | |
| static constexpr Color | s_defaultColor = {120, 120, 120} |
| Default color used for visualization when no color is specified. | |
Helper to write out PlyVisualization3D visualization format.
| using Acts::PlyVisualization3D< T >::ValueType = T |
Stored value type, should be double or float.
| using Acts::PlyVisualization3D< T >::VertexType = Eigen::Matrix<ValueType, 3, 1> |
Type of a vertex based on the value type.
|
finalvirtual |
Remove all contents of this helper.
Implements Acts::IVisualization3D.
|
finalvirtual |
Draw a face that connects a list of vertices.
| vtxs | The vertices that make up the face |
| color | The color of the face |
Implements Acts::IVisualization3D.
|
finalvirtual |
Draw a faces that connects a list of vertices - expert only.
| vtxs | The vertices that make up the faceS |
| faces | The face presections (i.e. connecting vertices) |
| color | The color of the face |
Implements Acts::IVisualization3D.
|
finalvirtual |
Draw a line from a vertex to another.
| a | The start vertex |
| b | The end vertex |
| color | The color of the line |
Implements Acts::IVisualization3D.
|
finalvirtual |
Start a new object context.
| name | The name of the object |
Implements Acts::IVisualization3D.
|
finalvirtual |
Draw a vertex at a given location and a color.
| vtx | The vertex position |
| color | The color |
Implements Acts::IVisualization3D.
|
finalvirtual |
Write the content of the helper to an outstream.
| path | is the file system path for writing the file |
Implements Acts::IVisualization3D.
|
finalvirtual |
Write the content of the helper to an outstream.
| os | The output stream for file |
Implements Acts::IVisualization3D.