PPL Logo

CkMatrix3d Class Reference

A 4x4 matrix. More...

#include <ckviewpoint.h>

Collaboration diagram for CkMatrix3d:

Collaboration graph
[legend]

Public Member Functions

doubleoperator() (int r, int c)
const doubleoperator() (int r, int c) const
void scaleRow (int r, double s)
void addRow (int rSrc, double s, int rDest)
void pup (PUP::er &p)

Private Attributes

double data [4][4]

Detailed Description

A 4x4 matrix.

This is only used for projection, below, so it's a trivial class.

Definition at line 50 of file ckviewpoint.h.


Member Function Documentation

double& CkMatrix3d::operator() ( int  r,
int  c 
) [inline]

Definition at line 53 of file ckviewpoint.h.

References data.

const double& CkMatrix3d::operator() ( int  r,
int  c 
) const [inline]

Definition at line 54 of file ckviewpoint.h.

References data.

void CkMatrix3d::scaleRow ( int  r,
double  s 
) [inline]

Definition at line 57 of file ckviewpoint.h.

References c, and data.

void CkMatrix3d::addRow ( int  rSrc,
double  s,
int  rDest 
) [inline]

Definition at line 61 of file ckviewpoint.h.

References c, and data.

void CkMatrix3d::pup ( PUP::er p  )  [inline]

Definition at line 66 of file ckviewpoint.h.

References data, and p.


Field Documentation

double CkMatrix3d::data[4][4] [private]

Definition at line 51 of file ckviewpoint.h.

Referenced by addRow(), operator()(), pup(), and scaleRow().


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

Generated on Thu May 24 07:57:24 2012 for Charm++ by  doxygen 1.5.5