g4tools
5.4.0
|
Public Types | |
typedef bool(* | png_writer) (std::ostream &, const std::string &, unsigned char *, unsigned int, unsigned int, unsigned int) |
typedef bool(* | jpeg_writer) (std::ostream &, const std::string &, unsigned char *, unsigned int, unsigned int, unsigned int, int) |
Public Member Functions | |
virtual void | set_size (unsigned int a_width, unsigned int a_height) |
plots_viewer (std::ostream &a_out, const base_freetype &a_ttf, unsigned int a_cols=1, unsigned int a_rows=1, unsigned int a_width=500, unsigned int a_height=500) | |
virtual | ~plots_viewer () |
plots_viewer (const plots_viewer &a_from) | |
plots_viewer & | operator= (const plots_viewer &a_from) |
sg::zb_manager & | zb_manager () |
sg::gl2ps_manager & | gl2ps_manager () |
bool | write_inzb_png (png_writer a_writer, const std::string &a_file, unsigned int a_width, unsigned int a_height) |
bool | write_inzb_png (png_writer a_writer, const std::string &a_file) |
bool | write_inzb_jpeg (jpeg_writer a_writer, const std::string &a_file, unsigned int a_width, unsigned int a_height, int a_quality=100) |
bool | write_inzb_jpeg (jpeg_writer a_writer, const std::string &a_file, int a_quality=100) |
bool | write_inzb_ps (const std::string &a_file, unsigned int a_width, unsigned int a_height, bool a_anonymous=false) |
bool | write_inzb_ps (const std::string &a_file, bool a_anonymous=false) |
bool | open_inzb_ps_file (const std::string &a_file, bool a_anonymous=false) |
bool | write_inzb_ps_page (unsigned int a_width, unsigned int a_height) |
bool | write_inzb_ps_page () |
bool | close_inzb_ps_file () |
bool | write_gl2ps (const std::string &a_file, int a_gl2ps_format, unsigned int a_width, unsigned int a_height) |
bool | write_gl2ps (const std::string &a_file, int a_gl2ps_format) |
Public Member Functions inherited from tools::sg::viewer | |
virtual void * | cast (const std::string &a_class) const |
virtual bool | set_cursor_shape (cursor_shape) |
viewer (std::ostream &a_out, unsigned int a_width, unsigned int a_height) | |
virtual | ~viewer () |
viewer (const viewer &a_from) | |
viewer & | operator= (const viewer &a_from) |
bool | set_default_cursor_shape () |
group & | sg () |
const group & | sg () const |
unsigned int | width () const |
unsigned int | height () const |
bool | screen2aspect (int a_x, int a_y, float &a_wx, float &a_wy) const |
void | set_clear_color (float a_r, float a_g, float a_b, float a_a=1) |
void | set_clear_color (const colorf &a_color) |
void | get_clear_color (float &a_r, float &a_g, float &a_b, float &a_a) |
const colorf & | background () const |
std::ostream & | out () const |
const std::string & | out_dir () const |
void | set_produce_out_jpeg (bool a_value) |
bool | produce_out_jpeg () const |
void | set_produce_out_png (bool a_value) |
bool | produce_out_png () const |
void | set_produce_out_file (const std::string &a_file) |
const std::string & | produce_out_file () const |
void | set_produce_out_bpp (unsigned int a_bpp) |
unsigned int | produce_out_bpp () const |
Protected Member Functions | |
void | create_sg () |
Protected Attributes | |
sg::zb_manager | m_zb_mgr |
sg::gl2ps_manager | m_gl2ps_mgr |
ortho | m_camera |
sg::plots | m_plots |
wps | m_wps |
Protected Attributes inherited from tools::sg::viewer | |
std::ostream & | m_out |
colorf | m_clear_color |
unsigned int | m_ww |
unsigned int | m_wh |
group | m_sg |
std::string | m_out_dir |
bool | m_use_gsto |
bool | m_produce_out_jpeg |
bool | m_produce_out_png |
std::string | m_produce_out_file |
unsigned int | m_produce_out_bpp |
Definition at line 28 of file plots_viewer.
typedef bool(* tools::sg::plots_viewer::jpeg_writer) (std::ostream &, const std::string &, unsigned char *, unsigned int, unsigned int, unsigned int, int) |
Definition at line 121 of file plots_viewer.
typedef bool(* tools::sg::plots_viewer::png_writer) (std::ostream &, const std::string &, unsigned char *, unsigned int, unsigned int, unsigned int) |
Definition at line 78 of file plots_viewer.
|
inline |
|
inlinevirtual |
|
inline |
Definition at line 54 of file plots_viewer.
|
inline |
Definition at line 208 of file plots_viewer.
|
inlineprotected |
Definition at line 221 of file plots_viewer.
|
inline |
Definition at line 75 of file plots_viewer.
|
inline |
Definition at line 188 of file plots_viewer.
|
inline |
Definition at line 63 of file plots_viewer.
|
inlinevirtual |
Reimplemented from tools::sg::viewer.
Definition at line 31 of file plots_viewer.
|
inline |
Definition at line 218 of file plots_viewer.
|
inline |
Definition at line 210 of file plots_viewer.
|
inline |
Definition at line 161 of file plots_viewer.
|
inline |
Definition at line 124 of file plots_viewer.
|
inline |
Definition at line 117 of file plots_viewer.
|
inline |
Definition at line 81 of file plots_viewer.
|
inline |
Definition at line 184 of file plots_viewer.
|
inline |
Definition at line 165 of file plots_viewer.
|
inline |
Definition at line 207 of file plots_viewer.
|
inline |
Definition at line 195 of file plots_viewer.
|
inline |
Definition at line 74 of file plots_viewer.
|
protected |
Definition at line 239 of file plots_viewer.
|
protected |
Definition at line 238 of file plots_viewer.
|
protected |
Definition at line 240 of file plots_viewer.
|
protected |
Definition at line 241 of file plots_viewer.
|
protected |
Definition at line 237 of file plots_viewer.