GlutGroup Struct Reference

Group of objects which provides a transform hierarchy. More...

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

Inheritance diagram for GlutGroup:

## Public Member Functions

| GlutGroup ()
| Constructor. The group is initialized with no children. More...
virtual void | draw ()
| Draws the group with Glut and iterates through its children to draw them. More...
Public Member Functions inherited from GlutRenderObject
| GlutRenderObject ()
| Constructor initializes pose as identity (no rotation or translation) More...
virtual | ~GlutRenderObject ()

## Public Attributes

std::vector< std::shared_ptr< GlutRenderObject > > | children
| Children of this group. More...
Public Attributes inherited from GlutRenderObject
SurgSim::Math::RigidTransform3d | pose
| Pose (rotation and translation) of the object. More...

## Detailed Description

Group of objects which provides a transform hierarchy.

## Constructor & Destructor Documentation

## GlutGroup()

GlutGroup::GlutGroup | ( |  | ) |

inline

Constructor. The group is initialized with no children.

## Member Function Documentation

## draw()

void GlutGroup::draw | ( |  | ) |

virtual

Draws the group with Glut and iterates through its children to draw them.

Implements GlutRenderObject.

## Member Data Documentation

## children

std::vector< std::shared_ptr<GlutRenderObject> > GlutGroup::children

Children of this group.

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

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