|
numerics 0.1.0
|
#include <viz.hpp>
Classes | |
| struct | Cam3 |
Public Member Functions | |
| template<class Fn > | |
| void | step (Fn fn) |
| bool | reset_pressed () const |
| void | dot (float x, float y, Color c, float r=3.0f) |
| void | circle (float x, float y, float r, Color c) |
| void | line (float x0, float y0, float x1, float y1, Color c, float thick=1.0f) |
| void | rect (float x, float y, float w, float h, Color c) |
| void | rect_outline (float x, float y, float w, float h, Color c, float thick=1.0f) |
| void | text (const char *s, float x, float y, int sz, Color c) |
| void | textf (float x, float y, int sz, Color c, const char *fmt,...) |
| template<class Fn > | |
| void | field (int N, Fn color_fn) |
| void | slider (const char *label, double lo, double hi, double &val) |
| void | begin3d (Cam3 cam) |
| void | end3d () |
| void | sphere3d (float x, float y, float z, float r, Color c) |
| void | sphere3d_wire (float x, float y, float z, float r, Color c) |
| void | line3d (float x0, float y0, float z0, float x1, float y1, float z1, Color c) |
| void | cube3d (float x, float y, float z, float sx, float sy, float sz, Color c) |
Public Attributes | |
| int | width |
| int | height |
| bool & | paused |
| int & | substeps |
| detail::State & | _s |
|
inline |
Definition at line 306 of file viz.hpp.
References num::viz::Frame::Cam3::fovy, num::viz::Frame::Cam3::px, num::viz::Frame::Cam3::py, num::viz::Frame::Cam3::pz, num::viz::Frame::Cam3::tx, num::viz::Frame::Cam3::ty, num::viz::Frame::Cam3::tz, num::viz::Frame::Cam3::ux, num::viz::Frame::Cam3::uy, and num::viz::Frame::Cam3::uz.
|
inline |
Definition at line 207 of file viz.hpp.
References num::viz::to_rl().
|
inline |
Definition at line 335 of file viz.hpp.
References num::viz::to_rl().
|
inline |
Definition at line 204 of file viz.hpp.
References num::viz::to_rl().
|
inline |
Definition at line 247 of file viz.hpp.
References _s, num::viz::detail::State::canvas, num::viz::detail::FieldCanvas::ensure(), and num::viz::to_rl().
|
inline |
Definition at line 210 of file viz.hpp.
References num::viz::to_rl().
|
inline |
Definition at line 325 of file viz.hpp.
References num::viz::to_rl().
|
inline |
Definition at line 218 of file viz.hpp.
References num::viz::to_rl().
|
inline |
Definition at line 221 of file viz.hpp.
References num::viz::to_rl().
|
inline |
Definition at line 264 of file viz.hpp.
References _s, and num::viz::detail::State::slider_count.
|
inline |
Definition at line 319 of file viz.hpp.
References num::viz::to_rl().
|
inline |
Definition at line 322 of file viz.hpp.
References num::viz::to_rl().
|
inline |
|
inline |
Definition at line 229 of file viz.hpp.
References num::viz::to_rl().
|
inline |
Definition at line 234 of file viz.hpp.
References num::viz::to_rl().
| detail::State& num::viz::Frame::_s |