#include <bgui_vsol_soview2D.h>

Public Member Functions | |
| bgui_vsol_soview2D (vsol_spatial_object_2d_sptr const &pt) | |
| Constructor - creates a default vsol_spatial_object_2d view. | |
| ~bgui_vsol_soview2D () | |
| Destructor. | |
| vcl_ostream & | print (vcl_ostream &) const |
| Print details about this vsol object to the given stream. | |
| virtual vcl_string | type_name () const =0 |
| Returns the type of this class. | |
| virtual void | draw () const =0 |
| Render this 2D digital_curve on the display. | |
| vsol_spatial_object_2d_sptr | base_sptr () const |
| virtual void | translate (float x, float y)=0 |
| Translate this 2D digital_curve by the given x and y distances. | |
| virtual float | distance_squared (float x, float y) const =0 |
| virtual void | get_centroid (float *x, float *y) const =0 |
| 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 () |
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 | |
| vsol_spatial_object_2d_sptr | sptr_ |
| Smart pointer to a vsol_spatial_object. | |
| unsigned | id |
| bool | selectable |
| vgui_style_sptr | style |
Definition at line 36 of file bgui_vsol_soview2D.h.
| bgui_vsol_soview2D::bgui_vsol_soview2D | ( | vsol_spatial_object_2d_sptr const & | pt | ) |
Constructor - creates a default vsol_spatial_object_2d view.
vsol_spatial_object_2d view.
Definition at line 28 of file bgui_vsol_soview2D.cxx.
| bgui_vsol_soview2D::~bgui_vsol_soview2D | ( | ) | [inline] |
Destructor.
Definition at line 43 of file bgui_vsol_soview2D.h.
| vsol_spatial_object_2d_sptr bgui_vsol_soview2D::base_sptr | ( | ) | const [inline] |
Definition at line 54 of file bgui_vsol_soview2D.h.
| virtual void bgui_vsol_soview2D::draw | ( | ) | const [pure virtual] |
Render this 2D digital_curve on the display.
Implements vgui_soview2D.
Implemented in bgui_vsol_soview2D_edgel_curve, bgui_vsol_soview2D_digital_curve, bgui_vsol_soview2D_polygon_set, bgui_vsol_soview2D_polygon, bgui_vsol_soview2D_polyline, bgui_vsol_soview2D_conic_seg, bgui_vsol_soview2D_line_seg, and bgui_vsol_soview2D_point.
| vcl_ostream & bgui_vsol_soview2D::print | ( | vcl_ostream & | s | ) | const [virtual] |
Print details about this vsol object to the given stream.
Reimplemented from vgui_soview2D.
Definition at line 33 of file bgui_vsol_soview2D.cxx.
| virtual void bgui_vsol_soview2D::translate | ( | float | x, |
| float | y | ||
| ) | [pure virtual] |
Translate this 2D digital_curve by the given x and y distances.
Implements vgui_soview2D.
Implemented in bgui_vsol_soview2D_edgel_curve, bgui_vsol_soview2D_digital_curve, bgui_vsol_soview2D_polygon_set, bgui_vsol_soview2D_polygon, bgui_vsol_soview2D_polyline, bgui_vsol_soview2D_conic_seg, bgui_vsol_soview2D_line_seg, and bgui_vsol_soview2D_point.
| virtual vcl_string bgui_vsol_soview2D::type_name | ( | ) | const [pure virtual] |
Returns the type of this class.
Reimplemented from vgui_soview2D.
Implemented in bgui_vsol_soview2D_edgel_curve, bgui_vsol_soview2D_digital_curve, bgui_vsol_soview2D_polygon_set, bgui_vsol_soview2D_polygon, bgui_vsol_soview2D_polyline, bgui_vsol_soview2D_conic_seg, bgui_vsol_soview2D_line_seg, and bgui_vsol_soview2D_point.
vsol_spatial_object_2d_sptr bgui_vsol_soview2D::sptr_ [protected] |
Smart pointer to a vsol_spatial_object.
Definition at line 61 of file bgui_vsol_soview2D.h.
1.7.5.1