NTRT Simulator
Version: Master
|
#include <tgBulletRenderer.h>
Public Member Functions | |
tgBulletRenderer (const tgWorld &world) | |
virtual void | render (const tgSpringCableActuator &mSCA) const |
virtual void | render (const tgCompressionSpringActuator &compressionSpringActuator) const |
virtual void | render (const tgRod &rod) const |
virtual void | render (const tgModel &model) const |
A concrete tgRenderer for Bullet Physics.
Definition at line 42 of file tgBulletRenderer.h.
tgBulletRenderer::tgBulletRenderer | ( | const tgWorld & | world | ) |
The only constructor.
[in,out] | world | a reference to the tgWorld being rendered |
Definition at line 51 of file tgBulletRenderer.cpp.
|
virtual |
Render a tgSpringCableActuator.
[in] | linearString | a const reference to a tgSpringCableActuator to render |
Reimplemented from tgModelVisitor.
Definition at line 63 of file tgBulletRenderer.cpp.
|
virtual |
Render a tgCompressionSpringActuator.
[in] | compressionSpringActuator | a const reference to a tgCompressionSpringActuator to render |
Render a tgCompressionSpringActuator Just like a spring-cable actuator.
Reimplemented from tgModelVisitor.
Definition at line 104 of file tgBulletRenderer.cpp.
|
virtual |
Render a tgRod.
[in] | rod | a const reference to a tgRod to render |
Reimplemented from tgModelVisitor.
Definition at line 55 of file tgBulletRenderer.cpp.
|
virtual |
Render a tgModel.
[in] | model | a const reference to a tgModel to render. |
Render the markers of the model using spheres.
Reimplemented from tgModelVisitor.
Definition at line 179 of file tgBulletRenderer.cpp.