Prusa Slicer 2.6.0
Loading...
Searching...
No Matches
Slic3r::csg::CSGPart Struct Reference

#include <src/libslic3r/CSGMesh/CSGMesh.hpp>

+ Inheritance diagram for Slic3r::csg::CSGPart:
+ Collaboration diagram for Slic3r::csg::CSGPart:

Public Member Functions

 CSGPart (AnyPtr< const indexed_triangle_set > ptr={}, CSGType op=CSGType::Union, const Transform3f &tr=Transform3f::Identity())
 

Public Attributes

AnyPtr< const indexed_triangle_setits_ptr
 
Transform3f trafo
 
CSGType operation
 
CSGStackOp stack_operation
 

Detailed Description

Constructor & Destructor Documentation

◆ CSGPart()

Slic3r::csg::CSGPart::CSGPart ( AnyPtr< const indexed_triangle_set ptr = {},
CSGType  op = CSGType::Union,
const Transform3f tr = Transform3f::Identity() 
)
inline
74 {},
77 : its_ptr{std::move(ptr)}
78 , operation{op}
80 , trafo{tr}
81 {}
static EIGEN_DEVICE_FUNC const Transform Identity()
Returns an identity transformation.
Definition Transform.h:539
CSGStackOp
Definition CSGMesh.hpp:38
CSGType
Definition CSGMesh.hpp:20
Eigen::Transform< float, 3, Eigen::Affine, Eigen::DontAlign > Transform3f
Definition Point.hpp:80
STL namespace.
CSGType operation
Definition CSGMesh.hpp:71
AnyPtr< const indexed_triangle_set > its_ptr
Definition CSGMesh.hpp:69
Transform3f trafo
Definition CSGMesh.hpp:70
CSGStackOp stack_operation
Definition CSGMesh.hpp:72

Member Data Documentation

◆ its_ptr

AnyPtr<const indexed_triangle_set> Slic3r::csg::CSGPart::its_ptr

◆ operation

CSGType Slic3r::csg::CSGPart::operation

◆ stack_operation

CSGStackOp Slic3r::csg::CSGPart::stack_operation

◆ trafo

Transform3f Slic3r::csg::CSGPart::trafo

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