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

#include <Layer.hpp>

Inheritance diagram for Slic3r::SupportLayer:
Slic3r::Layer

Public Member Functions

bool is_support () const override
 polymorphic id More...
 
- Public Member Functions inherited from Slic3r::Layer
size_t id () const
 ID number. More...
 
void set_id (size_t id)
 Setter for this->_id. More...
 
PrintObjectobject ()
 Getter for _object. More...
 
const PrintObjectobject () const
 
size_t region_count () const
 Returns the number of regions. More...
 
LayerRegionget_region (size_t idx)
 Gets a region at a specific id. More...
 
const LayerRegionget_region (size_t idx) const
 Gets a region at a specific id as const. More...
 
LayerRegionadd_region (PrintRegion *print_region)
 Adds a PrintRegion. More...
 
void make_slices ()
 Merge all regions' slices to get islands. More...
 
void merge_slices ()
 Merges all of the LayerRegions' slices. More...
 
template<class T >
bool any_internal_region_slice_contains (const T &item) const
 Template which iterates over all of the LayerRegion for internally containing the argument. More...
 
template<class T >
bool any_bottom_region_slice_contains (const T &item) const
 Template which iterates over all of the LayerRegion for containing on the bottom the argument. More...
 
void make_perimeters ()
 Creates the perimeters cummulatively for all layer regions sharing the same parameters influencing the perimeters. More...
 
void make_fills ()
 Makes fills for all the LayerRegion. More...
 
void detect_surfaces_type ()
 Determines the type of surface (top/bottombridge/bottom/internal) each region is. More...
 
void process_external_surfaces ()
 Processes the external surfaces. More...
 

Public Attributes

ExPolygonCollection support_islands
 
ExtrusionEntityCollection support_fills
 
ExtrusionEntityCollection support_interface_fills
 
- Public Attributes inherited from Slic3r::Layer
Layerupper_layer
 Pointer to layer above. More...
 
Layerlower_layer
 Pointer to layer below. More...
 
LayerRegionPtrs regions
 Vector of pointers to the LayerRegions of this layer. More...
 
bool slicing_errors
 Presence of slicing errors. More...
 
coordf_t slice_z
 Z used for slicing in unscaled coordinates. More...
 
coordf_t print_z
 Z used for printing in unscaled coordinates. More...
 
coordf_t height
 layer height in unscaled coordinates More...
 
ExPolygonCollection slices
 

Protected Member Functions

 SupportLayer (size_t id, PrintObject *object, coordf_t height, coordf_t print_z, coordf_t slice_z)
 Constructor. More...
 
virtual ~SupportLayer ()
 Destructor. More...
 
- Protected Member Functions inherited from Slic3r::Layer
 Layer (size_t id, PrintObject *object, coordf_t height, coordf_t print_z, coordf_t slice_z)
 Constructor. More...
 
virtual ~Layer ()
 Destructor. More...
 
void clear_regions ()
 Deletes all regions. More...
 
void delete_region (int idx)
 Deletes a specific region. More...
 

Friends

class PrintObject
 

Additional Inherited Members

- Protected Attributes inherited from Slic3r::Layer
size_t _id
 sequential number of layer, 0-based More...
 
PrintObject_object
 Associated PrintObject. More...
 

Constructor & Destructor Documentation

◆ SupportLayer()

Slic3r::SupportLayer::SupportLayer ( size_t  id,
PrintObject object,
coordf_t  height,
coordf_t  print_z,
coordf_t  slice_z 
)
inlineprotected

Constructor.

◆ ~SupportLayer()

virtual Slic3r::SupportLayer::~SupportLayer ( )
inlineprotectedvirtual

Destructor.

Member Function Documentation

◆ is_support()

bool Slic3r::SupportLayer::is_support ( ) const
inlineoverridevirtual

polymorphic id

Reimplemented from Slic3r::Layer.

Friends And Related Function Documentation

◆ PrintObject

friend class PrintObject
friend

Member Data Documentation

◆ support_fills

ExtrusionEntityCollection Slic3r::SupportLayer::support_fills

Collection of support fills. Populated in SupportMaterial.pm in sub generate_toolpaths

◆ support_interface_fills

ExtrusionEntityCollection Slic3r::SupportLayer::support_interface_fills

Collection of support interface fills. Populated in SupportMaterial.pm in sub generate_toolpaths

◆ support_islands

ExPolygonCollection Slic3r::SupportLayer::support_islands

Collection of support islands. Populated in SupportMaterial.pm in sub generate_toolpaths


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