OrcaSlicer latest
OrcaSlicer
Loading...
Searching...
No Matches
Slic3r::TextureBake::TriSoup Struct Reference

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

Collaboration diagram for Slic3r::TextureBake::TriSoup:

Public Member Functions

size_t triangle_count () const
bool empty () const

Public Attributes

std::vector< Vec3f > pos
std::vector< Vec3f > nrm
std::vector< float > exclude_weight

Detailed Description

Member Function Documentation

◆ empty()

bool Slic3r::TextureBake::TriSoup::empty ( ) const
inline
148{ return pos.empty(); }
std::vector< Vec3f > pos
Definition TextureBakeIndex.hpp:143

References pos.

Referenced by Slic3r::anonymous_namespace{TextureDisplacement.cpp}::build_texture_displacement_v2(), Slic3r::TextureBake::run_pipeline(), and Slic3r::TextureBake::subdivide().

Here is the caller graph for this function:

◆ triangle_count()

size_t Slic3r::TextureBake::TriSoup::triangle_count ( ) const
inline
147{ return pos.size() / 3; }

References pos.

Referenced by Slic3r::TextureBake::regularize_mesh(), Slic3r::TextureBake::resolve_t_junctions(), and Slic3r::TextureBake::run_pipeline().

Here is the caller graph for this function:

Member Data Documentation

◆ exclude_weight

◆ nrm

◆ pos


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