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

Visitor that visits scene elements and creates a POV-Ray input file. More...

#include <avogadro/rendering/povrayvisitor.h>

Inheritance diagram for POVRayVisitor:
Visitor

Public Member Functions

 POVRayVisitor (const Camera &camera)
 
void begin ()
 
void end ()
 
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 &) AVO_OVERRIDE
 
void visit (TextLabel3D &) AVO_OVERRIDE
 
void visit (LineStripGeometry &geometry) AVO_OVERRIDE
 
void setCamera (const Camera &c)
 
Camera camera () const
 
void setBackgroundColor (const Vector3ub &c)
 
void setAmbientColor (const Vector3ub &c)
 
void setAspectRatio (float ratio)
 

Detailed Description

This visitor will render elements in the scene to a text file that contains elements that can be rendered by POV-Ray.

Member Function Documentation

void visit ( Node )
virtual

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

Reimplemented from Visitor.


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