CGAL 4.12 - Three
|
#include <CGAL/Three/Scene_draw_interface.h>
Inherited by Scene.
Base class to interact with the scene from the viewer.
Public Member Functions | |
virtual void | initializeGL (CGAL::Three::Viewer_interface *)=0 |
Is called by Viewer::initializeGL(). More... | |
virtual void | draw (CGAL::Three::Viewer_interface *)=0 |
Draws the items. More... | |
virtual void | drawWithNames (CGAL::Three::Viewer_interface *)=0 |
draws the scene in a hidden frame to perform picking. More... | |
virtual void | setPickedPixel (const QPoint &e)=0 |
Pick the point e on the screen. | |
virtual bool | keyPressEvent (QKeyEvent *e)=0 |
Manages the key events. More... | |
virtual void | printPrimitiveId (QPoint point, CGAL::Three::Viewer_interface *)=0 |
print theTextItems. | |
virtual void | updatePrimitiveIds (CGAL::Three::Viewer_interface *, CGAL::Three::Scene_item *)=0 |
update theTextItems. | |
virtual bool | testDisplayId (double x, double y, double z, CGAL::Three::Viewer_interface *viewer)=0 |
checks if the text at position (x,y,z) is visible or not. More... | |
virtual void | printVertexIds (CGAL::Three::Viewer_interface *)=0 |
displays all the vertices ids if there are less than max_textItems. | |
virtual void | printEdgeIds (CGAL::Three::Viewer_interface *)=0 |
displays all the edges ids if there are less than max_textItems. | |
virtual void | printFaceIds (CGAL::Three::Viewer_interface *)=0 |
displays all the faces ids if there are less than max_textItems. | |
virtual void | printAllIds (CGAL::Three::Viewer_interface *)=0 |
displays all the primitive ids if there are less than max_textItems. | |
virtual void | zoomToPosition (QPoint point, CGAL::Three::Viewer_interface *viewer)=0 |
moves the camera orthogonally to the picked sface. More... | |
|
pure virtual |
Draws the items.
It is called by Viewer::draw().
|
pure virtual |
draws the scene in a hidden frame to perform picking.
Is called by Viewer::drawWithNames().
|
pure virtual |
Is called by Viewer::initializeGL().
Allows all the initialization of OpenGL code that needs a context.
|
pure virtual |
Manages the key events.
Override this function to perform actions when keys are pressed.
|
pure virtual |
|
pure virtual |
moves the camera orthogonally to the picked sface.
point | the picked point |
viewer | the active viewer |