|
Sphere with center at local origin. More...
#include <SurgSim/Testing/VisualTestCommon/GlutRenderer.h>
Public Member Functions | |
| GlutSphere (double radius, const SurgSim::Math::Vector3d &color) | |
| Constructor. More... | |
| virtual void | draw () |
| Draws the sphere with Glut. More... | |
Public Member Functions inherited from GlutRenderObject | |
| GlutRenderObject () | |
| Constructor initializes pose as identity (no rotation or translation) More... | |
| virtual | ~GlutRenderObject () |
Public Attributes | |
| double | radius |
| Radius of the sphere, in meters. More... | |
| SurgSim::Math::Vector3d | color |
| Color of the sphere. More... | |
Public Attributes inherited from GlutRenderObject | |
| SurgSim::Math::RigidTransform3d | pose |
| Pose (rotation and translation) of the object. More... | |
Private Attributes | |
| GLUquadric * | quadratic |
| GLU quadric object for the quadric operations required to build the sphere. More... | |
Sphere with center at local origin.
|
inline |
Constructor.
| radius | Radius of the sphere, in meters. |
| color | Color of the sphere. |
|
virtual |
Draws the sphere with Glut.
Implements GlutRenderObject.
| SurgSim::Math::Vector3d GlutSphere::color |
Color of the sphere.
|
private |
GLU quadric object for the quadric operations required to build the sphere.
| double GlutSphere::radius |
Radius of the sphere, in meters.
1.8.13