OrcaSlicer latest
OrcaSlicer
Loading...
Searching...
No Matches
Slic3r::PrintObjectRegions::FuzzySkinPaintedRegion Struct Reference

#include </home/runner/work/OrcaSlicer/OrcaSlicer/src/libslic3r/Print.hpp>

Collaboration diagram for Slic3r::PrintObjectRegions::FuzzySkinPaintedRegion:

Public Types

enum class  ParentType { VolumeRegion , PaintedRegion }

Public Member Functions

PrintRegion * parent_print_object_region (const LayerRangeRegions &layer_range) const
int parent_print_object_region_id (const LayerRangeRegions &layer_range) const

Public Attributes

ParentType parent_type { ParentType::VolumeRegion }
int parent { -1 }
PrintRegion * region { nullptr }

Detailed Description

Member Enumeration Documentation

◆ ParentType

Enumerator
VolumeRegion 
PaintedRegion 
303{ VolumeRegion, PaintedRegion };

Member Function Documentation

◆ parent_print_object_region()

PrintRegion * Slic3r::PrintObjectRegions::FuzzySkinPaintedRegion::parent_print_object_region ( const LayerRangeRegions & layer_range) const
7137{
7139
7140 if (this->parent_type == FuzzySkinParentType::PaintedRegion) {
7141 return layer_range.painted_regions[this->parent].region;
7142 }
7143
7144 assert(this->parent_type == FuzzySkinParentType::VolumeRegion);
7145 return layer_range.volume_regions[this->parent].region;
7146}
ParentType parent_type
Definition Print.hpp:305

References Slic3r::PrintObjectRegions::LayerRangeRegions::painted_regions, parent, parent_print_object_region(), parent_type, and Slic3r::PrintObjectRegions::LayerRangeRegions::volume_regions.

Referenced by parent_print_object_region(), parent_print_object_region_id(), and Slic3r::verify_update_print_object_regions().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ parent_print_object_region_id()

int Slic3r::PrintObjectRegions::FuzzySkinPaintedRegion::parent_print_object_region_id ( const LayerRangeRegions & layer_range) const
7149{
7150 return this->parent_print_object_region(layer_range)->print_object_region_id();
7151}
int print_object_region_id() const
Definition Print.hpp:158
PrintRegion * parent_print_object_region(const LayerRangeRegions &layer_range) const
Definition Print.cpp:7136

References parent_print_object_region(), and parent_print_object_region_id().

Referenced by parent_print_object_region_id().

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ parent

int Slic3r::PrintObjectRegions::FuzzySkinPaintedRegion::parent { -1 }
307{ -1 };

Referenced by parent_print_object_region().

◆ parent_type

ParentType Slic3r::PrintObjectRegions::FuzzySkinPaintedRegion::parent_type { ParentType::VolumeRegion }

◆ region

PrintRegion* Slic3r::PrintObjectRegions::FuzzySkinPaintedRegion::region { nullptr }
309{ nullptr };

Referenced by Slic3r::verify_update_print_object_regions().


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