Clarisse 5.0 SP8 SDK  5.0.5.8.0
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Member Functions | List of all members
CanvasView Class Reference
Inheritance diagram for CanvasView:

Public Member Functions

 CanvasView (GLCanvas *canvas=nullptr)
 
void update ()
 
const GMathMatrix4x4f & get_xform () const
 
const GMathMatrix4x4f & get_xform_sans_projection () const
 
const GMathMatrix4x4f & get_xform_sans_projection_inverse () const
 
void set_canvas (GLCanvas *canvas)
 
void set_depth_range (float z)
 
void set_zoom (float sc)
 
float get_zoom () const
 
void set_translation (float tx, float ty)
 
void set_viewport (int w, int h, int border_x, int border_y)
 
void get_viewport (int &vp_w, int &vp_h) const
 
float get_depth_range () const
 

Detailed Description

Class to control the view (pan, zoom, etc.) on a GLCanvas.