NTRT Simulator  Version: Master
 All Classes Namespaces Files Functions Variables Typedefs Friends Pages
tgModelVisitor Class Reference

#include <tgModelVisitor.h>

Inherited by tgBulletRenderer, tgDataLogger, and tscDataLogger.

Public Member Functions

virtual ~tgModelVisitor ()
 
virtual void render (const tgRod &rod) const
 
virtual void render (const tgSpringCableActuator &linearString) const
 
virtual void render (const tgCompressionSpringActuator &compressionSpringActuator) const
 
virtual void render (const tgModel &m) const
 

Detailed Description

Interface for ModelVisitor.

Definition at line 38 of file tgModelVisitor.h.

Constructor & Destructor Documentation

virtual tgModelVisitor::~tgModelVisitor ( )
inlinevirtual

Virtual base classes must have a virtual destructor.

Definition at line 43 of file tgModelVisitor.h.

Member Function Documentation

virtual void tgModelVisitor::render ( const tgRod rod) const
inlinevirtual

Render a tgRod.

Parameters
[in]roda const reference to a tgRod to render

Reimplemented in tgBulletRenderer, tgDataLogger, and tscDataLogger.

Definition at line 49 of file tgModelVisitor.h.

virtual void tgModelVisitor::render ( const tgSpringCableActuator linearString) const
inlinevirtual

Render a tgSpringCableActuator.

Parameters
[in]linearStringa const reference to a tgSpringCableActuator to render

Reimplemented in tgDataLogger, tgBulletRenderer, and tscDataLogger.

Definition at line 55 of file tgModelVisitor.h.

virtual void tgModelVisitor::render ( const tgCompressionSpringActuator compressionSpringActuator) const
inlinevirtual

Render a tgCompressionSpringActuator.

Parameters
[in]compressionSpringActuatora const reference to a tgCompressionSpringActuator to render

Reimplemented in tgBulletRenderer.

Definition at line 61 of file tgModelVisitor.h.

virtual void tgModelVisitor::render ( const tgModel m) const
inlinevirtual

Render a tgModel.

Parameters
[in]modela const reference to a tgModel to render.

Reimplemented in tgBulletRenderer, tgDataLogger, and tscDataLogger.

Definition at line 67 of file tgModelVisitor.h.


The documentation for this class was generated from the following file: