Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

compose_matrix_src.h File Reference

#include "compose_matrix_src.I"

Go to the source code of this file.

Functions

BEGIN_PUBLISH EXPCL_PANDA void compose_matrix (FLOATNAME(LMatrix3)&mat, const FLOATNAME(LVecBase3)&scale, const FLOATNAME(LVecBase3)&hpr, CoordinateSystem cs=CS_default)
INLINE_LINMATH void compose_matrix (FLOATNAME(LMatrix4)&mat, const FLOATNAME(LVecBase3)&scale, const FLOATNAME(LVecBase3)&hpr, const FLOATNAME(LVecBase3)&translate, CoordinateSystem cs=CS_default)
INLINE_LINMATH void compose_matrix (FLOATNAME(LMatrix4)&mat, const FLOATTYPE components[9], CoordinateSystem cs=CS_default)
EXPCL_PANDA bool decompose_matrix (const FLOATNAME(LMatrix3)&mat, FLOATNAME(LVecBase3)&scale, FLOATNAME(LVecBase3)&hpr, CoordinateSystem cs=CS_default)
EXPCL_PANDA bool decompose_matrix (const FLOATNAME(LMatrix3)&mat, FLOATNAME(LVecBase3)&scale, FLOATNAME(LVecBase3)&hpr, FLOATTYPE roll, CoordinateSystem cs=CS_default)
INLINE_LINMATH bool decompose_matrix (const FLOATNAME(LMatrix4)&mat, FLOATNAME(LVecBase3)&scale, FLOATNAME(LVecBase3)&hpr, FLOATNAME(LVecBase3)&translate, CoordinateSystem cs=CS_default)
INLINE_LINMATH bool decompose_matrix (const FLOATNAME(LMatrix4)&mat, FLOATNAME(LVecBase3)&scale, FLOATNAME(LVecBase3)&hpr, FLOATNAME(LVecBase3)&translate, FLOATTYPE roll, CoordinateSystem cs=CS_default)
INLINE_LINMATH bool decompose_matrix (const FLOATNAME(LMatrix4)&mat, FLOATTYPE components[9], CoordinateSystem CS=CS_default)


Function Documentation

INLINE_LINMATH void compose_matrix FLOATNAME(LMatrix4)&  mat,
const FLOATTYPE  components[9],
CoordinateSystem  cs = CS_default
 

Referenced by TransformState::calc_mat(), Lens::compute_lens_mat(), ParametricCurveCollection::evaluate(), MovingPartMatrix::get_blend_value(), DriveInterface::get_mat(), AnimChannelMatrixXfmTable::get_value(), AnimChannelMatrixXfmTable::get_value_no_scale(), Trackball::set_h(), Trackball::set_hpr(), Trackball::set_p(), Trackball::set_r(), and FFTCompressor::write_hprs().

INLINE_LINMATH void compose_matrix FLOATNAME(LMatrix4)&  mat,
const FLOATNAME(LVecBase3)&  scale,
const FLOATNAME(LVecBase3)&  hpr,
const FLOATNAME(LVecBase3)&  translate,
CoordinateSystem  cs = CS_default
 

BEGIN_PUBLISH EXPCL_PANDA void compose_matrix FLOATNAME(LMatrix3)&  mat,
const FLOATNAME(LVecBase3)&  scale,
const FLOATNAME(LVecBase3)&  hpr,
CoordinateSystem  cs = CS_default
 

Definition at line 25 of file compose_matrix_src.cxx.

References cs, FLOATNAME, and scale.

INLINE_LINMATH bool decompose_matrix const FLOATNAME(LMatrix4)&  mat,
FLOATTYPE  components[9],
CoordinateSystem  CS = CS_default
 

Referenced by EggXfmSAnim::add_data(), TransformState::calc_components(), Lens::compute_view_hpr(), ParametricCurveCollection::determine_hpr(), FLOATNAME(), MovingPartMatrix::get_blend_value(), Trackball::get_h(), Trackball::get_hpr(), NodePath::get_hpr(), Trackball::get_p(), Trackball::get_r(), ACMatrixSwitchType::output_value(), EggXfmAnimData::r_transform(), FFTCompressor::read_hprs(), Trackball::set_h(), Trackball::set_hpr(), DriveInterface::set_mat(), Trackball::set_p(), Trackball::set_r(), EggXfmSAnim::set_value(), TextNode::write(), and FFTCompressor::write_hprs().

INLINE_LINMATH bool decompose_matrix const FLOATNAME(LMatrix4)&  mat,
FLOATNAME(LVecBase3)&  scale,
FLOATNAME(LVecBase3)&  hpr,
FLOATNAME(LVecBase3)&  translate,
FLOATTYPE  roll,
CoordinateSystem  cs = CS_default
 

INLINE_LINMATH bool decompose_matrix const FLOATNAME(LMatrix4)&  mat,
FLOATNAME(LVecBase3)&  scale,
FLOATNAME(LVecBase3)&  hpr,
FLOATNAME(LVecBase3)&  translate,
CoordinateSystem  cs = CS_default
 

EXPCL_PANDA bool decompose_matrix const FLOATNAME(LMatrix3)&  mat,
FLOATNAME(LVecBase3)&  scale,
FLOATNAME(LVecBase3)&  hpr,
FLOATTYPE  roll,
CoordinateSystem  cs = CS_default
 

Definition at line 616 of file compose_matrix_src.cxx.

References cs, CS_default, CS_yup_left, CS_yup_right, CS_zup_left, CS_zup_right, default_coordinate_system, FLOATNAME, scale, unwind_yup_rotation(), and unwind_zup_rotation().

EXPCL_PANDA bool decompose_matrix const FLOATNAME(LMatrix3)&  mat,
FLOATNAME(LVecBase3)&  scale,
FLOATNAME(LVecBase3)&  hpr,
CoordinateSystem  cs = CS_default
 

Definition at line 518 of file compose_matrix_src.cxx.

References cs, CS_default, CS_yup_left, CS_yup_right, CS_zup_left, CS_zup_right, default_coordinate_system, FLOATNAME, scale, unwind_yup_rotation(), and unwind_zup_rotation().


Generated on Fri Apr 18 00:10:29 2003 for Panda by doxygen1.3