AvogadroLibs  1.96.0
Public Member Functions | List of all members
VRMLVisitor Class Reference

Visitor that visits scene elements and creates a VRML input file. More...

#include <avogadro/rendering/vrmlvisitor.h>

Inheritance diagram for VRMLVisitor:
Visitor

Public Member Functions

 VRMLVisitor (const Camera &camera)
 
void begin ()
 
std::string end ()
 
void visit (Node &) override
 
void visit (GroupNode &) override
 
void visit (GeometryNode &) override
 
void visit (Drawable &) override
 
void visit (SphereGeometry &) override
 
void visit (AmbientOcclusionSphereGeometry &) override
 
void visit (CurveGeometry &) override
 
void visit (CylinderGeometry &) override
 
void visit (MeshGeometry &) override
 
void visit (TextLabel2D &) override
 
void visit (TextLabel3D &) override
 
void visit (LineStripGeometry &geometry) 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 as VRML.

Member Function Documentation

◆ visit()

void visit ( Node )
overridevirtual

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: