class with CNC machine emulation settings More...
#include <MRCNCMachineSettings.h>
Public Types | |
| enum class | RotationAxisName { A , B , C } |
| using | RotationAxesOrder = std::vector<RotationAxisName> |
| using | RotationLimits = std::optional<Vector2f> |
Public Member Functions | |
| MRMESH_API void | setRotationAxis (RotationAxisName paramName, const Vector3f &rotationAxis) |
| MRMESH_API const Vector3f & | getRotationAxis (RotationAxisName paramName) const |
| MRMESH_API void | setRotationLimits (RotationAxisName paramName, const RotationLimits &rotationLimits) |
| MRMESH_API const RotationLimits & | getRotationLimits (RotationAxisName paramName) const |
| MRMESH_API void | setRotationOrder (const RotationAxesOrder &rotationAxesOrder) |
| const RotationAxesOrder & | getRotationOrder () const |
| MRMESH_API void | setFeedrateIdle (float feedrateIdle) |
| float | getFeedrateIdle () const |
| void | setHomePosition (const Vector3f &homePosition) |
| const Vector3f & | getHomePosition () const |
| MRMESH_API bool | operator== (const CNCMachineSettings &rhs) |
| bool | operator!= (const CNCMachineSettings &rhs) |
| MRMESH_API Json::Value | saveToJson () const |
| MRMESH_API bool | loadFromJson (const Json::Value &jsonValue) |
Static Public Member Functions | |
| static int | getAxesCount () |
class with CNC machine emulation settings
| using MR::CNCMachineSettings::RotationAxesOrder = std::vector<RotationAxisName> |
| using MR::CNCMachineSettings::RotationLimits = std::optional<Vector2f> |
|
strong |
|
inlinestatic |
|
inline |
|
inline |
| MRMESH_API const Vector3f & MR::CNCMachineSettings::getRotationAxis | ( | RotationAxisName | paramName | ) | const |
| MRMESH_API const RotationLimits & MR::CNCMachineSettings::getRotationLimits | ( | RotationAxisName | paramName | ) | const |
|
inline |
| MRMESH_API bool MR::CNCMachineSettings::loadFromJson | ( | const Json::Value & | jsonValue | ) |
|
inline |
| MRMESH_API bool MR::CNCMachineSettings::operator== | ( | const CNCMachineSettings & | rhs | ) |
| MRMESH_API Json::Value MR::CNCMachineSettings::saveToJson | ( | ) | const |
| MRMESH_API void MR::CNCMachineSettings::setFeedrateIdle | ( | float | feedrateIdle | ) |
|
inline |
| MRMESH_API void MR::CNCMachineSettings::setRotationAxis | ( | RotationAxisName | paramName, |
| const Vector3f & | rotationAxis ) |
| MRMESH_API void MR::CNCMachineSettings::setRotationLimits | ( | RotationAxisName | paramName, |
| const RotationLimits & | rotationLimits ) |
| MRMESH_API void MR::CNCMachineSettings::setRotationOrder | ( | const RotationAxesOrder & | rotationAxesOrder | ) |