OrcaSlicer latest
OrcaSlicer
Loading...
Searching...
No Matches
RaycastManager.cpp File Reference
#include "RaycastManager.hpp"
#include "libslic3r/Model.hpp"
#include "libslic3r/AABBMesh.hpp"
#include <cstddef>
#include "libslic3r/Point.hpp"
#include <algorithm>
#include <optional>
#include <array>
#include <iterator>
#include <memory>
#include "slic3r/GUI/SceneRaycaster.hpp"
#include "slic3r/GUI/3DScene.hpp"
#include <utility>
#include <vector>
#include "slic3r/GUI/GLCanvas3D.hpp"
#include "slic3r/GUI/CameraUtils.hpp"
#include "libslic3r/ObjectID.hpp"
#include "slic3r/GUI/MeshUtils.hpp"
Include dependency graph for RaycastManager.cpp:

Go to the source code of this file.

Namespaces

namespace  anonymous_namespace{RaycastManager.cpp}
namespace  Slic3r
 |/ Copyright (c) Prusa Research 2020 - 2023 Enrico Turri @enricoturri1966 |/ |/ PrusaSlicer is released under the terms of the AGPLv3 or higher |/
namespace  Slic3r::GUI

Functions

void anonymous_namespace{RaycastManager.cpp}::actualize (RaycastManager::Meshes &meshes, const ModelVolumePtrs &volumes, const RaycastManager::ISkip *skip, RaycastManager::Meshes *input=nullptr)
const AABBMesh * anonymous_namespace{RaycastManager.cpp}::get_mesh (const RaycastManager::Meshes &meshes, size_t volume_id)
RaycastManager::TrKey anonymous_namespace{RaycastManager.cpp}::create_key (const ModelVolume &volume, const ModelInstance &instance)
RaycastManager::TrItems::iterator anonymous_namespace{RaycastManager.cpp}::find (RaycastManager::TrItems &items, const RaycastManager::TrKey &key)
RaycastManager::TrItems::const_iterator anonymous_namespace{RaycastManager.cpp}::find (const RaycastManager::TrItems &items, const RaycastManager::TrKey &key)
bool anonymous_namespace{RaycastManager.cpp}::is_lower_key (const RaycastManager::TrKey &k1, const RaycastManager::TrKey &k2)
bool anonymous_namespace{RaycastManager.cpp}::is_lower (const RaycastManager::TrItem &i1, const RaycastManager::TrItem &i2)
template<typename VecType>
void anonymous_namespace{RaycastManager.cpp}::erase (std::vector< VecType > &vec, const std::vector< bool > &flags)
RaycastManager::Meshes Slic3r::GUI::create_meshes (GLCanvas3D &canvas, const RaycastManager::AllowVolumes &condition)
 Use scene Raycasters and prepare data for actualize RaycasterManager.
std::optional< RaycastManager::Hit > Slic3r::GUI::ray_from_camera (const RaycastManager &raycaster, const Vec2d &mouse_pos, const Camera &camera, const RaycastManager::ISkip *skip)
 Unproject on mesh by Mesh raycasters.
RaycastManager::AllowVolumes Slic3r::GUI::create_condition (const ModelVolumePtrs &volumes, const ObjectID &disallowed_volume_id)
 Create condition to allowe only parts from volumes without one given.