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

panda/src/linmath/compose_matrix_src.h

Go to the documentation of this file.
00001 // Filename: compose_matrix_src.h
00002 // Created by:  drose (21Feb99)
00003 //
00004 ////////////////////////////////////////////////////////////////////
00005 //
00006 // PANDA 3D SOFTWARE
00007 // Copyright (c) 2001, Disney Enterprises, Inc.  All rights reserved
00008 //
00009 // All use of this software is subject to the terms of the Panda 3d
00010 // Software license.  You should have received a copy of this license
00011 // along with this source code; you will also find a current copy of
00012 // the license at http://www.panda3d.org/license.txt .
00013 //
00014 // To contact the maintainers of this program write to
00015 // panda3d@yahoogroups.com .
00016 //
00017 ////////////////////////////////////////////////////////////////////
00018 
00019 BEGIN_PUBLISH
00020 
00021 EXPCL_PANDA void
00022 compose_matrix(FLOATNAME(LMatrix3) &mat,
00023                const FLOATNAME(LVecBase3) &scale,
00024                const FLOATNAME(LVecBase3) &hpr,
00025                CoordinateSystem cs = CS_default);
00026 
00027 INLINE_LINMATH void
00028 compose_matrix(FLOATNAME(LMatrix4) &mat,
00029                const FLOATNAME(LVecBase3) &scale,
00030                const FLOATNAME(LVecBase3) &hpr,
00031                const FLOATNAME(LVecBase3) &translate,
00032                CoordinateSystem cs = CS_default);
00033 
00034 INLINE_LINMATH void
00035 compose_matrix(FLOATNAME(LMatrix4) &mat, const FLOATTYPE components[9],
00036                CoordinateSystem cs = CS_default);
00037 
00038 EXPCL_PANDA bool
00039 decompose_matrix(const FLOATNAME(LMatrix3) &mat,
00040                  FLOATNAME(LVecBase3) &scale,
00041                  FLOATNAME(LVecBase3) &hpr,
00042                  CoordinateSystem cs = CS_default);
00043 
00044 EXPCL_PANDA bool
00045 decompose_matrix(const FLOATNAME(LMatrix3) &mat,
00046                  FLOATNAME(LVecBase3) &scale,
00047                  FLOATNAME(LVecBase3) &hpr,
00048                  FLOATTYPE roll,
00049                  CoordinateSystem cs = CS_default);
00050 
00051 INLINE_LINMATH bool
00052 decompose_matrix(const FLOATNAME(LMatrix4) &mat,
00053                  FLOATNAME(LVecBase3) &scale,
00054                  FLOATNAME(LVecBase3) &hpr,
00055                  FLOATNAME(LVecBase3) &translate,
00056                  CoordinateSystem cs = CS_default);
00057 
00058 INLINE_LINMATH bool
00059 decompose_matrix(const FLOATNAME(LMatrix4) &mat,
00060                  FLOATNAME(LVecBase3) &scale,
00061                  FLOATNAME(LVecBase3) &hpr,
00062                  FLOATNAME(LVecBase3) &translate,
00063                  FLOATTYPE roll,
00064                  CoordinateSystem cs = CS_default);
00065 
00066 INLINE_LINMATH bool
00067 decompose_matrix(const FLOATNAME(LMatrix4) &mat, FLOATTYPE components[9],
00068                  CoordinateSystem CS = CS_default);
00069 
00070 END_PUBLISH
00071 
00072 #include "compose_matrix_src.I"

Generated on Fri May 2 00:40:03 2003 for Panda by doxygen1.3