#include <Projector.h>
List of all members.
Public Member Functions |
| Projector (Window *win, Camera *cam) |
virtual | ~Projector () |
virtual void | UseWindow (Window *win) |
virtual void | UseCamera (Camera *cam) |
virtual void | SetDepthScale (float scale) |
virtual double | GetDepthScale () const |
virtual void | SetFieldOfView (double fov) |
virtual double | GetFieldOfView () const |
virtual int | SetInfinite (int i) |
virtual void | StartFrame () |
Point | Pos () const |
Point | vrt () |
Point | vup () |
Point | vpn () |
const Matrix & | Orientation () const |
double | XAngle () const |
double | YAngle () const |
bool | IsOrthogonal () const |
void | SetOrthogonal (bool o) |
virtual void | Transform (Vec3 &vec) const |
virtual void | Transform (Point &point) const |
virtual void | Project (Vec3 &vec, bool clamp=true) const |
virtual void | Project (Point &point, bool clamp=true) const |
virtual void | ProjectRect (Point &origin, double &w, double &h) const |
virtual float | ProjectRadius (const Vec3 &vec, float radius) const |
virtual void | Unproject (Point &point) const |
int | IsVisible (const Vec3 &v, float radius) const |
int | IsBoxVisible (const Point *p) const |
float | ApparentRadius (const Vec3 &v, float radius) const |
virtual void | SetWorldSpace () |
virtual void | SetViewSpace () |
Plane * | GetCurrentClipPlanes () |
void | SetUpFrustum () |
void | ViewToWorld (Point &pin, Point &pout) |
void | ViewToWorld (Vec3 &vin, Vec3 &vout) |
void | SetWorldspaceClipPlane (Vec3 &normal, Plane &plane) |
Detailed Description
Definition at line 25 of file Projector.h.
Member Enumeration Documentation
Constructor & Destructor Documentation
Projector::~Projector |
( |
| ) |
|
|
virtual |
Member Function Documentation
float Projector::ApparentRadius |
( |
const Vec3 & |
v, |
|
|
float |
radius |
|
) |
| const |
Plane* Projector::GetCurrentClipPlanes |
( |
| ) |
|
|
inline |
double Projector::GetDepthScale |
( |
| ) |
const |
|
virtual |
double Projector::GetFieldOfView |
( |
| ) |
const |
|
virtual |
int Projector::IsBoxVisible |
( |
const Point * |
p | ) |
const |
bool Projector::IsOrthogonal |
( |
| ) |
const |
|
inline |
int Projector::IsVisible |
( |
const Vec3 & |
v, |
|
|
float |
radius |
|
) |
| const |
const Matrix& Projector::Orientation |
( |
| ) |
const |
|
inline |
Point Projector::Pos |
( |
| ) |
const |
|
inline |
void Projector::Project |
( |
Vec3 & |
vec, |
|
|
bool |
clamp = true |
|
) |
| const |
|
virtual |
void Projector::Project |
( |
Point & |
point, |
|
|
bool |
clamp = true |
|
) |
| const |
|
virtual |
float Projector::ProjectRadius |
( |
const Vec3 & |
vec, |
|
|
float |
radius |
|
) |
| const |
|
virtual |
void Projector::ProjectRect |
( |
Point & |
origin, |
|
|
double & |
w, |
|
|
double & |
h |
|
) |
| const |
|
virtual |
void Projector::SetDepthScale |
( |
float |
scale | ) |
|
|
virtual |
void Projector::SetFieldOfView |
( |
double |
fov | ) |
|
|
virtual |
int Projector::SetInfinite |
( |
int |
i | ) |
|
|
virtual |
void Projector::SetOrthogonal |
( |
bool |
o | ) |
|
|
inline |
void Projector::SetUpFrustum |
( |
| ) |
|
virtual void Projector::SetViewSpace |
( |
| ) |
|
|
inlinevirtual |
virtual void Projector::SetWorldSpace |
( |
| ) |
|
|
inlinevirtual |
void Projector::SetWorldspaceClipPlane |
( |
Vec3 & |
normal, |
|
|
Plane & |
plane |
|
) |
| |
void Projector::StartFrame |
( |
| ) |
|
|
virtual |
void Projector::Transform |
( |
Vec3 & |
vec | ) |
const |
|
virtual |
void Projector::Transform |
( |
Point & |
point | ) |
const |
|
virtual |
void Projector::Unproject |
( |
Point & |
point | ) |
const |
|
virtual |
void Projector::UseCamera |
( |
Camera * |
cam | ) |
|
|
virtual |
void Projector::UseWindow |
( |
Window * |
win | ) |
|
|
virtual |
void Projector::ViewToWorld |
( |
Point & |
pin, |
|
|
Point & |
pout |
|
) |
| |
void Projector::ViewToWorld |
( |
Vec3 & |
vin, |
|
|
Vec3 & |
vout |
|
) |
| |
double Projector::XAngle |
( |
| ) |
const |
|
inline |
double Projector::YAngle |
( |
| ) |
const |
|
inline |
Member Data Documentation
float Projector::depth_scale |
|
protected |
double Projector::field_of_view |
|
protected |
Plane* Projector::frustum_planes |
|
protected |
double Projector::maxscale |
|
protected |
bool Projector::orthogonal |
|
protected |
double Projector::xcenter |
|
protected |
double Projector::xscreenscale |
|
protected |
double Projector::ycenter |
|
protected |
double Projector::yscreenscale |
|
protected |
The documentation for this class was generated from the following files: