20#include <unordered_map>
39 return a.
a == b.
a && a.
b == b.
b;
56 return { rect.min.x, rect.min.y };
104 MRVIEWER_API
void setAxesPos( const
int pixelXoffset = -100, const
int pixelYoffset = -100 );
112 [[deprecated(
"Use (draw/getBaseRenderParams/getModelRenderParams)OrthoFixedPos functions instead of using this value")]]
140 MRVIEWER_API
bool draw(
const VisualObject& obj,
const AffineXf3f& xf,
const Matrix4f & projM,
157 void drawLines(
const std::vector<LineSegm3f>& lines,
const std::vector<SegmEndColors>& colors,
float width = 1,
bool depthTest =
true )
162 void drawPoints( std::span<const Vector3f> points, std::span<const Vector4f> colors,
float width = 1,
bool depthTest =
true )
171 MRVIEWER_API
void drawTris(
const std::vector<Triangle3f>& tris,
const std::vector<TriCornerColors>& colors,
const ModelRenderParams& params,
bool depthTest =
true );
172 MRVIEWER_API
void drawTris(
const std::vector<Triangle3f>& tris,
const std::vector<TriCornerColors>& colors,
const Matrix4f& modelM = {},
bool depthTest = true );
179 {
return { viewM_, projM,
id,
toVec4<int>( viewportRect_ ) }; }
183 {
return { axesViewMat_, axesProjMat_,
id,
toVec4<int>( viewportRect_ ) }; }
187 const Matrix4f & modelM,
197 const Matrix4f & modelM,
259 [[deprecated(
"Use `pickRenderObject()`")]]
266 [[deprecated(
"Use `pickRenderObject( objects } )`")]]
272 [[deprecated(
"Use `pickRenderObject( ... )`")]]
275 [[deprecated(
"Use `pickRenderObject( { .exactPickFirst = ... } )`")]]
282 [[deprecated(
"Use `pickRenderObject( { .point = ... } )`")]]
288 [[deprecated(
"Use `multiPickObjects( objects, { .point = ... } )`")]]
294 MRVIEWER_API std::vector<ObjAndPick>
multiPickObjects( std::span<VisualObject* const> objects,
const std::vector<Vector2f>& viewportPoints,
const BaseRenderParams* overrideRenderParams =
nullptr )
const;
301 int maxRenderResolutionSide = 512 )
const;
308 int maxRenderResolutionSide = 512 )
const;
319 [[deprecated(
"Use `pickRenderObject()`.")]]
325 [[deprecated(
"Use `pickRenderObject( objects )`.")]]
329 MRVIEWER_API std::vector<ConstObjAndPick>
constMultiPickObjects(
const std::vector<const VisualObject*>& objects,
const std::vector<Vector2f>& viewportPoints )
const;
439 [[nodiscard]] AffineXf3f
getViewXf()
const {
return AffineXf3f( viewM_ ); }
442 [[nodiscard]] Vector3f
getUpDirection()
const {
return Vector3f( viewM_.y.x, viewM_.y.y, viewM_.y.z ).normalized(); }
445 [[nodiscard]] Vector3f
getRightDirection()
const {
return Vector3f( viewM_.x.x, viewM_.x.y, viewM_.x.z ).normalized(); }
448 [[nodiscard]] Vector3f
getBackwardDirection()
const {
return Vector3f( viewM_.z.x, viewM_.z.y, viewM_.z.z ).normalized(); }
463 MRVIEWER_API std::vector<Vector3f>
projectToClipSpace(
const std::vector<Vector3f>& worldPoints )
const;
506 MRVIEWER_API
void fitData(
float fill = 1.0f,
bool snapView =
true );
511 MRVIEWER_API
void fitBox(
const Box3f& newSceneBox,
float fill = 1.0f,
bool snapView =
true );
571 [[nodiscard]]
const std::optional<BackgroundTexture>&
getBackgroundTexture()
const {
return backgroundTexture_; }
624 void setRotationPivot_(
const Vector3f& point ) { needRedraw_ |= rotationPivot_ != point; rotationPivot_ = point; }
626 void setupViewMatrix_();
628 AffineXf3f getViewXf_()
const;
631 void setupProjMatrix_();
633 void setupAxesViewProjMatrix_();
638 Matrix4f getFullViewportMatrix()
const {
return projM_ * viewM_; }
639 Matrix4f getFullViewportInversedMatrix()
const;
643 UniquePtr<ViewportGL> viewportGL_;
645 bool previewLinesDepthTest_ =
false;
646 bool previewPointsDepthTest_ =
false;
648 void draw_border()
const;
649 void draw_rotation_center()
const;
650 void draw_clipping_plane()
const;
651 void drawGlobalBasis()
const;
656 void drawAxesAndViewController()
const;
660 Matrix4f axesViewMat_;
661 Matrix4f axesProjMat_;
662 Vector2f basisAxesPos_;
663 float basisAxesSize_;
666 int pixelXoffset_{ -100 };
667 int pixelYoffset_{ -128 };
668 int axisPixSize_{ 70 };
671 [[nodiscard]] Box3f calcSceneBox_()
const;
672 void updateSceneBox_() { sceneBox_ = calcSceneBox_(); }
686 Box3f calcBox_(
const std::vector<std::shared_ptr<VisualObject>>& objs, Space space,
const AffineXf3f& viewXf,
bool selectedPrimitives =
false )
const;
693 std::pair<float, bool> getZoomFOVtoScreen_(
const Parameters& params,
const std::function<Box3f()>& getBoxFn )
const;
697 Parameters preciseFitToScreenBorder_(
Parameters params,
const std::function<Box3f( Space space,
const AffineXf3f& viewXf,
bool globalBasis )>& getBoxFn,
700 void applyPreciseFit_(
const Parameters& params,
const Box3f& sceneBox );
702 int rotationDepth_{ 0 };
703 Vector3f rotationPivot_;
704 Vector3f static_point_;
705 Vector2f static_viewport_point;
706 float distToSceneCenter_;
708 bool needRedraw_{
false};
716 void updateCameraAnimation_();
718 struct CameraAnimation
727 std::optional<CameraAnimation> cameraAnimation_;
729 std::optional<BackgroundTexture> backgroundTexture_;
730 bool backgroundTextureChanged_{
false };
named object in the data model
Definition MRObject.h:61
Definition MRViewportId.h:16
stores mask of viewport unique identifiers
Definition MRViewportId.h:42
Visual Object.
Definition MRVisualObject.h:116
auto width(const Box< V > &box)
returns size along x axis
Definition MRBox.h:386
auto height(const Box< V > &box)
returns size along y axis
Definition MRBox.h:393
ObjAndPick pick_render_object(const Vector2f &viewportPoint) const
RotationCenterMode
Definition MRViewport.h:374
AffineXf3f getUnscaledViewXf() const
returns orthonormal matrix with translation
int pickRadius
Definition MRViewport.h:226
MR::FitMode FitMode
Definition MRViewport.h:524
std::vector< Vector3f > unprojectFromClipSpace(const std::vector< Vector3f > &clipPoints) const
PickRenderObjectPredicate predicate
Predicate to additionally filter objects that should be treated as pickable.
Definition MRViewport.h:222
bool operator==(const Allocator< T > &, const Allocator< U > &) noexcept
Definition MRAllocator.h:95
Vector4f c
Definition MRViewport.h:167
Vector4f a
Definition MRViewport.h:34
bool exactPickFirst
Definition MRViewport.h:230
Vector3f unprojectFromViewportSpace(const Vector3f &viewportPoint) const
void preciseFitDataToScreenBorder(const FitDataParams ¶ms={})
fit view and proj matrices to match the screen size with given objects
bool drawOrthoFixedPos(const VisualObject &obj, const AffineXf3f &xf, DepthFunction depthFunc=DepthFunction::Default, RenderModelPassMask pass=RenderModelPassMask::All, const TransparencyMode &transparentMode={}) const
FaceBitSet findCameraLookingFaces(const Mesh &mesh, const AffineXf3f &meshToWorld) const
finds all triangles of a mesh that having normals oriented toward the camera in this viewport
void setCameraTranslation(const Vector3f &translation)
static PickRenderObjectParams defaults()
Definition MRViewport.h:238
void clearFramebuffers()
----------------— Drawing functions
float getPixelSizeAtPoint(const Vector3f &worldPoint) const
MR::BaseFitParams BaseFitParams
Definition MRViewport.h:525
float getPixelSize() const
Finds length between near pixels on zNear plane. Only good in the orthographic projection.
Vector3f projectToClipSpace(const Vector3f &worldPoint) const
std::vector< Vector3f > projectToViewportSpace(const std::vector< Vector3f > &worldPoints) const
Vector3f getRightDirection() const
assume that viewM is orthogonal and inverse=transpose
Definition MRViewport.h:445
float cameraViewAngle
Definition MRViewport.h:351
const Vector2f & getAxesPosition() const
returns position of basis axes in viewport space
Vector3f cameraTranslation
Definition MRViewport.h:349
void fitBox(const Box3f &newSceneBox, float fill=1.0f, bool snapView=true)
Color backgroundColor
Definition MRViewport.h:345
double startTime
animated fields as the last step set them, to detect camera changes by somebody else
Definition MRViewport.h:722
ConstObjAndPick pickRenderObjectConst(std::span< const VisualObject *const > objects, const PickRenderObjectParams ¶ms=PickRenderObjectParams::defaults()) const
This overload uses const objects from the list (possibly filtered by a predicate)....
void setBackgroundTexture(std::optional< BackgroundTexture > texture)
sets the texture drawn over the background color, std::nullopt removes it
FitMode
Fit mode ( types of objects for which the fit is applied )
Definition MRFitData.h:14
ObjAndPick pick_render_object(bool exactPickFirst) const
This function allows to pick point in scene by GL with default pick radius, but with specified exactP...
void setAxesPos(const int pixelXoffset=-100, const int pixelYoffset=-100)
std::function< bool(const VisualObject *, ViewportMask)> PickRenderObjectPredicate
Predicate to additionally filter objects that should be treated as pickable.
Definition MRViewport.h:214
ImVec2 size(const ViewportRectangle &rect)
Definition MRViewport.h:59
Parameters current
Definition MRViewport.h:721
MeshTexture texture
image (its first row is the bottom one) with its filter and wrap types; WrapType::Clamp draws nothing...
Definition MRViewport.h:397
std::vector< Vector3f > worldToCameraSpace(const std::vector< Vector3f > &p) const
void rotationCenterMode(Parameters::RotationCenterMode mode)
bool orthographic
Definition MRViewport.h:356
Vector4f b
Definition MRViewport.h:34
void setLabel(std::string s)
Vector3f getRotationPivot() const
returns current rotation pivot in world space, which should appear static on a screen during rotation...
Definition MRViewport.h:613
bool getRedrawFlag() const
returns true if the viewport has to be redrawn; it stays true while the camera is animated
Definition MRViewport.h:337
BaseRenderParams getBaseRenderParams(const Matrix4f &projM) const
Prepares base rendering parameters for this viewport with custom projection matrix.
Definition MRViewport.h:178
std::vector< ConstObjAndPick > constMultiPickObjects(const std::vector< const VisualObject * > &objects, const std::vector< Vector2f > &viewportPoints) const
void setSelectable(bool on)
Definition MRViewport.h:577
void showRotationCenter(bool on)
void showClippingPlane(bool on)
std::unordered_map< std::shared_ptr< ObjectMesh >, FaceBitSet > findVisibleFaces(const BitSet &includePixBs, int maxRenderResolutionSide=512) const
void drawTris(const std::vector< Triangle3f > &tris, const std::vector< TriCornerColors > &colors, const ModelRenderParams ¶ms, bool depthTest=true)
Draw triangles immediately (flat shaded)
void setOrthographic(bool orthographic)
void drawLines(const std::vector< LineSegm3f > &lines, const std::vector< SegmEndColors > &colors, float width=1, bool depthTest=true)
Definition MRViewport.h:157
void resetRedrawFlag()
Definition MRViewport.h:338
Vector2f startPos
position of the image's upper-left corner in viewport space, in framebuffer pixels: (0,...
Definition MRViewport.h:398
Parameters calcPreciseFitBoxParameters(const Parameters &camera, const FitBoxParams ¶ms, Box3f *sceneBox=nullptr) const
Vector4f b
Definition MRViewport.h:167
float cameraDfar
Definition MRViewport.h:353
StretchMode
how the image size follows the viewport size; all modes except None ignore startPos and scaling
Definition MRViewport.h:403
MR::ViewportRectangle ViewportRectangle
Definition MRViewport.h:78
MR::FitDataParams FitDataParams
Definition MRViewport.h:526
Vector4f a
Definition MRViewport.h:167
std::vector< Vector3f > clipSpaceToViewportSpace(const std::vector< Vector3f > &p) const
Color borderColor
Definition MRViewport.h:367
ObjAndPick pickRenderObject(const PickRenderObjectParams ¶ms=PickRenderObjectParams::defaults()) const
const Parameters * getCameraAnimationTarget() const
Definition MRViewport.h:601
void animateCamera(const Parameters &target, float seconds, const Box3f &sceneBox={})
Line3f unprojectPixelRay(const Vector2f &viewportPoint) const
assume that viewM is orthogonal and inverse=transpose
Parameters calcFitDataParameters(const Parameters &camera, float fill=1.0f, bool snapView=true) const
float startSpeed
Definition MRViewport.h:725
ModelRenderParams getModelRenderParamsOrthoFixedPos(const Matrix4f &modelM, Matrix4f *normM, DepthFunction depthFunc=DepthFunction::Default, RenderModelPassMask pass=RenderModelPassMask::All, const TransparencyMode &transparentMode={}) const
Prepares rendering parameters to draw a model with orthographic proj matrix and rotation component of...
Definition MRViewport.h:196
ModelRenderParams getModelRenderParams(const Matrix4f &modelM, Matrix4f *normM, DepthFunction depthFunc=DepthFunction::Default, RenderModelPassMask pass=RenderModelPassMask::All, const TransparencyMode &transparentMode={}) const
Prepares rendering parameters to draw a model with given transformation in this viewport.
Definition MRViewport.h:186
void setCameraTrackballAngle(const Quaternionf &rot)
AffineXf3f getViewXf() const
converts directly from the view matrix
Definition MRViewport.h:439
float seconds
when the last step set the camera
Definition MRViewport.h:724
bool depthTest
Definition MRViewport.h:152
Plane3f
Definition MRMeshFwd.h:391
void drawTris(const std::vector< Triangle3f > &tris, const std::vector< TriCornerColors > &colors, const Matrix4f &modelM={}, bool depthTest=true)
bool depthTest
Definition MRViewport.h:355
BaseRenderParams getBaseRenderParamsOrthoFixedPos() const
Prepares base rendering parameters for this viewport with orthographic proj matrix and rotation compo...
Definition MRViewport.h:182
std::pair< std::shared_ptr< MR::VisualObject >, MR::PointOnObject > ObjAndPick
Definition MRViewerFwd.h:86
RenderModelPassMask
Various passes of the 3D rendering.
Definition MRRenderModelParameters.h:40
void drawPoints(std::span< const Vector3f > points, std::span< const Vector4f > colors, float width=1, bool depthTest=true)
Definition MRViewport.h:162
Vector3f unprojectFromClipSpace(const Vector3f &clipPoint) const
Vector3f worldToCameraSpace(const Vector3f &p) const
convert point(s) to camera space by applying view matrix
std::vector< Vector3f > viewportSpaceToClipSpace(const std::vector< Vector3f > &p) const
bool draw(const VisualObject &obj, const AffineXf3f &xf, const Matrix4f &projM, DepthFunction depthFunc=DepthFunction::Default, RenderModelPassMask pass=RenderModelPassMask::All, const TransparencyMode &transparentMode={}) const
Plane3f clippingPlane
Definition MRViewport.h:371
const std::optional< BackgroundTexture > & getBackgroundTexture() const
Definition MRViewport.h:571
Viewport(Viewport &&) noexcept
std::string label
Definition MRViewport.h:369
void resetStaticRotationPivot(const std::optional< Vector3f > &pivot=std::nullopt)
void setAxesSize(const int axisPixSize=80)
bool allModelsInsideViewportRectangle() const
returns true if all models are fully projected inside the viewport rectangle
std::pair< std::shared_ptr< const MR::VisualObject >, MR::PointOnObject > ConstObjAndPick
Definition MRViewerFwd.h:87
Vector3f getBackwardDirection() const
assume that viewM is orthogonal and inverse=transpose
Definition MRViewport.h:448
Viewport clone() const
Definition MRViewport.h:91
void cameraLookAlong(const Vector3f &dir, const Vector3f &up)
bool draw(const VisualObject &obj, const AffineXf3f &xf, DepthFunction depthFunc=DepthFunction::Default, RenderModelPassMask pass=RenderModelPassMask::All, const TransparencyMode &transparentMode={}) const
float cameraZoom
Definition MRViewport.h:350
Vector3f getCameraPoint() const
returns camera world location for the current view
ConstObjAndPick const_pick_render_object() const
Quaternionf cameraTrackballAngle
x y z - position, w - factor
Definition MRViewport.h:348
double stepTime
seconds of a steady clock
Definition MRViewport.h:723
Vector3f lightPosition
Definition MRViewport.h:346
Vector4< T > toVec4(const ViewportRectangle &rect)
Definition MRViewport.h:68
Vector3f projectToViewportSpace(const Vector3f &worldPoint) const
bool draw(const VisualObject &obj, DepthFunction depthFunc=DepthFunction::Default, RenderModelPassMask pass=RenderModelPassMask::All, const TransparencyMode &transparentMode={}) const
const Parameters & getParameters() const
Definition MRViewport.h:550
void drawLines(const std::vector< LineSegm3f > &lines, const std::vector< SegmEndColors > &colors, const LinePointImmediateRenderParams ¶ms)
Draw lines immediately.
void setParameters(const Viewport::Parameters ¶ms)
ObjAndPick pick_render_object() const
enum MR::Viewport::Parameters::GlobalBasisScaleMode Auto
void recursiveDraw(const Object &obj, DepthFunction depthFunc=DepthFunction::Default, const AffineXf3f &rootXf={}, RenderModelPassMask renderType=RenderModelPassMask::All, const TransparencyMode &transparentMode={}, int *numDraws=nullptr) const
Immediate draw of given object tree.
const Box3f & getSceneBox() const
Vector2f scaling
size of one image pixel in framebuffer pixels
Definition MRViewport.h:399
DepthFunction
Definition MRIRenderObject.h:21
ObjAndPick pick_render_object(uint16_t pickRadius) const
static Viewport & get(ViewportId viewportId={})
void setupView()
updates view and projection matrices due to camera parameters (called each frame)
float getAxesSize() const
void preciseFitBoxToScreenBorder(const FitBoxParams ¶ms)
fit view and proj matrices to match the screen size with given box
ObjAndPick pick_render_object(const std::vector< VisualObject * > &objects, const Vector2f &viewportPoint) const
Quaternionf
Definition MRMeshFwd.h:459
bool selectable
this flag allows viewport to be selected by user
Definition MRViewport.h:389
GlobalBasisScaleMode
Definition MRViewport.h:359
Vector3f viewportSpaceToClipSpace(const Vector3f &p) const
enum MR::Viewport::Parameters::RotationCenterMode Dynamic
std::vector< Vector3f > projectToClipSpace(const std::vector< Vector3f > &worldPoints) const
std::optional< Vector3f > staticRotationPivot
Definition MRViewport.h:382
ObjAndPick pickRenderObject(std::span< VisualObject *const > objects, const PickRenderObjectParams ¶ms=PickRenderObjectParams::defaults()) const
This overload uses objects from the list (possibly filtered by a predicate).
std::vector< ObjAndPick > multiPickObjects(std::span< VisualObject *const > objects, const std::vector< Vector2f > &viewportPoints, const BaseRenderParams *overrideRenderParams=nullptr) const
bool operator==(const Viewport::Parameters &other) const =default
Parameters start
Definition MRViewport.h:720
void setCameraZoom(float zoom)
void setRotation(bool state)
Parameters calcFitBoxParameters(const Parameters &camera, const Box3f &box, float fill=1.0f, bool snapView=true) const
returns the parameters that fitBox would set if this viewport had given camera parameters,...
const Matrix4f & getAxesProjectionMatrix() const
returns projection matrix that is used for basis axes and view controller rendering
Definition MRViewport.h:113
MR::FitBoxParams FitBoxParams
Definition MRViewport.h:527
std::vector< Vector3f > points
Definition MRViewport.h:45
Vector3f clipSpaceToViewportSpace(const Vector3f &p) const
float cameraDnear
Definition MRViewport.h:352
void setBackgroundColor(const Color &color)
BaseRenderParams getBaseRenderParams() const
Prepares base rendering parameters for this viewport.
Definition MRViewport.h:175
std::vector< std::shared_ptr< VisualObject > > findObjectsInRect(const Box2i &rect, int maxRenderResolutionSide=512) const
bool compensateRotation
Definition MRViewport.h:386
ObjAndPick pick_render_object(const std::vector< VisualObject * > &objects) const
NOTE! If your list is hardcoded, use .objects = std::array{ a, b, c }.
const ViewportRectangle & getViewportRect() const
Note, Y is up for this box.
void cameraRotateAround(const Line3f &axis, float angle)
void setCameraPoint(const Vector3f &cameraWorldPos)
sets camera world location for the current view
void setCameraViewAngle(float newViewAngle)
void fitData(float fill=1.0f, bool snapView=true)
void setClippingPlane(const Plane3f &plane)
void transformView(const AffineXf3f &xf)
void showGlobalBasis(bool on)
const BaseRenderParams * baseRenderParams
if not nullptr it can override render params for picker
Definition MRViewport.h:233
Box2f ViewportRectangle
Viewport size.
Definition MRViewerFwd.h:17
ObjAndPick pick_render_object(const std::vector< VisualObject * > &objects, uint16_t pickRadius, bool exactPickFirst=true) const
std::vector< Vector3f > unprojectFromViewportSpace(const std::vector< Vector3f > &viewportPoints) const
ModelRenderParams getModelRenderParams(const Matrix4f &modelM, const BaseRenderParams &baseParams, Matrix4f *normM, DepthFunction depthFunc=DepthFunction::Default, RenderModelPassMask pass=RenderModelPassMask::All, const TransparencyMode &transparentMode={}) const
Prepares rendering parameters to draw a model with given transformation in this viewport with custom ...
ConstObjAndPick const_pick_render_object(const std::vector< const VisualObject * > &objects) const
float width
Definition MRViewport.h:151
void init()
Initialization.
std::vector< Vector4f > colors
Definition MRViewport.h:46
void drawPoints(std::span< const Vector3f > points, std::span< const Vector4f > colors, const LinePointImmediateRenderParams ¶ms)
Draw points immediately.
enum MR::Viewport::BackgroundTexture::StretchMode stretchMode
Parameters calcPreciseFitDataParameters(const Parameters &camera, const FitDataParams ¶ms={}, Box3f *sceneBox=nullptr) const
float getRatio() const
returns viewport width/height ratio
ViewportId id
Unique identifier.
Definition MRViewport.h:341
std::optional< Vector2f > point
If specified, this is the target screen point. Otherwise use the mouse pos in viewport coordinates.
Definition MRViewport.h:219
Parameters target
Definition MRViewport.h:720
float objectScale
Caches the two-norm between the min/max point of the bounding box.
Definition MRViewport.h:365
void setViewportRect(const ViewportRectangle &rect)
Vector3f getUpDirection() const
returns unit vector in world space corresponding to up-direction in camera space
Definition MRViewport.h:442
@ DynamicStatic
scene is always rotated around its center or another manually set point
Definition MRViewport.h:376
@ Static
Definition MRViewport.h:375
@ Dynamic
scene is rotated around picked point on object, or around center, if miss pick
Definition MRViewport.h:377
@ position
Definition MRFeatureObject.h:23
@ other
Angle, normally float. Measure in radians.
Definition MRFeatureObject.h:27
@ angle
Direction, normally Vector3f.
Definition MRFeatureObject.h:26
@ Fit
the whole image is visible in the viewport center, the aspect ratio is kept
Definition MRViewport.h:406
@ None
placed by startPos and scaling
Definition MRViewport.h:404
@ Fill
covers the viewport, centered and cropped, the aspect ratio is kept
Definition MRViewport.h:407
@ Stretch
covers the viewport exactly, the aspect ratio is not kept
Definition MRViewport.h:405
@ All
Definition MRRenderModelParameters.h:46
@ Default
Definition MRIRenderObject.h:30
@ Auto
Definition MRViewport.h:360
@ Fixed
uses current scene size
Definition MRViewport.h:361
@ seconds
Definition MRUnitInfo.h:59
Only strictly necessary for the bindings (to make MR::MeshIntersectionResult a complete type).
Definition MRCameraOrientationPlugin.h:8
Definition MRFitData.h:23
Common rendering parameters for meshes and UI.
Definition MRIRenderObject.h:36
Definition MRFitData.h:45
Definition MRFitData.h:32
Definition MRMeshTexture.h:13
Mesh rendering parameters for primary rendering (as opposed to the picker).
Definition MRIRenderObject.h:54
colors of segment ends
Definition MRViewport.h:33
struct to determine transparent rendering mode
Definition MRRenderModelParameters.h:13
Definition MRVector4.h:26
stores points and corresponding colors (sizes of vectors should be the same)
Definition MRViewport.h:44
texture drawn over the background color and below the scene
Definition MRViewport.h:396
Definition MRViewport.h:344
Point picking parameters.
Definition MRViewport.h:217
Definition MRViewport.h:166