basegfx::B3DHomMatrix Class Reference

#include <b3dhommatrix.hxx>

List of all members.

Public Types

typedef o3tl::cow_wrapper
< Impl3DHomMatrix
ImplType

Public Member Functions

 B3DHomMatrix ()
 B3DHomMatrix (const B3DHomMatrix &rMat)
 ~B3DHomMatrix ()
void makeUnique ()
 unshare this matrix with all internally shared instances
double get (sal_uInt16 nRow, sal_uInt16 nColumn) const
void set (sal_uInt16 nRow, sal_uInt16 nColumn, double fValue)
bool isLastLineDefault () const
bool isIdentity () const
void identity ()
 Reset to the identity matrix.
bool isInvertible () const
bool invert ()
 Invert the matrix (if possible).
bool isNormalized () const
void normalize ()
 Normalize (i.e. force w=1) the matrix.
double determinant () const
 Calc the matrix determinant.
double trace () const
 Calc the matrix trace.
void transpose ()
 Transpose the matrix.
void rotate (double fAngleX, double fAngleY, double fAngleZ)
 Rotation.
void translate (double fX, double fY, double fZ)
 Translation.
void scale (double fX, double fY, double fZ)
 Scaling.
void shearXY (double fSx, double fSy)
void shearYZ (double fSy, double fSz)
void shearXZ (double fSx, double fSz)
void frustum (double fLeft=-1.0, double fRight=1.0, double fBottom=-1.0, double fTop=1.0, double fNear=0.001, double fFar=1.0)
void ortho (double fLeft=-1.0, double fRight=1.0, double fBottom=-1.0, double fTop=1.0, double fNear=0.0, double fFar=1.0)
void orientation (B3DPoint aVRP=B3DPoint(0.0, 0.0, 1.0), B3DVector aVPN=B3DVector(0.0, 0.0, 1.0), B3DVector aVUV=B3DVector(0.0, 1.0, 0.0))
B3DHomMatrixoperator+= (const B3DHomMatrix &rMat)
B3DHomMatrixoperator-= (const B3DHomMatrix &rMat)
bool operator== (const B3DHomMatrix &rMat) const
bool operator!= (const B3DHomMatrix &rMat) const
B3DHomMatrixoperator*= (double fValue)
B3DHomMatrixoperator/= (double fValue)
B3DHomMatrixoperator*= (const B3DHomMatrix &rMat)
B3DHomMatrixoperator= (const B3DHomMatrix &rMat)
bool decompose (B3DTuple &rScale, B3DTuple &rTranslate, B3DTuple &rRotate, B3DTuple &rShear) const

Private Attributes

ImplType mpImpl


Detailed Description

Definition at line 41 of file b3dhommatrix.hxx.


Member Typedef Documentation

Definition at line 44 of file b3dhommatrix.hxx.


Constructor & Destructor Documentation

basegfx::B3DHomMatrix::B3DHomMatrix (  ) 

Definition at line 45 of file b3dhommatrix.cxx.

basegfx::B3DHomMatrix::B3DHomMatrix ( const B3DHomMatrix rMat  ) 

Definition at line 50 of file b3dhommatrix.cxx.

basegfx::B3DHomMatrix::~B3DHomMatrix (  ) 

Definition at line 55 of file b3dhommatrix.cxx.


Member Function Documentation

void basegfx::B3DHomMatrix::makeUnique (  ) 

unshare this matrix with all internally shared instances

Definition at line 65 of file b3dhommatrix.cxx.

References o3tl::cow_wrapper< T, MTPolicy >::make_unique(), and mpImpl.

double basegfx::B3DHomMatrix::get ( sal_uInt16  nRow,
sal_uInt16  nColumn 
) const

Definition at line 70 of file b3dhommatrix.cxx.

References o3tl::cow_wrapper< T, MTPolicy >::get(), and mpImpl.

Referenced by basegfx::B3IVector::operator*=().

void basegfx::B3DHomMatrix::set ( sal_uInt16  nRow,
sal_uInt16  nColumn,
double  fValue 
)

Definition at line 75 of file b3dhommatrix.cxx.

References mpImpl.

Referenced by basegfx::unotools::homMatrixFromAffineMatrix3D().

bool basegfx::B3DHomMatrix::isLastLineDefault (  )  const

Definition at line 80 of file b3dhommatrix.cxx.

References mpImpl.

bool basegfx::B3DHomMatrix::isIdentity (  )  const

void basegfx::B3DHomMatrix::identity (  ) 

Reset to the identity matrix.

Definition at line 93 of file b3dhommatrix.cxx.

References mpImpl.

bool basegfx::B3DHomMatrix::isInvertible (  )  const

Definition at line 98 of file b3dhommatrix.cxx.

References mpImpl.

bool basegfx::B3DHomMatrix::invert (  ) 

bool basegfx::B3DHomMatrix::isNormalized (  )  const

Definition at line 121 of file b3dhommatrix.cxx.

References mpImpl.

void basegfx::B3DHomMatrix::normalize (  ) 

Normalize (i.e. force w=1) the matrix.

Definition at line 126 of file b3dhommatrix.cxx.

References mpImpl.

double basegfx::B3DHomMatrix::determinant (  )  const

Calc the matrix determinant.

Definition at line 132 of file b3dhommatrix.cxx.

References mpImpl.

Referenced by decompose().

double basegfx::B3DHomMatrix::trace (  )  const

Calc the matrix trace.

Definition at line 137 of file b3dhommatrix.cxx.

References mpImpl.

void basegfx::B3DHomMatrix::transpose (  ) 

Transpose the matrix.

Definition at line 142 of file b3dhommatrix.cxx.

References mpImpl.

void basegfx::B3DHomMatrix::rotate ( double  fAngleX,
double  fAngleY,
double  fAngleZ 
)

void basegfx::B3DHomMatrix::translate ( double  fX,
double  fY,
double  fZ 
)

void basegfx::B3DHomMatrix::scale ( double  fX,
double  fY,
double  fZ 
)

void basegfx::B3DHomMatrix::shearXY ( double  fSx,
double  fSy 
)

void basegfx::B3DHomMatrix::shearYZ ( double  fSy,
double  fSz 
)

void basegfx::B3DHomMatrix::shearXZ ( double  fSx,
double  fSz 
)

void basegfx::B3DHomMatrix::frustum ( double  fLeft = -1.0,
double  fRight = 1.0,
double  fBottom = -1.0,
double  fTop = 1.0,
double  fNear = 0.001,
double  fFar = 1.0 
)

void basegfx::B3DHomMatrix::ortho ( double  fLeft = -1.0,
double  fRight = 1.0,
double  fBottom = -1.0,
double  fTop = 1.0,
double  fNear = 0.0,
double  fFar = 1.0 
)

void basegfx::B3DHomMatrix::orientation ( B3DPoint  aVRP = B3DPoint(0.0,0.0,1.0),
B3DVector  aVPN = B3DVector(0.0,0.0,1.0),
B3DVector  aVUV = B3DVector(0.0,1.0,0.0) 
)

B3DHomMatrix & basegfx::B3DHomMatrix::operator+= ( const B3DHomMatrix rMat  ) 

Definition at line 147 of file b3dhommatrix.cxx.

References mpImpl.

B3DHomMatrix & basegfx::B3DHomMatrix::operator-= ( const B3DHomMatrix rMat  ) 

Definition at line 153 of file b3dhommatrix.cxx.

References mpImpl.

bool basegfx::B3DHomMatrix::operator== ( const B3DHomMatrix rMat  )  const

Definition at line 187 of file b3dhommatrix.cxx.

References mpImpl, and o3tl::cow_wrapper< T, MTPolicy >::same_object().

bool basegfx::B3DHomMatrix::operator!= ( const B3DHomMatrix rMat  )  const

Definition at line 195 of file b3dhommatrix.cxx.

B3DHomMatrix & basegfx::B3DHomMatrix::operator*= ( double  fValue  ) 

Definition at line 159 of file b3dhommatrix.cxx.

References basegfx::fTools::equal(), and mpImpl.

B3DHomMatrix & basegfx::B3DHomMatrix::operator/= ( double  fValue  ) 

Definition at line 169 of file b3dhommatrix.cxx.

References basegfx::fTools::equal(), and mpImpl.

B3DHomMatrix & basegfx::B3DHomMatrix::operator*= ( const B3DHomMatrix rMat  ) 

Definition at line 179 of file b3dhommatrix.cxx.

References isIdentity(), and mpImpl.

B3DHomMatrix & basegfx::B3DHomMatrix::operator= ( const B3DHomMatrix rMat  ) 

Definition at line 59 of file b3dhommatrix.cxx.

References mpImpl.

bool basegfx::B3DHomMatrix::decompose ( B3DTuple rScale,
B3DTuple rTranslate,
B3DTuple rRotate,
B3DTuple rShear 
) const


Member Data Documentation


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

Generated on Thu Apr 29 13:57:17 2010 for ooo-build Module basegfx (ooo/OOO320_m15) by  doxygen 1.5.6