GlutAxes Struct Reference

Axes with center at local origin, red axis along the local X-axis, green axis along the local Y-axis, and blue axis along the local Z-axis. More...

`#include <SurgSim/Testing/VisualTestCommon/GlutRenderer.h>`

Inheritance diagram for GlutAxes:

## Public Member Functions

| GlutAxes (double length, float width)
| Constructor. More...
virtual void | draw ()
| Draws the axes 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 | length
| Length of each axis, in meters. More...
float | width
| Width of each axis, in pixels. More...
Public Attributes inherited from GlutRenderObject
SurgSim::Math::RigidTransform3d | pose
| Pose (rotation and translation) of the object. More...

## Detailed Description

Axes with center at local origin, red axis along the local X-axis, green axis along the local Y-axis, and blue axis along the local Z-axis.

## Constructor & Destructor Documentation

## GlutAxes()

GlutAxes::GlutAxes | ( | double | length,
|  | float | width
| ) |  |

inline

Constructor.

Parameters

  length | Length of each axis, in meters.
  width | Width of each axis, in pixels.

## Member Function Documentation

## draw()

void GlutAxes::draw | ( |  | ) |

virtual

Draws the axes with Glut.

Implements GlutRenderObject.

## Member Data Documentation

## length

double GlutAxes::length

Length of each axis, in meters.

## width

float GlutAxes::width

Width of each axis, in pixels.

The documentation for this struct was generated from the following files:

- SurgSim/Testing/VisualTestCommon/GlutRenderer.h
- SurgSim/Testing/VisualTestCommon/GlutRenderer.cpp