AvogadroLibs  1.90.0
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Pages
Public Member Functions | List of all members
GLRenderVisitor Class Reference

Visitor that takes care of rendering the scene. More...

#include <avogadro/rendering/glrendervisitor.h>

Inheritance diagram for GLRenderVisitor:
Visitor

Public Member Functions

 GLRenderVisitor (const Camera &camera=Camera(), const TextRenderStrategy *trs=NULL)
 
void visit (Node &) AVO_OVERRIDE
 
void visit (GroupNode &) AVO_OVERRIDE
 
void visit (GeometryNode &) AVO_OVERRIDE
 
void visit (Drawable &) AVO_OVERRIDE
 
void visit (SphereGeometry &) AVO_OVERRIDE
 
void visit (AmbientOcclusionSphereGeometry &) AVO_OVERRIDE
 
void visit (CylinderGeometry &) AVO_OVERRIDE
 
void visit (MeshGeometry &) AVO_OVERRIDE
 
void visit (TextLabel2D &geometry) AVO_OVERRIDE
 
void visit (TextLabel3D &geometry) AVO_OVERRIDE
 
void visit (LineStripGeometry &geometry) AVO_OVERRIDE
 
void setCamera (const Camera &camera_)
 
Camera camera () const
 
void setRenderPass (RenderPass pass)
 
RenderPass renderPass () const
 
void setTextRenderStrategy (TextRenderStrategy *trs)
 
const TextRenderStrategytextRenderStrategy () const
 

Detailed Description

Author
Marcus D. Hanwell

This visitor will render elements in the scene.

Member Function Documentation

void setRenderPass ( RenderPass  pass)

The current stage of a multipass rendering.

See Also
Rendering::RenderPass
RenderPass renderPass ( ) const

The current stage of a multipass rendering.

See Also
Rendering::RenderPass
void visit ( Node )
virtual

The overloaded visit functions, the base versions of which do nothing.

Reimplemented from Visitor.

void setTextRenderStrategy ( TextRenderStrategy trs)

A TextRenderStrategy implementation used to render text for annotations. If NULL, no text will be produced.

const TextRenderStrategy* textRenderStrategy ( ) const

A TextRenderStrategy implementation used to render text for annotations. If NULL, no text will be produced.


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