OrcaSlicer latest
OrcaSlicer
Loading...
Searching...
No Matches
Slic3r::sla::Pillar Struct Reference

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

Inheritance diagram for Slic3r::sla::Pillar:
Collaboration diagram for Slic3r::sla::Pillar:

Public Member Functions

 Pillar (const Vec3d &endp, double h, double radius=1.)
Vec3d startpoint () const
const Vec3d & endpoint () const

Public Attributes

double height
double r
Vec3d endpt
bool starts_from_head = true
long start_junction_id = ID_UNSET
unsigned bridges = 0
unsigned links = 0
long id = ID_UNSET

Static Public Attributes

static const constexpr long ID_UNSET = -1

Detailed Description

Constructor & Destructor Documentation

◆ Pillar()

Slic3r::sla::Pillar::Pillar ( const Vec3d & endp,
double h,
double radius = 1. )
inline
148 :
149 height{h}, r(radius), endpt(endp), starts_from_head(false) {}
double height
Definition SupportTreeBuilder.hpp:135
double r
Definition SupportTreeBuilder.hpp:135
bool starts_from_head
Definition SupportTreeBuilder.hpp:139
Vec3d endpt
Definition SupportTreeBuilder.hpp:136

References endpt, height, r, and starts_from_head.

Member Function Documentation

◆ endpoint()

const Vec3d & Slic3r::sla::Pillar::endpoint ( ) const
inline
156{ return endpt; }

References endpt.

Referenced by Slic3r::sla::SupportTreeBuildsteps::connect_to_model_body(), Slic3r::sla::get_mesh(), Slic3r::sla::SupportTreeBuildsteps::interconnect(), and Slic3r::sla::SupportTreeBuildsteps::interconnect_pillars().

Here is the caller graph for this function:

◆ startpoint()

Vec3d Slic3r::sla::Pillar::startpoint ( ) const
inline
152 {
153 return {endpt.x(), endpt.y(), endpt.z() + height};
154 }

References endpt, and height.

Referenced by Slic3r::sla::SupportTreeBuildsteps::interconnect().

Here is the caller graph for this function:

Member Data Documentation

◆ bridges

unsigned Slic3r::sla::Pillar::bridges = 0

◆ endpt

◆ height

◆ id

◆ ID_UNSET

◆ links

unsigned Slic3r::sla::Pillar::links = 0

◆ r

◆ start_junction_id

long Slic3r::sla::Pillar::start_junction_id = ID_UNSET

◆ starts_from_head

bool Slic3r::sla::Pillar::starts_from_head = true

Referenced by Pillar().


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