GlutRenderObject Struct Referenceabstract

Abstract definition of an object that can render itself with Glut. More...

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

Inheritance diagram for GlutRenderObject:

## Public Member Functions

| GlutRenderObject ()
| Constructor initializes pose as identity (no rotation or translation) More...
virtual | ~GlutRenderObject ()
virtual void | draw ()=0
| Pure virtual draw method for subclasses to define how to draw themselves with Glut. More...

## Public Attributes

SurgSim::Math::RigidTransform3d | pose
| Pose (rotation and translation) of the object. More...

## Detailed Description

Abstract definition of an object that can render itself with Glut.

## Constructor & Destructor Documentation

## GlutRenderObject()

GlutRenderObject::GlutRenderObject | ( |  | ) |

inline

Constructor initializes pose as identity (no rotation or translation)

## ~GlutRenderObject()

GlutRenderObject::~GlutRenderObject | ( |  | ) |

virtual

## Member Function Documentation

## draw()

virtual void GlutRenderObject::draw | ( |  | ) |

pure virtual

Pure virtual draw method for subclasses to define how to draw themselves with Glut.

Implemented in GlutGroup, GlutImage, GlutSphere, GlutAxes, and GlutSquare.

## Member Data Documentation

## pose

SurgSim::Math::RigidTransform3d GlutRenderObject::pose

Pose (rotation and translation) of the object.

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

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