Coordinate frame.
More...
◆ Frame() [1/2]
| Slic3r::SeamPlacerImpl::Frame::Frame |
( |
| ) |
|
|
inline |
95 {
99 }
Vec3f mZ
Definition SeamPlacer.cpp:134
Vec3f mX
Definition SeamPlacer.cpp:134
Vec3f mY
Definition SeamPlacer.cpp:134
Eigen::Matrix< float, 3, 1, Eigen::DontAlign > Vec3f
Definition Point.hpp:65
References mX, mY, and mZ.
◆ Frame() [2/2]
| Slic3r::SeamPlacerImpl::Frame::Frame |
( |
const Vec3f & | x, |
|
|
const Vec3f & | y, |
|
|
const Vec3f & | z ) |
|
inline |
◆ binormal()
| const Vec3f & Slic3r::SeamPlacerImpl::Frame::binormal |
( |
| ) |
const |
|
inline |
◆ normal()
| const Vec3f & Slic3r::SeamPlacerImpl::Frame::normal |
( |
| ) |
const |
|
inline |
◆ set_from_z()
| void Slic3r::SeamPlacerImpl::Frame::set_from_z |
( |
const Vec3f & | z | ) |
|
|
inline |
105 {
108 Vec3f tmpX = (std::abs(tmpZ.x()) > 0.99f) ?
Vec3f(0, 1, 0) :
Vec3f(1, 0, 0);
109 mY = (tmpZ.cross(tmpX)).normalized();
111 }
References mX, mY, and mZ.
◆ tangent()
| const Vec3f & Slic3r::SeamPlacerImpl::Frame::tangent |
( |
| ) |
const |
|
inline |
◆ to_local()
| Vec3f Slic3r::SeamPlacerImpl::Frame::to_local |
( |
const Vec3f & | a | ) |
const |
|
inline |
◆ to_world()
| Vec3f Slic3r::SeamPlacerImpl::Frame::to_world |
( |
const Vec3f & | a | ) |
const |
|
inline |
113 {
114 return a.x() *
mX + a.y() *
mY + a.z() *
mZ;
115 }
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:
- /home/runner/work/OrcaSlicer/OrcaSlicer/src/libslic3r/GCode/SeamPlacer.cpp