#include <PhysicsPaper3MouseHandler.h>
◆ PhysicsPaper3MouseHandler()
      
        
          | icl::physics::PhysicsPaper3MouseHandler::PhysicsPaper3MouseHandler  | 
          ( | 
          PhysicsPaper3 *  | 
          model,  | 
        
        
           | 
           | 
          geom::Scene *  | 
          scene,  | 
        
        
           | 
           | 
          int  | 
          camIndex = 0  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
 
◆ applyForceToModel()
      
        
          | void icl::physics::PhysicsPaper3MouseHandler::applyForceToModel  | 
          ( | 
          float  | 
          streangth = 1,  | 
        
        
           | 
           | 
          float  | 
          radius = 0.1  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
 
◆ menuCallback()
  
  
      
        
          | void icl::physics::PhysicsPaper3MouseHandler::menuCallback  | 
          ( | 
          const std::string &  | 
          entry | ) | 
           | 
         
       
   | 
  
protected   | 
  
 
 
◆ process()
  
  
      
        
          | virtual void icl::physics::PhysicsPaper3MouseHandler::process  | 
          ( | 
          const qt::MouseEvent &  | 
          event | ) | 
           | 
         
       
   | 
  
virtual   | 
  
 
this function is called automatically when the handleEvent slot is invoked 
It can be reimplemented for custom mouse interaction. If a mouse handling function is enough for your purpose, you can also pass a function of type mouse_handler to the constructor of a MouseHandler instance. The default implementation of process calls the handler function if it's not null. 
Reimplemented from icl::qt::MouseHandler.
 
 
◆ setAddLinksTwice()
      
        
          | void icl::physics::PhysicsPaper3MouseHandler::setAddLinksTwice  | 
          ( | 
          bool  | 
          enabled | ) | 
           | 
        
      
 
if enabled, links are always added twice (with few pixels distance) 
 
 
◆ setDragIndicatorsVisible()
      
        
          | void icl::physics::PhysicsPaper3MouseHandler::setDragIndicatorsVisible  | 
          ( | 
          bool  | 
          on | ) | 
           | 
        
      
 
 
◆ vis()
◆ m_data
  
  
      
        
          | Data* icl::physics::PhysicsPaper3MouseHandler::m_data | 
         
       
   | 
  
private   | 
  
 
 
The documentation for this class was generated from the following file: