RayZaler 0.1
The free opto-mechanical simulation framework
RZ::GLCurrentView Struct Reference
Collaboration diagram for RZ::GLCurrentView:

Public Member Functions

void zoom (Real delta)
 
void incAzEl (Real deltaAz, Real deltaEl)
 
void roll (Real delta)
 
void move (Real deltaX, Real deltaY)
 
void setScreenGeom (Real width, Real height)
 
void setZoom (Real delta)
 
void zoomToBox (ReferenceFrame const &ref, Vec3 const &p1, Vec3 const &p2)
 
void setCenter (Real, Real)
 
void setRotation (Real, Real, Real, Real)
 
void setRotation (Vec3 const &, Real)
 
void setRotation (Matrix3 const &)
 
void setScreenRotation (IncrementalRotation const &)
 
void rotateRelative (Vec3 const &, Real)
 
void configureViewPort (unsigned int width, unsigned int height) const
 
void configureOrientation (bool translate=true) const
 
void screenToWorld (Real &wX, Real &wY, Real sX, Real sY) const
 
void worldToScreen (Real &sX, Real &sY, Real wX, Real wY) const
 
bool screenToFrame (Vec3 &, ReferenceFrame const &, Real sX, Real sY) const
 
bool worldToFrame (Vec3 &, ReferenceFrame const &, Real wX, Real wY) const
 
void frameToWorld (Real &wX, Real &wY, ReferenceFrame const &, Vec3 const &) const
 
void frameToScreen (Real &sX, Real &sY, ReferenceFrame const &, Vec3 const &) const
 

Public Attributes

Real zoomLevel = 1
 
Real center [2] = {0, 0}
 
Real width
 
Real height
 
IncrementalRotation rotation
 
IncrementalRotation screenRotation
 

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