pgScr Class Reference
[pgDraw -- Graphics module]

TODO. More...

#include <pg_scr.h>

List of all members.

Public Member Functions

 pgDefineException (ExceptionInvalidArgument)
 pgDefineException (ExceptionInvalidCall)
pgScrgetPrevN () const
pgScrgetNextN () const
void moveFirst ()
void moveLast ()
void moveBefore (pgID id)
void moveAfter (pgID id)
pgDrawgetFirstDrawN ()
pgDrawgetLastDrawN ()
pgID getID () const
s16 getLeftInFramebuffer () const
s16 getTopInFramebuffer () const
s16 getWidthInFramebuffer () const
s16 getHeightInFramebuffer () const
void setAreaInFramebuffer (s16 left, s16 top, u16 width, u16 height)
r32 getViewWidth () const
r32 getViewHeight () const
void setViewSize (r32 width, r32 height)
bool isActive () const
void setActive (bool is_active)
bool isClearColor () const
bool isClearDepth () const
void setClearMode (bool is_clear_color, bool is_clear_depth)
pgCol getClearColor () const
void setClearColor (pgCol col)
bool isPerspective () const
void setPerspective (bool is_perspective)
r32 getFocusDist () const
void setFocusDist (r32 focus_dist)
r32 getNearClipDist () const
r32 getFarClipDist () const
void setClipDist (r32 near, r32 far)
pgMatview ()
bool hasScreenTexture () const
pgID getScreenTextureID () const
void attachScreenTexture (pgTex::TexFormat format)
void detachScreenTexture ()
void updateScreenTexture (bool is_frame_skip_reset)
pgID getGuestScreenID (u8 index) const
void setGuestScreenID (u8 index, pgID scr_id)
r32 screenXToFramebufferX (r32 x_in_screen) const
r32 screenYToFramebufferY (r32 y_in_screen) const
r32 framebufferXToScreenX (r32 x_in_framebuffer) const
r32 framebufferYToScreenY (r32 y_in_framebuffer) const
pgVec worldToScreen (const pgVec &pos_in_world)
pgVec worldToFramebuffer (const pgVec &pos_in_world)
pgVec screenToPlane (r32 x_in_screen, r32 y_in_screen, const pgMat &xy_plane) const
pgVec framebufferToPlane (r32 x_in_framebuffer, r32 y_in_framebuffer, const pgMat &xy_plane) const
bool isInScreen (const pgVec &pos_in_world)
bool canBoundClip (const pgMat &world, const pgVec &bound_max, const pgVec &bound_min)
pgVec calcVisibleVector (const pgVec &pos1, const pgVec &pos2)

Static Public Attributes

static const u32 DEFAULT_FOCUS_DIST = 1000
static const u32 DEFAULT_NEAR_CLIP_DIST = 10
static const u32 DEFAULT_FAR_CLIP_DIST = 100000
static const u32 GUEST_SCREEN_NUM = 4

Friends

class pgDraw
class pgDrawMgr


Detailed Description

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

Generated on Sat Aug 15 11:24:38 2009 for Pogolyn by  doxygen 1.5.8