#include "graphics.h"
Public Member Functions | |
graphics_xform () | |
graphics_xform (const graphics_xform &g) | |
graphics_xform (const Matrix &xm, const Matrix &xim, const scaler &x, const scaler &y, const scaler &z, const Matrix &zl) | |
~graphics_xform ()=default | |
graphics_xform & | operator= (const graphics_xform &g) |
Matrix | scale (const Matrix &m) const |
ColumnVector | transform (double x, double y, double z, bool use_scale=true) const |
ColumnVector | untransform (double x, double y, bool use_scale=true) const |
ColumnVector | untransform (double x, double y, double z, bool use_scale=true) const |
Matrix | xscale (const Matrix &m) const |
Matrix | yscale (const Matrix &m) const |
Matrix | zscale (const Matrix &m) const |
Static Public Member Functions | |
static Matrix | xform_eye () |
static ColumnVector | xform_vector (double x, double y, double z) |
Definition at line 4571 of file graphics.h.
|
inline |
Definition at line 4575 of file graphics.h.
|
inline |
Definition at line 4582 of file graphics.h.
|
inline |
Definition at line 4589 of file graphics.h.
|
default |
|
inline |
Definition at line 4595 of file graphics.h.
Definition at line 4624 of file graphics.h.
Referenced by opengl_renderer::draw_patch(), and opengl_renderer::draw_text().
ColumnVector graphics_xform::transform | ( | double | x, |
double | y, | ||
double | z, | ||
bool | use_scale = true |
||
) | const |
Definition at line 7034 of file graphics.cc.
References transform(), and x.
Referenced by opengl_renderer::draw_marker(), and opengl_renderer::draw_text_background().
|
inline |
Definition at line 4617 of file graphics.h.
References x.
ColumnVector graphics_xform::untransform | ( | double | x, |
double | y, | ||
double | z, | ||
bool | use_scale = true |
||
) | const |
Definition at line 7047 of file graphics.cc.
References transform(), and x.
|
static |
Definition at line 7028 of file graphics.cc.
References xform_matrix().
|
static |
Definition at line 7022 of file graphics.cc.
References x, and xform_vector().
Definition at line 4620 of file graphics.h.
References m.
Referenced by opengl_renderer::draw_line(), and opengl_renderer::draw_surface().
Definition at line 4621 of file graphics.h.
References m.
Referenced by opengl_renderer::draw_line(), and opengl_renderer::draw_surface().
Definition at line 4622 of file graphics.h.
References m.
Referenced by opengl_renderer::draw_line(), and opengl_renderer::draw_surface().