KrisLibrary  1.0.0
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
Camera::Camera Struct Reference
Inheritance diagram for Camera::Camera:
Camera::Viewport

Public Types

enum  Orientation { XYZ, XYnZ, XZY, XZnY }
 

Public Member Functions

const Real * xDir () const
 
const Real * yDir () const
 
const Real * zDir () const
 
const Vector3position () const
 
void setFree (const Vector3 &pos, const Vector3 &rot, Orientation o=XYZ)
 
void setTarget (const Vector3 &pos, const Vector3 &tgt, const Vector3 &up)
 
void setOrbit (const Vector3 &rot, const Vector3 &target, Real dist, Orientation o=XYZ)
 
void setCameraMatrix (const Matrix4 &)
 
void getCameraMatrix (Matrix4 &) const
 
void getFree (Vector3 &pos, Vector3 &rot, Orientation o=XYZ) const
 
void getTarget (Vector3 &pos, Vector3 &tgt, Vector3 &up, Real tgtdist=One) const
 
void getOrbit (Vector3 &rot, Vector3 &target, Real tgtdist=One, Orientation o=XYZ) const
 

Static Public Member Functions

static void GetOrientationMatrix (Orientation o, Matrix3 &mat)
 
static void Orient (Orientation o, Matrix3 &mat)
 
static void Unorient (Orientation o, Matrix3 &mat)
 

Public Attributes

RigidTransform xform
 

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