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

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

Collaboration diagram for Slic3r::TextureBake::VertStore:

Public Member Functions

size_t count () const
int push (const Vec3d &p, const Vec3d &n)

Public Attributes

std::vector< Vec3d > pos
std::vector< Vec3d > nrm
std::vector< double > wgt
std::vector< int > canon

Detailed Description

Member Function Documentation

◆ count()

size_t Slic3r::TextureBake::VertStore::count ( ) const
inline
44{ return pos.size(); }
std::vector< Vec3d > pos
Definition TextureBakeSubdivide.hpp:39

References pos.

Referenced by Slic3r::TextureBake::to_indexed(), and Slic3r::TextureBake::to_indexed_fast().

Here is the caller graph for this function:

◆ push()

int Slic3r::TextureBake::VertStore::push ( const Vec3d & p,
const Vec3d & n )
inline
46 {
47 const int idx = int(pos.size());
48 pos.push_back(p);
49 nrm.push_back(n);
50 return idx;
51 }
std::vector< Vec3d > nrm
Definition TextureBakeSubdivide.hpp:40

References nrm, and pos.

Referenced by Slic3r::TextureBake::anonymous_namespace{TextureBakeSubdivide.cpp}::get_midpoint(), Slic3r::TextureBake::to_indexed(), and Slic3r::TextureBake::to_indexed_fast().

Here is the caller graph for this function:

Member Data Documentation

◆ canon

◆ nrm

◆ pos

◆ wgt


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