Public Member Functions | Public Attributes | List of all members
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:
GlutAxes GlutGroup GlutSphere GlutSquare

Public Member Functions

 GlutRenderObject ()
 Constructor initializes pose as identity (no rotation or translation) More...
 
virtual ~GlutRenderObject ()
 
virtual void draw () const =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 ( )
inline

Constructor initializes pose as identity (no rotation or translation)

GlutRenderObject::~GlutRenderObject ( )
virtual

Member Function Documentation

virtual void GlutRenderObject::draw ( ) const
pure virtual

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

Implemented in GlutGroup, GlutSphere, GlutAxes, and GlutSquare.

Member Data Documentation

SurgSim::Math::RigidTransform3d GlutRenderObject::pose

Pose (rotation and translation) of the object.


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