MeshLib C++ Docs
Loading...
Searching...
No Matches
MRViewport.h File Reference
#include "MRViewerFwd.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 <MRMesh/MRMeshTexture.h>
#include <MRMesh/MRUniquePtr.h>
#include <MRMesh/MRVector4.h>
#include "MRImGui.h"
#include <memory>
#include <functional>
#include <unordered_map>
#include <optional>
#include <span>
#include <vector>

Go to the source code of this file.

Classes

struct  MR::SegmEndColors
 colors of segment ends More...
struct  MR::ViewportPointsWithColors
 stores points and corresponding colors (sizes of vectors should be the same) More...
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
 Point picking parameters. More...
struct  MR::Viewport::Parameters
struct  MR::Viewport::BackgroundTexture
 texture drawn over the background color and below the scene More...

Namespaces

namespace  MR
 Only strictly necessary for the bindings (to make MR::MeshIntersectionResult a complete type).

Functions

bool MR::operator== (const SegmEndColors &a, const SegmEndColors &b)
bool MR::operator== (const ViewportPointsWithColors &a, const ViewportPointsWithColors &b)
ImVec2 MR::position (const ViewportRectangle &rect)
ImVec2 MR::size (const ViewportRectangle &rect)
template<typename T>
Vector4< T > MR::toVec4 (const ViewportRectangle &rect)