Loading...
Searching...
No Matches
wykobi::wykobi_graphics_net< T > Class Template Reference

#include <biped-stabilizer/third_party/wykobi/wykobi_graphics_net.hpp>

Public Member Functions

 wykobi_graphics_net (Graphics ^ gc, const unsigned int &w, const unsigned int &h)
 
 ~wykobi_graphics_net ()
 
void set_pen (Pen ^ _pen) const
 
float get_pen_width () const
 
void set_pen_width (const unsigned int &w) const
 
void set_dash_mode () const
 
void set_nodash_mode () const
 
void set_color (const unsigned int &color) const
 
unsigned int width () const
 
unsigned int height () const
 
unsigned int center_x () const
 
unsigned int center_y () const
 
void draw_pixel (const T &x, const T &y) const
 
void draw_pixel (const point2d< T > &point) const
 
void draw_segment (const T &x1, const T &y1, const T &x2, const T &y2) const
 
void draw_segment (const point2d< T > &point1, const point2d< T > &point2) const
 
void draw_line (const T &x1, const T &y1, const T &x2, const T &y2) const
 
void draw_triangle (const T &x1, const T &y1, const T &x2, const T &y2, const T &x3, const T &y3) const
 
void draw_rectangle (const T &x1, const T &y1, const T &x2, const T &y2) const
 
void draw_quadix (const T &x1, const T &y1, const T &x2, const T &y2, const T &x3, const T &y3, const T &x4, const T &y4) const
 
void draw_circle (const T &x, const T &y, const T &radius) const
 
void draw_circle (const point2d< T > center, const T &radius) const
 
void draw_polyline (const std::vector< point2d< T > > &point_list) const
 
void draw_polyline (const std::vector< point3d< T > > &point_list) const
 
void draw_crosshair (const point2d< T > &p, const T r) const
 
void clear (System::Drawing::Color color) const
 
void clear () const
 
void clear (const unsigned int &color) const
 
void draw (const point2d< T > &point) const
 
void draw (const segment< T, 2 > &segment) const
 
void draw (const triangle< T, 2 > &triangle) const
 
void draw (const rectangle< T > &rectangle) const
 
void draw (const quadix< T, 2 > &quadix) const
 
void draw (const circle< T > &circle) const
 
void draw (const polygon< T, 2 > &polygon) const
 
void draw (const cubic_bezier< T, 2 > &bezier, const std::size_t &point_count) const
 
void draw (const quadratic_bezier< T, 2 > &bezier, const std::size_t &point_count) const
 
template<typename InputIterator>
void draw (const InputIterator begin, const InputIterator end) const
 

Static Public Attributes

static const unsigned int clAqua = 0
 
static const unsigned int clBlack = 1
 
static const unsigned int clBlue = 2
 
static const unsigned int clBrown = 3
 
static const unsigned int clCyan = 4
 
static const unsigned int clGray = 5
 
static const unsigned int clGreen = 6
 
static const unsigned int clIndigo = 7
 
static const unsigned int clLimeGreen = 8
 
static const unsigned int clMagenta = 9
 
static const unsigned int clOrange = 10
 
static const unsigned int clPurple = 11
 
static const unsigned int clRed = 12
 
static const unsigned int clViolet = 13
 
static const unsigned int clWhite = 14
 
static const unsigned int clYellow = 15
 

Constructor & Destructor Documentation

◆ wykobi_graphics_net()

template<typename T>
wykobi::wykobi_graphics_net< T >::wykobi_graphics_net ( Graphics ^ gc,
const unsigned int & w,
const unsigned int & h )
inline

◆ ~wykobi_graphics_net()

template<typename T>
wykobi::wykobi_graphics_net< T >::~wykobi_graphics_net ( )
inline

Member Function Documentation

◆ center_x()

template<typename T>
unsigned int wykobi::wykobi_graphics_net< T >::center_x ( ) const
inline

◆ center_y()

template<typename T>
unsigned int wykobi::wykobi_graphics_net< T >::center_y ( ) const
inline

◆ clear() [1/3]

template<typename T>
void wykobi::wykobi_graphics_net< T >::clear ( ) const
inline

◆ clear() [2/3]

template<typename T>
void wykobi::wykobi_graphics_net< T >::clear ( const unsigned int & color) const
inline

◆ clear() [3/3]

template<typename T>
void wykobi::wykobi_graphics_net< T >::clear ( System::Drawing::Color color) const
inline

◆ draw() [1/10]

template<typename T>
void wykobi::wykobi_graphics_net< T >::draw ( const circle< T > & circle) const
inline

◆ draw() [2/10]

template<typename T>
void wykobi::wykobi_graphics_net< T >::draw ( const cubic_bezier< T, 2 > & bezier,
const std::size_t & point_count ) const
inline

◆ draw() [3/10]

template<typename T>
template<typename InputIterator>
void wykobi::wykobi_graphics_net< T >::draw ( const InputIterator begin,
const InputIterator end ) const
inline

◆ draw() [4/10]

template<typename T>
void wykobi::wykobi_graphics_net< T >::draw ( const point2d< T > & point) const
inline

◆ draw() [5/10]

template<typename T>
void wykobi::wykobi_graphics_net< T >::draw ( const polygon< T, 2 > & polygon) const
inline

◆ draw() [6/10]

template<typename T>
void wykobi::wykobi_graphics_net< T >::draw ( const quadix< T, 2 > & quadix) const
inline

◆ draw() [7/10]

template<typename T>
void wykobi::wykobi_graphics_net< T >::draw ( const quadratic_bezier< T, 2 > & bezier,
const std::size_t & point_count ) const
inline

◆ draw() [8/10]

template<typename T>
void wykobi::wykobi_graphics_net< T >::draw ( const rectangle< T > & rectangle) const
inline

◆ draw() [9/10]

template<typename T>
void wykobi::wykobi_graphics_net< T >::draw ( const segment< T, 2 > & segment) const
inline

◆ draw() [10/10]

template<typename T>
void wykobi::wykobi_graphics_net< T >::draw ( const triangle< T, 2 > & triangle) const
inline

◆ draw_circle() [1/2]

template<typename T>
void wykobi::wykobi_graphics_net< T >::draw_circle ( const point2d< T > center,
const T & radius ) const
inline

◆ draw_circle() [2/2]

template<typename T>
void wykobi::wykobi_graphics_net< T >::draw_circle ( const T & x,
const T & y,
const T & radius ) const
inline

◆ draw_crosshair()

template<typename T>
void wykobi::wykobi_graphics_net< T >::draw_crosshair ( const point2d< T > & p,
const T r ) const
inline

◆ draw_line()

template<typename T>
void wykobi::wykobi_graphics_net< T >::draw_line ( const T & x1,
const T & y1,
const T & x2,
const T & y2 ) const
inline

◆ draw_pixel() [1/2]

template<typename T>
void wykobi::wykobi_graphics_net< T >::draw_pixel ( const point2d< T > & point) const
inline

◆ draw_pixel() [2/2]

template<typename T>
void wykobi::wykobi_graphics_net< T >::draw_pixel ( const T & x,
const T & y ) const
inline

◆ draw_polyline() [1/2]

template<typename T>
void wykobi::wykobi_graphics_net< T >::draw_polyline ( const std::vector< point2d< T > > & point_list) const
inline

◆ draw_polyline() [2/2]

template<typename T>
void wykobi::wykobi_graphics_net< T >::draw_polyline ( const std::vector< point3d< T > > & point_list) const
inline

◆ draw_quadix()

template<typename T>
void wykobi::wykobi_graphics_net< T >::draw_quadix ( const T & x1,
const T & y1,
const T & x2,
const T & y2,
const T & x3,
const T & y3,
const T & x4,
const T & y4 ) const
inline

◆ draw_rectangle()

template<typename T>
void wykobi::wykobi_graphics_net< T >::draw_rectangle ( const T & x1,
const T & y1,
const T & x2,
const T & y2 ) const
inline

◆ draw_segment() [1/2]

template<typename T>
void wykobi::wykobi_graphics_net< T >::draw_segment ( const point2d< T > & point1,
const point2d< T > & point2 ) const
inline

◆ draw_segment() [2/2]

template<typename T>
void wykobi::wykobi_graphics_net< T >::draw_segment ( const T & x1,
const T & y1,
const T & x2,
const T & y2 ) const
inline

◆ draw_triangle()

template<typename T>
void wykobi::wykobi_graphics_net< T >::draw_triangle ( const T & x1,
const T & y1,
const T & x2,
const T & y2,
const T & x3,
const T & y3 ) const
inline

◆ get_pen_width()

template<typename T>
float wykobi::wykobi_graphics_net< T >::get_pen_width ( ) const
inline

◆ height()

template<typename T>
unsigned int wykobi::wykobi_graphics_net< T >::height ( ) const
inline

◆ set_color()

template<typename T>
void wykobi::wykobi_graphics_net< T >::set_color ( const unsigned int & color) const
inline

◆ set_dash_mode()

template<typename T>
void wykobi::wykobi_graphics_net< T >::set_dash_mode ( ) const
inline

◆ set_nodash_mode()

template<typename T>
void wykobi::wykobi_graphics_net< T >::set_nodash_mode ( ) const
inline

◆ set_pen()

template<typename T>
void wykobi::wykobi_graphics_net< T >::set_pen ( Pen ^ _pen) const
inline

◆ set_pen_width()

template<typename T>
void wykobi::wykobi_graphics_net< T >::set_pen_width ( const unsigned int & w) const
inline

◆ width()

template<typename T>
unsigned int wykobi::wykobi_graphics_net< T >::width ( ) const
inline

Member Data Documentation

◆ clAqua

template<typename T>
const unsigned int wykobi::wykobi_graphics_net< T >::clAqua = 0
static

◆ clBlack

template<typename T>
const unsigned int wykobi::wykobi_graphics_net< T >::clBlack = 1
static

◆ clBlue

template<typename T>
const unsigned int wykobi::wykobi_graphics_net< T >::clBlue = 2
static

◆ clBrown

template<typename T>
const unsigned int wykobi::wykobi_graphics_net< T >::clBrown = 3
static

◆ clCyan

template<typename T>
const unsigned int wykobi::wykobi_graphics_net< T >::clCyan = 4
static

◆ clGray

template<typename T>
const unsigned int wykobi::wykobi_graphics_net< T >::clGray = 5
static

◆ clGreen

template<typename T>
const unsigned int wykobi::wykobi_graphics_net< T >::clGreen = 6
static

◆ clIndigo

template<typename T>
const unsigned int wykobi::wykobi_graphics_net< T >::clIndigo = 7
static

◆ clLimeGreen

template<typename T>
const unsigned int wykobi::wykobi_graphics_net< T >::clLimeGreen = 8
static

◆ clMagenta

template<typename T>
const unsigned int wykobi::wykobi_graphics_net< T >::clMagenta = 9
static

◆ clOrange

template<typename T>
const unsigned int wykobi::wykobi_graphics_net< T >::clOrange = 10
static

◆ clPurple

template<typename T>
const unsigned int wykobi::wykobi_graphics_net< T >::clPurple = 11
static

◆ clRed

template<typename T>
const unsigned int wykobi::wykobi_graphics_net< T >::clRed = 12
static

◆ clViolet

template<typename T>
const unsigned int wykobi::wykobi_graphics_net< T >::clViolet = 13
static

◆ clWhite

template<typename T>
const unsigned int wykobi::wykobi_graphics_net< T >::clWhite = 14
static

◆ clYellow

template<typename T>
const unsigned int wykobi::wykobi_graphics_net< T >::clYellow = 15
static

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