7 #ifndef __draw_ViewI_h__ 8 #define __draw_ViewI_h__ 39 virtual void setViewport(
const Box2i& a_rect) =0;
40 virtual Box2i viewport(
void)
const =0;
49 virtual void use(Projection a_projection) =0;
52 virtual void setProjection(Projection a_projection) =0;
54 virtual Projection projection(
void)
const =0;
63 Projection a_projection=e_current)
const =0;
72 Projection a_projection= e_current)
const =0;
78 Real a_radius)
const =0;
85 Real a_pixels)
const =0;
94 virtual void screenInfo(Real &a_screenScale,
102 virtual void setScissor(
const Box2i* a_pBox) =0;
107 virtual const Box2i* scissor(
void)
const =0;
A rendering region.
Definition: ViewI.h:20
void unproject(Vector< 4, T > &a_r, const Matrix< 4, 4, T > &a_m, const Vector< 4, T > &a_v)
reverse project vector through matrix. reverses w division
Definition: Matrix.h:1197
kernel
Definition: namespace.dox:3
void project(Vector< 4, T > &a_r, const Matrix< 4, 4, T > &a_m, const Vector< 4, T > &a_v)
project vector through matrix. divides by transformed w
Definition: Matrix.h:1182
Base for all interfacable components.
Definition: Component.h:20
Intrusive Smart Pointer.
Definition: src/core/ptr.h:53
Per-class participation non-RTTI fallback dynamic casting mechanism.
Definition: Castable.h:192