AvogadroLibs
1.90.0
|
Visitor that determines the geometry of the scene. More...
#include <avogadro/rendering/geometryvisitor.h>
Public Member Functions | |
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 &) AVO_OVERRIDE |
void | clear () |
Vector3f | center () |
float | radius () |
This visitor will attempt to determine the geometry of the scene, most notably the center and radius of the bounding sphere.
|
virtual |
The overloaded visit functions, the base versions of which do nothing.
Reimplemented from Visitor.
void clear | ( | ) |
Clear the state of the visitor.
Vector3f center | ( | ) |
Get the positiion of the center of the scene.
float radius | ( | ) |
Get the radius of the scene.