MeshLib
 
Loading...
Searching...
No Matches
MR::CNCMachineSettings Class Reference

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 Vector3fgetRotationAxis (RotationAxisName paramName) const
 
MRMESH_API void setRotationLimits (RotationAxisName paramName, const RotationLimits &rotationLimits)
 
MRMESH_API const RotationLimitsgetRotationLimits (RotationAxisName paramName) const
 
MRMESH_API void setRotationOrder (const RotationAxesOrder &rotationAxesOrder)
 
const RotationAxesOrdergetRotationOrder () const
 
MRMESH_API void setFeedrateIdle (float feedrateIdle)
 
float getFeedrateIdle () const
 
void setHomePosition (const Vector3f &homePosition)
 
const Vector3fgetHomePosition () 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 ()
 

Detailed Description

class with CNC machine emulation settings

Member Typedef Documentation

◆ RotationAxesOrder

◆ RotationLimits

using MR::CNCMachineSettings::RotationLimits = std::optional<Vector2f>

Member Enumeration Documentation

◆ RotationAxisName

Enumerator

Member Function Documentation

◆ getAxesCount()

static int MR::CNCMachineSettings::getAxesCount ( )
inlinestatic

◆ getFeedrateIdle()

float MR::CNCMachineSettings::getFeedrateIdle ( ) const
inline

◆ getHomePosition()

const Vector3f & MR::CNCMachineSettings::getHomePosition ( ) const
inline

◆ getRotationAxis()

MRMESH_API const Vector3f & MR::CNCMachineSettings::getRotationAxis ( RotationAxisName paramName) const

◆ getRotationLimits()

MRMESH_API const RotationLimits & MR::CNCMachineSettings::getRotationLimits ( RotationAxisName paramName) const

◆ getRotationOrder()

const RotationAxesOrder & MR::CNCMachineSettings::getRotationOrder ( ) const
inline

◆ loadFromJson()

MRMESH_API bool MR::CNCMachineSettings::loadFromJson ( const Json::Value & jsonValue)

◆ operator!=()

bool MR::CNCMachineSettings::operator!= ( const CNCMachineSettings & rhs)
inline

◆ operator==()

MRMESH_API bool MR::CNCMachineSettings::operator== ( const CNCMachineSettings & rhs)

◆ saveToJson()

MRMESH_API Json::Value MR::CNCMachineSettings::saveToJson ( ) const

◆ setFeedrateIdle()

MRMESH_API void MR::CNCMachineSettings::setFeedrateIdle ( float feedrateIdle)

◆ setHomePosition()

void MR::CNCMachineSettings::setHomePosition ( const Vector3f & homePosition)
inline

◆ setRotationAxis()

MRMESH_API void MR::CNCMachineSettings::setRotationAxis ( RotationAxisName paramName,
const Vector3f & rotationAxis )

◆ setRotationLimits()

MRMESH_API void MR::CNCMachineSettings::setRotationLimits ( RotationAxisName paramName,
const RotationLimits & rotationLimits )

◆ setRotationOrder()

MRMESH_API void MR::CNCMachineSettings::setRotationOrder ( const RotationAxesOrder & rotationAxesOrder)

The documentation for this class was generated from the following file: