| 
    DGtal 1.4.0
    
   | 
 
#include <DGtal/io/viewers/Viewer3D.h>
Public Types | |
| typedef Viewer3D< Space, KSpace > | Viewer | 
| The associated viewer.   | |
Public Member Functions | |
| virtual | ~Extension ()=default | 
| virtual bool | keyPressEvent (Viewer &viewer, QKeyEvent *event) | 
| virtual void | drawWithNames (Viewer &viewer) | 
| virtual void | draw (Viewer &viewer) | 
| virtual void | init (Viewer &viewer) | 
| virtual QString | helpString (const Viewer &viewer) const | 
| virtual bool | postSelection (const Viewer &viewer, const QPoint &point) | 
| virtual bool | mouseMoveEvent (const Viewer &viewer, QMouseEvent *event) | 
| virtual bool | mousePressEvent (const Viewer &viewer, QMouseEvent *event) | 
| virtual bool | mouseReleaseEvent (const Viewer &viewer, QMouseEvent *event) | 
Interface that can be used so that one can extend a few service of Viewer3D, like keyPressEvent and others. You may thus give an extension to a Viewer3D by simply handling it a pointer to an object deriving from this class.
Definition at line 162 of file Viewer3D.h.
| typedef Viewer3D<Space, KSpace> DGtal::Viewer3D< TSpace, TKSpace >::Extension::Viewer | 
The associated viewer.
Definition at line 165 of file Viewer3D.h.
      
  | 
  virtualdefault | 
      
  | 
  inlinevirtual | 
This method may be overloaded and is called at the beginning of Viewer3D::draw. This method is called for drawing elements.
| viewer | the viewer calling this method | 
Definition at line 199 of file Viewer3D.h.
      
  | 
  inlinevirtual | 
This method may be overloaded and is called at the beginning of Viewer3D::drawWithNames. This method is useful for drawing elements with additional information for selection.
| viewer | the viewer calling this method | 
Definition at line 189 of file Viewer3D.h.
      
  | 
  inlinevirtual | 
This method may be overloaded and is called when pressing help. It will be added before Viewer3D::helpString.
| viewer | the viewer calling this method | 
Definition at line 219 of file Viewer3D.h.
      
  | 
  inlinevirtual | 
This method may be overloaded and is called at QGLViewer initialization. It will be called at the beginning of Viewer3D::init.
| viewer | the viewer calling this method | 
Definition at line 208 of file Viewer3D.h.
      
  | 
  inlinevirtual | 
This method may be overloaded to capture other key events. It will be called at the beginning of Viewer3D::keyPressEvent.
| viewer | the viewer calling this method | 
| event | the key event | 
Definition at line 177 of file Viewer3D.h.
      
  | 
  inlinevirtual | 
This method may be overloaded to capture other mouse move events. It will be called at the beginning of Viewer3D::mouseMoveEvent.
| viewer | the viewer calling this method | 
| event | the mouse move event | 
Definition at line 249 of file Viewer3D.h.
      
  | 
  inlinevirtual | 
This method may be overloaded to capture other mouse press events. It will be called at the beginning of Viewer3D::mousePressEvent.
| viewer | the viewer calling this method | 
| event | the mouse press event | 
Definition at line 264 of file Viewer3D.h.
      
  | 
  inlinevirtual | 
This method may be overloaded to capture other mouse release events. It will be called at the beginning of Viewer3D::mouseReleaseEvent.
| viewer | the viewer calling this method | 
| event | the mouse release event | 
Definition at line 280 of file Viewer3D.h.
      
  | 
  inlinevirtual | 
This method may be overloaded to take care of a mouse selection event. It will be called at the beginning of Viewer3D::postSelection.
| viewer | the viewer calling this method | 
| point | the point clicked by the user in the window | 
Definition at line 234 of file Viewer3D.h.