Coordinate frame.
More...
◆ Frame() [1/2]
| Slic3r::SeamPlacerImpl::Frame::Frame |
( |
| ) |
|
|
inline |
65 {
69 }
Vec3f mZ
Definition SeamPlacer.cpp:104
Vec3f mX
Definition SeamPlacer.cpp:104
Vec3f mY
Definition SeamPlacer.cpp:104
Eigen::Matrix< float, 3, 1, Eigen::DontAlign > Vec3f
Definition Point.hpp:49
References mX, mY, and mZ.
◆ Frame() [2/2]
◆ binormal()
| const Vec3f & Slic3r::SeamPlacerImpl::Frame::binormal |
( |
| ) |
const |
|
inline |
◆ normal()
| const Vec3f & Slic3r::SeamPlacerImpl::Frame::normal |
( |
| ) |
const |
|
inline |
◆ set_from_z()
75 {
78 Vec3f tmpX = (std::abs(tmpZ.x()) > 0.99f) ?
Vec3f(0, 1, 0) :
Vec3f(1, 0, 0);
79 mY = (tmpZ.cross(tmpX)).normalized();
81 }
References mX, mY, and mZ.
◆ tangent()
| const Vec3f & Slic3r::SeamPlacerImpl::Frame::tangent |
( |
| ) |
const |
|
inline |
◆ to_local()
◆ to_world()
83 {
84 return a.x() *
mX +
a.y() *
mY +
a.z() *
mZ;
85 }
References mX, mY, and mZ.
◆ mX
| Vec3f Slic3r::SeamPlacerImpl::Frame::mX |
|
private |
◆ mY
| Vec3f Slic3r::SeamPlacerImpl::Frame::mY |
|
private |
◆ mZ
| Vec3f Slic3r::SeamPlacerImpl::Frame::mZ |
|
private |
The documentation for this class was generated from the following file: