OrcaSlicer latest
OrcaSlicer
Loading...
Searching...
No Matches
Slic3r::Emboss::OrthoProject3d Class Reference

#include </home/runner/work/OrcaSlicer/OrcaSlicer/src/libslic3r/Emboss.hpp>

Inheritance diagram for Slic3r::Emboss::OrthoProject3d:
Collaboration diagram for Slic3r::Emboss::OrthoProject3d:

Public Member Functions

 OrthoProject3d (Vec3d direction)
Vec3d project (const Vec3d &point) const override
 Move point with respect to projection direction e.g. Orthogonal projection will move with point by direction e.g. Spherical projection need to use center of projection.

Private Attributes

Vec3d m_direction

Detailed Description

Constructor & Destructor Documentation

◆ OrthoProject3d()

Slic3r::Emboss::OrthoProject3d::OrthoProject3d ( Vec3d direction)
inline
415: m_direction(direction) {}
Vec3d m_direction
Definition Emboss.hpp:413

References m_direction.

Member Function Documentation

◆ project()

Vec3d Slic3r::Emboss::OrthoProject3d::project ( const Vec3d & point) const
inlineoverridevirtual

Move point with respect to projection direction e.g. Orthogonal projection will move with point by direction e.g. Spherical projection need to use center of projection.

Parameters
pointSpatial point coordinate
Returns
Projected spatial point

Implements Slic3r::Emboss::IProject3d.

416{ return point + m_direction;}

References m_direction.

Member Data Documentation

◆ m_direction

Vec3d Slic3r::Emboss::OrthoProject3d::m_direction
private

Referenced by OrthoProject3d(), and project().


The documentation for this class was generated from the following file:
  • /home/runner/work/OrcaSlicer/OrcaSlicer/src/libslic3r/Emboss.hpp