Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | Protected Attributes
segv_vtol_soview2D_edge_group Class Reference

#include <segv_vtol_soview2D.h>

Inheritance diagram for segv_vtol_soview2D_edge_group:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 segv_vtol_soview2D_edge_group ()
 Constructor - creates a default edge_2d view.
 segv_vtol_soview2D_edge_group (vcl_vector< vtol_edge_2d_sptr > &edges)
 Constructor - creates a view of a vtol_vertex_2d.
virtual vcl_ostream & print (vcl_ostream &) const
 Print details about this vtol_vertex_2d to the given stream.
vcl_string type_name () const
 Returns the type of this class ('segv_vtol_soview2D_edge_group').
virtual void set_style (const vgui_style_sptr &)
virtual void draw () const
virtual void draw_select () const
virtual float distance_squared (float x, float y) const
void get_centroid (float *x, float *y) const
void translate (float x, float y)
virtual void load_name () const
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_soviewid_to_object (unsigned id)
static unsigned create_id ()

Public Attributes

vcl_vector< vgui_soview2D * > ls

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

Detailed Description

Definition at line 54 of file segv_vtol_soview2D.h.


Constructor & Destructor Documentation

segv_vtol_soview2D_edge_group::segv_vtol_soview2D_edge_group ( ) [inline]

Constructor - creates a default edge_2d view.

Definition at line 58 of file segv_vtol_soview2D.h.

segv_vtol_soview2D_edge_group::segv_vtol_soview2D_edge_group ( vcl_vector< vtol_edge_2d_sptr > &  edges)

Constructor - creates a view of a vtol_vertex_2d.

Definition at line 73 of file segv_vtol_soview2D.cxx.


Member Function Documentation

vcl_ostream & segv_vtol_soview2D_edge_group::print ( vcl_ostream &  s) const [virtual]

Print details about this vtol_vertex_2d to the given stream.

vtol_edge_2d group view.

Reimplemented from vgui_soview2D_group.

Definition at line 67 of file segv_vtol_soview2D.cxx.

vcl_string segv_vtol_soview2D_edge_group::type_name ( ) const [inline, virtual]

Returns the type of this class ('segv_vtol_soview2D_edge_group').

Reimplemented from vgui_soview2D_group.

Definition at line 67 of file segv_vtol_soview2D.h.


The documentation for this class was generated from the following files: