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

#include "graphics.in.h"

Collaboration diagram for graphics_xform:

Public Member Functions

 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 (void)
 
 ~graphics_xform (void)=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 (void)
 
static ColumnVector xform_vector (double x, double y, double z)
 

Private Attributes

scaler sx
 
scaler sy
 
scaler sz
 
Matrix xform
 
Matrix xform_inv
 
Matrix zlim
 

Detailed Description

Definition at line 3342 of file graphics.in.h.

Constructor & Destructor Documentation

◆ graphics_xform() [1/3]

graphics_xform::graphics_xform ( void  )
inline

Definition at line 3345 of file graphics.in.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 3352 of file graphics.in.h.

◆ graphics_xform() [3/3]

graphics_xform::graphics_xform ( const graphics_xform g)
inline

Definition at line 3357 of file graphics.in.h.

◆ ~graphics_xform()

graphics_xform::~graphics_xform ( void  )
default

Member Function Documentation

◆ operator=()

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

Definition at line 3363 of file graphics.in.h.

◆ scale()

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

◆ transform()

ColumnVector graphics_xform::transform ( double  x,
double  y,
double  z,
bool  use_scale = true 
) const

◆ untransform() [1/2]

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

Definition at line 3385 of file graphics.in.h.

◆ untransform() [2/2]

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

◆ xform_eye()

Matrix graphics_xform::xform_eye ( void  )
static

Definition at line 7372 of file graphics.cc.

References xform_matrix().

◆ xform_vector()

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

◆ xscale()

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

◆ yscale()

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

◆ zscale()

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

Member Data Documentation

◆ sx

scaler graphics_xform::sx
private

Definition at line 3418 of file graphics.in.h.

◆ sy

scaler graphics_xform::sy
private

Definition at line 3418 of file graphics.in.h.

◆ sz

scaler graphics_xform::sz
private

Definition at line 3418 of file graphics.in.h.

◆ xform

Matrix graphics_xform::xform
private

Definition at line 3416 of file graphics.in.h.

◆ xform_inv

Matrix graphics_xform::xform_inv
private

Definition at line 3417 of file graphics.in.h.

◆ zlim

Matrix graphics_xform::zlim
private

Definition at line 3419 of file graphics.in.h.


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