|
AvogadroLibs 2.1.0-20261111
|
A triangle mesh produced from one drawable of the scene. More...
#include <tessellatingvisitor.h>
Public Attributes | |
| std::string | name |
| std::vector< Vector3f > | positions |
| std::vector< Vector3f > | normals |
| std::vector< Vector4ub > | colors |
| std::vector< unsigned int > | indices |
<avogadro/rendering/tessellatingvisitor.h>
All arrays except indices are parallel (one entry per vertex).
| std::string name |
The kind of drawable: "spheres", "cylinders", "mesh", "cartoon", "curves", "dashedlines", "arrows", "lines", ...
| std::vector<Vector4ub> colors |
RGBA, the alpha channel is the opacity.
| std::vector<unsigned int> indices |
Triangle list (three indices per triangle) into the vertex arrays.