#include <bgui_vsol_soview2D.h>
Inheritance diagram for bgui_vsol_soview2D_conic_seg:

The current implementation is restricted to conics that are a real ellipse
Definition at line 127 of file bgui_vsol_soview2D.h.
Public Member Functions | |
| bgui_vsol_soview2D_conic_seg (vsol_conic_2d_sptr const &conic) | |
| Constructor - creates a view of a given vsol_conic_2d. | |
| ~bgui_vsol_soview2D_conic_seg () | |
| Destructor - does nothing, smart pointers pass out of scope automatically. | |
| vcl_string | type_name () const |
| Returns the type of this class. | |
| virtual void | draw () const |
| Render this 2D digital_curve on the display. | |
| vsol_conic_2d_sptr | sptr () const |
| virtual float | distance_squared (float x, float y) const |
| Returns the distance squared from this curve to the given position. | |
| void | get_centroid (float *x, float *y) const |
| Returns the centroid of the conic. | |
| virtual void | translate (float x, float y) |
| Translate this conic by the given x and y distances. | |
| vcl_ostream & | print (vcl_ostream &) const |
| Print details about this vsol object to the given stream. | |
| vsol_spatial_object_2d_sptr | base_sptr () const |
| 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 vcl_string | type_name_ () |
| Returns the type of this class ('bgui_vsol_soview2D_conic_seg'). | |
| 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 | |
| double | xc_ |
| the center of the ellipse. | |
| double | yc_ |
| double | major_axis_ |
| the major_axis. | |
| double | minor_axis_ |
| the minor_axis. | |
| double | angle_ |
| the orientation angle. | |
| double | start_angle_ |
| parametric angle at p0;. | |
| double | end_angle_ |
| parametric angle at p1;. | |
| vsol_spatial_object_2d_sptr | sptr_ |
| Smart pointer to a vsol_spatial_object. | |
| unsigned | id |
| bool | selectable |
| vgui_style_sptr | style |
|
|
Constructor - creates a view of a given vsol_conic_2d.
Definition at line 123 of file bgui_vsol_soview2D.cxx. |
|
|
Destructor - does nothing, smart pointers pass out of scope automatically.
Definition at line 134 of file bgui_vsol_soview2D.h. |
|
|
Definition at line 53 of file bgui_vsol_soview2D.h. |
|
||||||||||||
|
Returns the distance squared from this curve to the given position.
Implements vgui_soview2D. Definition at line 177 of file bgui_vsol_soview2D.cxx. |
|
|
Render this 2D digital_curve on the display.
Implements bgui_vsol_soview2D. Definition at line 154 of file bgui_vsol_soview2D.cxx. |
|
||||||||||||
|
Returns the centroid of the conic.
Implements vgui_soview2D. Definition at line 184 of file bgui_vsol_soview2D.cxx. |
|
|
Print details about this vsol object to the given stream.
Reimplemented from vgui_soview2D. Definition at line 32 of file bgui_vsol_soview2D.cxx. |
|
|
Definition at line 148 of file bgui_vsol_soview2D.cxx. |
|
||||||||||||
|
Translate this conic by the given x and y distances.
Implements bgui_vsol_soview2D. Definition at line 190 of file bgui_vsol_soview2D.cxx. |
|
|
Returns the type of this class.
Implements bgui_vsol_soview2D. Definition at line 138 of file bgui_vsol_soview2D.h. |
|
|
Returns the type of this class ('bgui_vsol_soview2D_conic_seg').
Definition at line 137 of file bgui_vsol_soview2D.h. |
|
|
the orientation angle.
Definition at line 164 of file bgui_vsol_soview2D.h. |
|
|
parametric angle at p1;.
Definition at line 168 of file bgui_vsol_soview2D.h. |
|
|
the major_axis.
Definition at line 160 of file bgui_vsol_soview2D.h. |
|
|
the minor_axis.
Definition at line 162 of file bgui_vsol_soview2D.h. |
|
|
Smart pointer to a vsol_spatial_object.
Definition at line 60 of file bgui_vsol_soview2D.h. |
|
|
parametric angle at p0;.
Definition at line 166 of file bgui_vsol_soview2D.h. |
|
|
the center of the ellipse.
Definition at line 158 of file bgui_vsol_soview2D.h. |
|
|
Definition at line 158 of file bgui_vsol_soview2D.h. |
1.4.4