#include </home/runner/work/OrcaSlicer/OrcaSlicer/src/libslic3r/Feature/Interlocking/VoxelUtils.hpp>
Public Types | |
| enum class | Type { CUBE , DIAMOND , PRISM } |
Public Member Functions | |
| DilationKernel (GridPoint3 kernel_size, Type type) | |
Public Attributes | |
| GridPoint3 | kernel_size_ |
| Size of the kernel in number of voxel cells. | |
| Type | type_ |
| std::vector< GridPoint3 > | relative_cells_ |
| All offset positions relative to some reference cell which is to be dilated. | |
Class for holding the relative positiongs wrt a reference cell on which to perform a dilation.
|
strong |
A cubic kernel checks all voxels in a cube around a reference voxel.
|\ ___\ | | | |____|
A diamond kernel uses a manhattan distance to create a diamond shape around a reference voxel. /|\ /_|_\ \ | / |/
A prism kernel is diamond in XY, but extrudes straight in Z around a reference voxel. / \ / \ |\ /| | \ / | | | | \ | / |/
| Enumerator | |
|---|---|
| CUBE | |
| DIAMOND | |
| PRISM | |
| Slic3r::DilationKernel::DilationKernel | ( | GridPoint3 | kernel_size, |
| DilationKernel::Type | type ) |
References kernel_size_, relative_cells_, and type_.
| GridPoint3 Slic3r::DilationKernel::kernel_size_ |
Size of the kernel in number of voxel cells.
Referenced by DilationKernel(), Slic3r::VoxelUtils::walkDilatedAreas(), and Slic3r::VoxelUtils::walkDilatedPolygons().
| std::vector<GridPoint3> Slic3r::DilationKernel::relative_cells_ |
All offset positions relative to some reference cell which is to be dilated.
Referenced by DilationKernel(), and Slic3r::VoxelUtils::dilate().
| Type Slic3r::DilationKernel::type_ |
Referenced by DilationKernel().