MeshLib Documentation
Loading...
Searching...
No Matches
MR::UI::NonOverlappingLabelTask Class Reference

#include <MRUINonOverlappingLabels.h>

+ Inheritance diagram for MR::UI::NonOverlappingLabelTask:

Classes

struct  Params
 

Public Member Functions

MRVIEWER_API NonOverlappingLabelTask ()
 
MRVIEWER_API NonOverlappingLabelTask (Params params)
 
MRVIEWER_API void earlyBackwardPass (const BackwardPassParams &params) override
 
MRVIEWER_API void renderPass () override
 This is the main rendering pass.
 
- Public Member Functions inherited from MR::BasicUiRenderTask
virtual ~BasicUiRenderTask ()=default
 
 BasicUiRenderTask ()=default
 
 BasicUiRenderTask (const BasicUiRenderTask &)=default
 
 BasicUiRenderTask (BasicUiRenderTask &&)=default
 
BasicUiRenderTaskoperator= (const BasicUiRenderTask &)=default
 
BasicUiRenderTaskoperator= (BasicUiRenderTask &&)=default
 

Additional Inherited Members

- Public Types inherited from MR::BasicUiRenderTask
enum class  InteractionMask { mouseHover = 1 << 0 , mouseScroll = 1 << 1 }
 
- Public Attributes inherited from MR::BasicUiRenderTask
float renderTaskDepth = 0
 The tasks are sorted by this depth, descending (larger depth = further away).
 

Constructor & Destructor Documentation

◆ NonOverlappingLabelTask() [1/2]

MRVIEWER_API MR::UI::NonOverlappingLabelTask::NonOverlappingLabelTask ( )

◆ NonOverlappingLabelTask() [2/2]

MRVIEWER_API MR::UI::NonOverlappingLabelTask::NonOverlappingLabelTask ( Params params)

Member Function Documentation

◆ earlyBackwardPass()

MRVIEWER_API void MR::UI::NonOverlappingLabelTask::earlyBackwardPass ( const BackwardPassParams & params)
overridevirtual

This is an optional early pass, where you can claim exclusive control over the mouse. This pass is executed in reverse draw order.

Reimplemented from MR::BasicUiRenderTask.

◆ renderPass()

MRVIEWER_API void MR::UI::NonOverlappingLabelTask::renderPass ( )
overridevirtual

This is the main rendering pass.

Implements MR::BasicUiRenderTask.


The documentation for this class was generated from the following file: