|
| CustomPolicySofaViewer () |
|
| ~CustomPolicySofaViewer () override |
|
| SofaViewer () |
|
| ~SofaViewer () override |
|
virtual void | removeViewerTab (QTabWidget *) |
| Optional QTabWidget GUI for a concreate viewer. More...
|
|
virtual void | configureViewerTab (QTabWidget *) |
| Optional QTabWidget GUI for a concreate viewer. More...
|
|
virtual QWidget * | getQWidget ()=0 |
|
virtual QString | helpString () const =0 |
|
void | captureEvent () override |
|
virtual void | keyPressEvent (QKeyEvent *e) |
|
virtual void | keyReleaseEvent (QKeyEvent *e) |
|
bool | isControlPressed () const |
|
virtual void | wheelEvent (QWheelEvent *e) |
|
virtual void | mouseMoveEvent (QMouseEvent *e) |
|
virtual void | mousePressEvent (QMouseEvent *e) |
|
virtual void | mouseReleaseEvent (QMouseEvent *e) |
|
virtual bool | mouseEvent (QMouseEvent *e) |
|
virtual void | configure (sofa::component::setting::ViewerSetting *viewerConf) override |
|
const std::string | screenshotName () override |
|
void | setPrefix (const std::string &prefix, bool prependDirectory=true) override |
|
virtual void | screenshot (const std::string &filename, int compression_level=-1) override |
|
virtual void | setBackgroundImage (std::string imageFileName=std::string("textures/SOFA_logo.bmp")) override |
|
| BaseViewer () |
|
virtual | ~BaseViewer () |
|
virtual void | drawColourPicking (ColourPickingVisitor::ColourCode) |
|
virtual sofa::simulation::Node * | getScene () |
|
virtual const std::string & | getSceneFileName () |
|
virtual void | setSceneFileName (const std::string &f) |
|
virtual void | setScene (sofa::simulation::Node::SPtr scene, const char *filename=nullptr, bool=false) |
|
virtual void | setCameraMode (core::visual::VisualParams::CameraType) |
|
virtual bool | ready () |
|
virtual void | wait () |
| ask the viewer to resume its activity More...
|
|
virtual bool | load (void) |
| Load the viewer. It's the initialisation. More...
|
|
virtual bool | unload (void) |
| unload the viewer without delete More...
|
|
virtual void | viewAll (void)=0 |
| Recompute viewer's home position so it encompass the whole scene and apply it. More...
|
|
virtual void | getView (sofa::type::Vec3 &pos, sofa::type::Quat< SReal > &ori) const |
|
virtual void | setView (const sofa::type::Vec3 &pos, const sofa::type::Quat< SReal > &ori) |
|
virtual void | moveView (const sofa::type::Vec3 &pos, const sofa::type::Quat< SReal > &ori) |
|
virtual void | newView () |
|
virtual void | resetView () |
|
virtual void | setBackgroundColour (float r, float g, float b) |
|
std::string | getBackgroundImage () |
|
virtual void | saveView ()=0 |
|
virtual void | setSizeW (int)=0 |
|
virtual void | setSizeH (int)=0 |
|
virtual int | getWidth ()=0 |
|
virtual int | getHeight ()=0 |
|
virtual void | fitObjectBBox (sofa::core::objectmodel::BaseObject *) |
|
virtual void | fitNodeBBox (sofa::core::objectmodel::BaseNode *) |
|
virtual void | setFullScreen (bool) |
|
virtual void | moveRayPickInteractor (int, int) |
| RayCasting PickHandler. More...
|
|
PickHandler * | getPickHandler () |
|
virtual void | drawScene (void)=0 |
| the rendering pass is done here (have to be called in a loop) More...
|
|