std::vector<T>-like container that requires specific indexing type,
Definition MRMesh/MRVector.h:20
MRMESH_API bool ccw(const Vector2i &a, const Vector2i &b)
MRVIEWER_API RegionId getCornerControllerRegionByFace(FaceId face)
returns region id of corner controller by its face
ImVec2 size(const ViewportRectangle &rect)
Definition MRViewport.h:29
SideRegions
Definition MRViewportCornerController.h:16
MRVIEWER_API Mesh makeCornerControllerMesh(float size, float cornerRatio=0.2f)
Makes cube mesh with specified face structure for each 3-rank corner, each 2-rank corner and each sid...
MRVIEWER_API VertUVCoords makeCornerControllerUVCoords(float cornerRatio=0.2f)
Creates UV coordinates for makeCornerControllerMesh output mesh for texture like: "Right"" Left " " T...
MRVIEWER_API const TexturePerFace & getCornerControllerTexureMap()
MRVIEWER_API Vector< MeshTexture, TextureId > loadCornerControllerTextures()
Loads 3 textures for corner controller: default, side hovered, corner hovered.
MRVIEWER_API void updateCurrentViewByControllerRegion(RegionId rId)
setup camera for selected viewport by corner controller region
MRVIEWER_API TexturePerFace getCornerControllerHoveredTextureMap(RegionId rId)
returns textures map with region faces hovered
MRVIEWER_API Mesh makeCornerControllerRotationArrowMesh(float size, const Vector2f &shift, bool ccw)
Makes planar arrow mesh that will be used for controlling in plane rotation in corner near cube contr...
Definition MRMesh/MRMesh.h:23