MeshLib Documentation
Loading...
Searching...
No Matches
MRViewport.h File Reference
#include "MRViewportGL.h"
#include "MRFitData.h"
#include "MRMesh/MRIRenderObject.h"
#include <MRMesh/MRVector3.h>
#include <MRMesh/MRPlane3.h>
#include <MRMesh/MRPointOnObject.h>
#include <MRMesh/MRViewportId.h>
#include <MRMesh/MRQuaternion.h>
#include <MRMesh/MRMatrix4.h>
#include <MRMesh/MRColor.h>
#include <MRMesh/MRBox.h>
#include "imgui.h"
#include <memory>
#include <functional>
#include <unordered_map>
#include <optional>
#include <span>

Go to the source code of this file.

Classes

class  MR::Viewport
 
struct  MR::Viewport::LinePointImmediateRenderParams
 Rendering parameters for immediate drawing of lines and points. More...
 
struct  MR::Viewport::TriCornerColors
 
struct  MR::Viewport::PickRenderObjectParams
 
struct  MR::Viewport::Parameters
 

Namespaces

namespace  MR
 

Typedefs

using ObjAndPick = std::pair<std::shared_ptr<MR::VisualObject>, MR::PointOnObject>
 
using ConstObjAndPick = std::pair<std::shared_ptr<const MR::VisualObject>, MR::PointOnObject>
 

Functions

ImVec2 MR::position (const ViewportRectangle &rect)
 
ImVec2 MR::size (const ViewportRectangle &rect)
 
template<typename T >
Vector4< T > MR::toVec4 (const ViewportRectangle &rect)
 

Typedef Documentation

◆ ConstObjAndPick

using ConstObjAndPick = std::pair<std::shared_ptr<const MR::VisualObject>, MR::PointOnObject>

◆ ObjAndPick

using ObjAndPick = std::pair<std::shared_ptr<MR::VisualObject>, MR::PointOnObject>