libslic3r
Library for generating gcode from 3d models
Public Member Functions | Public Attributes | List of all members
Slic3r::GCodeReader::GCodeLine Class Reference

#include <GCodeReader.hpp>

Public Member Functions

 GCodeLine (GCodeReader *_reader)
 
bool has (char arg) const
 
float get_float (char arg) const
 
float new_X () const
 
float new_Y () const
 
float new_Z () const
 
float new_E () const
 
float new_F () const
 
float dist_X () const
 
float dist_Y () const
 
float dist_Z () const
 
float dist_E () const
 
float dist_XY () const
 
bool extruding () const
 
bool retracting () const
 
bool travel () const
 
void set (char arg, std::string value)
 

Public Attributes

GCodeReaderreader
 
std::string raw
 
std::string cmd
 
std::string comment
 
std::map< char, std::string > args
 

Constructor & Destructor Documentation

◆ GCodeLine()

Slic3r::GCodeReader::GCodeLine::GCodeLine ( GCodeReader _reader)
inline

Member Function Documentation

◆ dist_E()

float Slic3r::GCodeReader::GCodeLine::dist_E ( ) const
inline

◆ dist_X()

float Slic3r::GCodeReader::GCodeLine::dist_X ( ) const
inline

◆ dist_XY()

float Slic3r::GCodeReader::GCodeLine::dist_XY ( ) const
inline

◆ dist_Y()

float Slic3r::GCodeReader::GCodeLine::dist_Y ( ) const
inline

◆ dist_Z()

float Slic3r::GCodeReader::GCodeLine::dist_Z ( ) const
inline

◆ extruding()

bool Slic3r::GCodeReader::GCodeLine::extruding ( ) const
inline

◆ get_float()

float Slic3r::GCodeReader::GCodeLine::get_float ( char  arg) const
inline

◆ has()

bool Slic3r::GCodeReader::GCodeLine::has ( char  arg) const
inline

◆ new_E()

float Slic3r::GCodeReader::GCodeLine::new_E ( ) const
inline

◆ new_F()

float Slic3r::GCodeReader::GCodeLine::new_F ( ) const
inline

◆ new_X()

float Slic3r::GCodeReader::GCodeLine::new_X ( ) const
inline

◆ new_Y()

float Slic3r::GCodeReader::GCodeLine::new_Y ( ) const
inline

◆ new_Z()

float Slic3r::GCodeReader::GCodeLine::new_Z ( ) const
inline

◆ retracting()

bool Slic3r::GCodeReader::GCodeLine::retracting ( ) const
inline

◆ set()

void Slic3r::GCodeReader::GCodeLine::set ( char  arg,
std::string  value 
)

◆ travel()

bool Slic3r::GCodeReader::GCodeLine::travel ( ) const
inline

Member Data Documentation

◆ args

std::map<char,std::string> Slic3r::GCodeReader::GCodeLine::args

◆ cmd

std::string Slic3r::GCodeReader::GCodeLine::cmd

◆ comment

std::string Slic3r::GCodeReader::GCodeLine::comment

◆ raw

std::string Slic3r::GCodeReader::GCodeLine::raw

◆ reader

GCodeReader* Slic3r::GCodeReader::GCodeLine::reader

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