MeshLib Documentation
Loading...
Searching...
No Matches
MR::TouchesController Class Reference

#include <MRTouchesController.h>

+ Inheritance diagram for MR::TouchesController:

Public Types

enum class  ModeBit : unsigned char {
  Translate = 0b001 , Rotate = 0b010 , Zoom = 0b100 , All = Translate | Rotate | Zoom ,
  Any = All
}
 

Public Member Functions

 MR_ADD_CTOR_DELETE_MOVE (TouchesController)
 
void setTrasformModifierCb (std::function< void(AffineXf3f &)> cb)
 
ModeBit getModeMask () const
 
void setModeMask (ModeBit mask)
 
- Public Member Functions inherited from MR::MultiListener< TouchStartListener, TouchMoveListener, TouchEndListener >
virtual ~MultiListener ()=default
 
virtual void connect (Viewer *viewer, int group=0, boost::signals2::connect_position pos=boost::signals2::connect_position::at_back)
 
virtual void disconnect ()
 

Member Enumeration Documentation

◆ ModeBit

enum class MR::TouchesController::ModeBit : unsigned char
strong
Enumerator
Translate 
Rotate 
Zoom 
All 
Any 

Member Function Documentation

◆ getModeMask()

ModeBit MR::TouchesController::getModeMask ( ) const
inline

◆ MR_ADD_CTOR_DELETE_MOVE()

MR::TouchesController::MR_ADD_CTOR_DELETE_MOVE ( TouchesController )

◆ setModeMask()

void MR::TouchesController::setModeMask ( ModeBit mask)
inline

◆ setTrasformModifierCb()

void MR::TouchesController::setTrasformModifierCb ( std::function< void(AffineXf3f &)> cb)
inline

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