#include <bgui_vtol_soview2D.h>
Public Member Functions | |
bgui_vtol_soview2D_edge () | |
Constructor - creates a default edge_2d view. | |
bgui_vtol_soview2D_edge (vtol_edge_2d_sptr const &e) | |
Constructor - creates a view of a given vtol_edge_2d. | |
virtual vcl_ostream & | print (vcl_ostream &) const |
Print details about this vtol_edge_2d to the given stream. | |
vcl_string | type_name () const |
Returns the type of this class ('bgui_vtol_soview2D_edge'). | |
virtual void | draw () const |
virtual float | distance_squared (float x, float y) const |
void | get_centroid (float *x, float *y) const |
void | translate (float x, float y) |
void | set_size (unsigned) |
virtual void | draw_select () const |
virtual void | load_name () const |
virtual void | set_style (const vgui_style_sptr &newstyle) |
virtual vgui_style_sptr | get_style () const |
void | set_colour (float r, float g, float b) |
void | set_point_size (float s) |
void | set_line_width (float w) |
void | attach (vgui_observer *) |
void | detach (vgui_observer *) |
void | get_observers (vcl_vector< vgui_observer * > &) const |
virtual void | notify () const |
virtual void | notify (vgui_message const &) const |
virtual unsigned | get_id () const |
bool | get_selectable () const |
void | set_selectable (bool s) |
Static Public Member Functions | |
static vgui_soview * | id_to_object (unsigned id) |
static unsigned | create_id () |
Public Attributes | |
unsigned | n |
float * | x |
float * | y |
Static Public Attributes | |
static vgui_DLLDATA const void *const | msg_select |
static vgui_DLLDATA const void *const | msg_deselect |
static vgui_DLLDATA const void *const | msg_highlight |
static vgui_DLLDATA const void *const | msg_unhighlight |
Protected Attributes | |
unsigned | id |
bool | selectable |
vgui_style_sptr | style |
Definition at line 104 of file bgui_vtol_soview2D.h.
bgui_vtol_soview2D_edge::bgui_vtol_soview2D_edge | ( | ) | [inline] |
Constructor - creates a default edge_2d view.
Definition at line 108 of file bgui_vtol_soview2D.h.
bgui_vtol_soview2D_edge::bgui_vtol_soview2D_edge | ( | vtol_edge_2d_sptr const & | e | ) |
Constructor - creates a view of a given vtol_edge_2d.
Definition at line 117 of file bgui_vtol_soview2D.cxx.
vcl_ostream & bgui_vtol_soview2D_edge::print | ( | vcl_ostream & | s | ) | const [virtual] |
Print details about this vtol_edge_2d to the given stream.
vtol_edge_2d view.
Reimplemented from vgui_soview2D_linestrip.
Definition at line 112 of file bgui_vtol_soview2D.cxx.
vcl_string bgui_vtol_soview2D_edge::type_name | ( | ) | const [inline, virtual] |
Returns the type of this class ('bgui_vtol_soview2D_edge').
Reimplemented from vgui_soview2D_linestrip.
Definition at line 117 of file bgui_vtol_soview2D.h.