All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Public Attributes | List of all members
GlutGroup Struct Reference

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

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

Inheritance diagram for GlutGroup:
Inheritance graph
[legend]
Collaboration diagram for GlutGroup:
Collaboration graph
[legend]

Public Member Functions

 GlutGroup ()
 Constructor. The group is initialized with no children. More...
 
virtual void draw () const
 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 ( )
inline

Constructor. The group is initialized with no children.

Member Function Documentation

void GlutGroup::draw ( ) const
virtual

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

Implements GlutRenderObject.

Member Data Documentation

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

Children of this group.


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