#include <bgui_vtol2D_rubberband_client.h>
Public Member Functions | |
bgui_vtol2D_rubberband_client (bgui_vtol2D_tableau_sptr const &vtol2D) | |
constructor - takes a pointer to a vtol2D tableau. | |
virtual void | add_point (float, float) |
Called by vgui_rubberband_tableau when the user has selected a point. | |
virtual void | add_line (float, float, float, float) |
Called by vgui_rubberband_tableau when the user has selected a finite line. | |
virtual void | add_infinite_line (float, float, float) |
Called by vgui_rubberband_tableau when user has selected an infinite line. | |
virtual void | add_circle (float, float, float) |
Called by vgui_rubberband_tableau when the user has selected a circle. | |
virtual void | add_linestrip (int n, float const *, float const *) |
Called by vgui_rubberband_tableau when the user has selected a linestrip. | |
virtual void | add_polygon (int n, float const *, float const *) |
Called by vgui_rubberband_tableau when the user has selected a polygon. | |
virtual void | add_box (float, float, float, float) |
Called by vgui_rubberband_tableau when user has selected a rectangular box. | |
void | clear_highlight () |
Called by vgui_rubberband_tableau whenever mouse motion is captured. | |
Public Attributes | |
bgui_vtol2D_tableau_sptr | vtol2D_ |
Definition at line 19 of file bgui_vtol2D_rubberband_client.h.
bgui_vtol2D_rubberband_client::bgui_vtol2D_rubberband_client | ( | bgui_vtol2D_tableau_sptr const & | vtol2D | ) | [inline] |
constructor - takes a pointer to a vtol2D tableau.
Definition at line 25 of file bgui_vtol2D_rubberband_client.h.
void bgui_vtol2D_rubberband_client::add_box | ( | float | x0, |
float | y0, | ||
float | x1, | ||
float | y1 | ||
) | [virtual] |
Called by vgui_rubberband_tableau when user has selected a rectangular box.
Reimplemented from vgui_rubberband_client.
Definition at line 58 of file bgui_vtol2D_rubberband_client.cxx.
void bgui_vtol2D_rubberband_client::add_circle | ( | float | x, |
float | y, | ||
float | r | ||
) | [virtual] |
Called by vgui_rubberband_tableau when the user has selected a circle.
Reimplemented from vgui_rubberband_client.
Definition at line 32 of file bgui_vtol2D_rubberband_client.cxx.
void bgui_vtol2D_rubberband_client::add_infinite_line | ( | float | a, |
float | b, | ||
float | c | ||
) | [virtual] |
Called by vgui_rubberband_tableau when user has selected an infinite line.
Reimplemented from vgui_rubberband_client.
Definition at line 25 of file bgui_vtol2D_rubberband_client.cxx.
void bgui_vtol2D_rubberband_client::add_line | ( | float | x0, |
float | y0, | ||
float | x1, | ||
float | y1 | ||
) | [virtual] |
Called by vgui_rubberband_tableau when the user has selected a finite line.
Reimplemented from vgui_rubberband_client.
Definition at line 18 of file bgui_vtol2D_rubberband_client.cxx.
void bgui_vtol2D_rubberband_client::add_linestrip | ( | int | n, |
float const * | x, | ||
float const * | y | ||
) | [virtual] |
Called by vgui_rubberband_tableau when the user has selected a linestrip.
Reimplemented from vgui_rubberband_client.
Definition at line 39 of file bgui_vtol2D_rubberband_client.cxx.
void bgui_vtol2D_rubberband_client::add_point | ( | float | x, |
float | y | ||
) | [virtual] |
Called by vgui_rubberband_tableau when the user has selected a point.
Reimplemented from vgui_rubberband_client.
Definition at line 11 of file bgui_vtol2D_rubberband_client.cxx.
void bgui_vtol2D_rubberband_client::add_polygon | ( | int | n, |
float const * | x, | ||
float const * | y | ||
) | [virtual] |
Called by vgui_rubberband_tableau when the user has selected a polygon.
Reimplemented from vgui_rubberband_client.
Definition at line 46 of file bgui_vtol2D_rubberband_client.cxx.
void bgui_vtol2D_rubberband_client::clear_highlight | ( | ) | [virtual] |
Called by vgui_rubberband_tableau whenever mouse motion is captured.
This turns off the highlighting of geometry objects to eliminate flickering highlights while drawing temporary objects.
Reimplemented from vgui_rubberband_client.
Definition at line 74 of file bgui_vtol2D_rubberband_client.cxx.
Definition at line 22 of file bgui_vtol2D_rubberband_client.h.