Classes | |
struct | FrameAxisParameters |
struct | MeshData |
Public Attributes | |
CylMesh | x_cylinder |
ConMesh | x_arrowhead |
CylMesh | y_cylinder |
ConMesh | y_arrowhead |
CylMesh | z_cylinder |
ConMesh | z_arrowhead |
Static Public Attributes | |
static const int | CYLINDER_SEGMENTS = 16 |
static constexpr int | cylinder_vertex_count = CylMesh::vertex_count |
static constexpr int | cylinder_triangle_count = CylMesh::triangle_count |
static constexpr int | cone_vertex_count = ConMesh::vertex_count |
static constexpr int | cone_triangle_count = ConMesh::triangle_count |
static constexpr int | total_vertex_count = (cylinder_vertex_count + cone_vertex_count) * 3 |
static constexpr int | total_triangle_count = (cylinder_triangle_count + cone_triangle_count) * 3 |
Public Member Functions | |
constexpr | CoordinateFrame (const FrameAxisParameters &axisX, const FrameAxisParameters &axisY, const FrameAxisParameters &axisZ) |
constexpr std::array< MeshData, 6 > | get_mesh_components () const |
|
staticconstexpr |
|
staticconstexpr |
|
inlinestatic |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
ConMesh sofa::gl::CoordinateFrame::x_arrowhead |
CylMesh sofa::gl::CoordinateFrame::x_cylinder |
ConMesh sofa::gl::CoordinateFrame::y_arrowhead |
CylMesh sofa::gl::CoordinateFrame::y_cylinder |
ConMesh sofa::gl::CoordinateFrame::z_arrowhead |
CylMesh sofa::gl::CoordinateFrame::z_cylinder |
|
inlineconstexpr |
|
inlineconstexpr |