RayZaler 0.1
The free opto-mechanical simulation framework
RZ::ModelRenderer Class Reference
Inheritance diagram for RZ::ModelRenderer:
Collaboration diagram for RZ::ModelRenderer:

Public Member Functions

unsigned width () const
 
unsigned height () const
 
void render ()
 
void zoomToContents ()
 
void zoomToElement (Element const *)
 
void setHighlightedBoundingBox (Element *)
 
void setShowElements (bool)
 
void setShowApertures (bool)
 
bool savePNG (const char *path)
 
const uint32_t * pixels () const
 
- Public Member Functions inherited from RZ::GLRenderEngine
GLCurrentViewview ()
 
GLFrameGridaddGrid (std::string const &, ReferenceFrame const *frame)
 
void setModel (GLModel *)
 
GLModelmodel () const
 
void setAxesZoom (Real)
 
void zoom (Real delta)
 
void zoomToBox (ReferenceFrame const &ref, Vec3 const &p1, Vec3 const &p2)
 
void incAzEl (Real deltaAz, Real deltaEl)
 
void roll (Real delta)
 
void move (Real deltaX, Real deltaY)
 
void setZoom (Real delta)
 
void setCenter (Real, Real)
 
void setRotation (Real, Real, Real, Real)
 
void setView (GLCurrentView const *)
 

Static Public Member Functions

static ModelRendererfromOMModel (OMModel *, unsigned, unsigned, bool showElements=true, bool showApertures=false)
 

Additional Inherited Members

- Protected Member Functions inherited from RZ::GLRenderEngine
void setOrientationAndCenter (RZ::Matrix3 const &R, RZ::Vec3 const &O)
 
void drawCornerAxes ()
 
void drawGrids ()
 

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