OrcaSlicer latest
OrcaSlicer
Loading...
Searching...
No Matches
libvgcode::PathVertex Struct Reference

#include </home/runner/work/OrcaSlicer/OrcaSlicer/src/libvgcode/include/PathVertex.hpp>

Collaboration diagram for libvgcode::PathVertex:

Public Member Functions

bool is_extrusion () const
bool is_travel () const
bool is_option () const
bool is_wipe () const
bool is_custom_gcode () const
float volumetric_rate () const
float actual_volumetric_rate () const

Public Attributes

Vec3 position { FLT_MAX, FLT_MAX, FLT_MAX }
float height { 0.0f }
float width { 0.0f }
float feedrate { 0.0f }
float actual_feedrate { 0.0f }
float mm3_per_mm { 0.0f }
float fan_speed { 0.0f }
float temperature { 0.0f }
EGCodeExtrusionRole role { EGCodeExtrusionRole::None }
EMoveType type { EMoveType::Noop }
uint32_t gcode_id { 0 }
uint32_t layer_id { 0 }
uint8_t extruder_id { 0 }
uint8_t color_id { 0 }
std::array< float, TIME_MODES_COUNT > times { 0.0f, 0.0f }
float layer_duration { 0.0f }
float pressure_advance { 0.0f }
float acceleration { 0.0f }
float jerk { 0.0f }

Static Public Attributes

static const PathVertex DUMMY_PATH_VERTEX = PathVertex()

Detailed Description

Member Function Documentation

◆ actual_volumetric_rate()

float libvgcode::PathVertex::actual_volumetric_rate ( ) const
inline
135{ return actual_feedrate * mm3_per_mm; }
float actual_feedrate
Definition PathVertex.hpp:40
float mm3_per_mm
Definition PathVertex.hpp:44

References actual_feedrate, and mm3_per_mm.

Referenced by libvgcode::ViewerImpl::get_vertex_color(), and libvgcode::ViewerImpl::update_color_ranges().

Here is the caller graph for this function:

◆ is_custom_gcode()

bool libvgcode::PathVertex::is_custom_gcode ( ) const
49{
51}
@ Extrude
Definition Types.hpp:132
@ Custom
Definition Types.hpp:159
EMoveType type
Definition PathVertex.hpp:66
EGCodeExtrusionRole role
Definition PathVertex.hpp:62

References libvgcode::Custom, libvgcode::Extrude, role, and type.

Referenced by libvgcode::ViewerImpl::update_color_ranges().

Here is the caller graph for this function:

◆ is_extrusion()

bool libvgcode::PathVertex::is_extrusion ( ) const

◆ is_option()

bool libvgcode::PathVertex::is_option ( ) const
28{
29 switch (type)
30 {
33 case EMoveType::Seam:
38 {
39 return true;
40 }
41 default:
42 {
43 return false;
44 }
45 }
46}
@ Retract
Definition Types.hpp:123
@ Unretract
Definition Types.hpp:124
@ ToolChange
Definition Types.hpp:126
@ PausePrint
Definition Types.hpp:128
@ Seam
Definition Types.hpp:125
@ CustomGCode
Definition Types.hpp:129
@ ColorChange
Definition Types.hpp:127

References libvgcode::ColorChange, libvgcode::CustomGCode, libvgcode::PausePrint, libvgcode::Retract, libvgcode::Seam, libvgcode::ToolChange, type, and libvgcode::Unretract.

Referenced by libvgcode::extract_pos_and_or_hwa(), libvgcode::ViewerImpl::get_vertex_color(), and libvgcode::ViewerImpl::update_enabled_entities().

Here is the caller graph for this function:

◆ is_travel()

bool libvgcode::PathVertex::is_travel ( ) const

◆ is_wipe()

bool libvgcode::PathVertex::is_wipe ( ) const

◆ volumetric_rate()

float libvgcode::PathVertex::volumetric_rate ( ) const
inline
131{ return feedrate * mm3_per_mm; }
float feedrate
Definition PathVertex.hpp:36

References feedrate, and mm3_per_mm.

Referenced by libvgcode::ViewerImpl::get_vertex_color(), Slic3r::GUI::GCodeViewer::SequentialView::Marker::render_position_window(), and libvgcode::ViewerImpl::update_color_ranges().

Here is the caller graph for this function:

Member Data Documentation

◆ acceleration

◆ actual_feedrate

◆ color_id

◆ DUMMY_PATH_VERTEX

const PathVertex libvgcode::PathVertex::DUMMY_PATH_VERTEX = PathVertex()
static

◆ extruder_id

◆ fan_speed

◆ feedrate

◆ gcode_id

◆ height

◆ jerk

◆ layer_duration

float libvgcode::PathVertex::layer_duration { 0.0f }

◆ layer_id

◆ mm3_per_mm

float libvgcode::PathVertex::mm3_per_mm { 0.0f }
44{ 0.0f };

Referenced by actual_volumetric_rate(), and volumetric_rate().

◆ position

◆ pressure_advance

◆ role

◆ temperature

◆ times

◆ type

◆ width


The documentation for this struct was generated from the following files:
  • /home/runner/work/OrcaSlicer/OrcaSlicer/src/libvgcode/include/PathVertex.hpp
  • /home/runner/work/OrcaSlicer/OrcaSlicer/src/libvgcode/src/PathVertex.cpp