GNU Octave  9.1.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
graphics_xform Class Reference

#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_xformoperator= (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)
 

Detailed Description

Definition at line 4571 of file graphics.h.

Constructor & Destructor Documentation

◆ graphics_xform() [1/3]

graphics_xform::graphics_xform ( )
inline

Definition at line 4575 of file graphics.h.

◆ graphics_xform() [2/3]

graphics_xform::graphics_xform ( const Matrix xm,
const Matrix xim,
const scaler x,
const scaler y,
const scaler z,
const Matrix zl 
)
inline

Definition at line 4582 of file graphics.h.

◆ graphics_xform() [3/3]

graphics_xform::graphics_xform ( const graphics_xform g)
inline

Definition at line 4589 of file graphics.h.

◆ ~graphics_xform()

graphics_xform::~graphics_xform ( )
default

Member Function Documentation

◆ operator=()

graphics_xform& graphics_xform::operator= ( const graphics_xform g)
inline

Definition at line 4595 of file graphics.h.

◆ scale()

Matrix graphics_xform::scale ( const Matrix m) const
inline

Definition at line 4624 of file graphics.h.

References m, and r.

Referenced by opengl_renderer::draw_patch(), and opengl_renderer::draw_text().

◆ transform()

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().

◆ untransform() [1/2]

ColumnVector graphics_xform::untransform ( double  x,
double  y,
bool  use_scale = true 
) const
inline

Definition at line 4617 of file graphics.h.

References x.

◆ untransform() [2/2]

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.

◆ xform_eye()

Matrix graphics_xform::xform_eye ( )
static

Definition at line 7028 of file graphics.cc.

References xform_matrix().

◆ xform_vector()

ColumnVector graphics_xform::xform_vector ( double  x,
double  y,
double  z 
)
static

Definition at line 7022 of file graphics.cc.

References x, and xform_vector().

◆ xscale()

Matrix graphics_xform::xscale ( const Matrix m) const
inline

Definition at line 4620 of file graphics.h.

References m.

Referenced by opengl_renderer::draw_line(), and opengl_renderer::draw_surface().

◆ yscale()

Matrix graphics_xform::yscale ( const Matrix m) const
inline

Definition at line 4621 of file graphics.h.

References m.

Referenced by opengl_renderer::draw_line(), and opengl_renderer::draw_surface().

◆ zscale()

Matrix graphics_xform::zscale ( const Matrix m) const
inline

Definition at line 4622 of file graphics.h.

References m.

Referenced by opengl_renderer::draw_line(), and opengl_renderer::draw_surface().


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