An object of type Qt_widget_get_iso_rectangle<T> creates a CGAL iso_rectangle this way one left click will be the first generator point, and second point will be considered at the coordinates where the left mouse button is pressed for the second time. You can always cancel the creation process by pressing the ESC key. The use of Qt_widget_get_iso_rectangle<T> requires that the mouse tracking is enabled for widgets attaching it.

#include <CGAL/IO/Qt_widget_get_iso_rectangle.h>


The full template declaration of Qt_widget_get_iso_rectangle states one parameter:
template < class T >
class Qt_widget_get_iso_rectangle;

If T is one of the CGAL kernels you don't need additional types. If not, the parameter T has to provide this types:


typedef T::RT RT; This should be a Ring type

Inherits From



Qt_widget_get_iso_rectangle<T> getisor ( const QCursor c=QCursor(Qt::crossCursor), QObject* parent = 0, const char* name = 0);
c is the cursor that this layer will use when is active. parent is the parent widget and name is the name you give to this layer.