|
TrueReality
v0.1.1912
|
A ring array callback that is used to rotate the ring array (RingArray.h) More...
#include <RingArrayCallback.h>


Public Member Functions | |
| RingArrayCallback () | |
| Default constructor. More... | |
| ~RingArrayCallback () | |
| Destructor. More... | |
| virtual void | operator() (osg::Node *nodePtr, osg::NodeVisitor *nvPtr) override |
| Callback method called by the NodeVisitor when visiting a node. More... | |
Private Attributes | |
| bool | mFirstFrame = true |
| trUtil::Timer | mTimer |
A ring array callback that is used to rotate the ring array (RingArray.h)
Definition at line 45 of file RingArrayCallback.h.
| trCore::SceneObjects::RingArrayCallback::RingArrayCallback | ( | ) |
Default constructor.
Definition at line 31 of file RingArrayCallback.cpp.
| trCore::SceneObjects::RingArrayCallback::~RingArrayCallback | ( | ) |
Destructor.
Definition at line 36 of file RingArrayCallback.cpp.
|
overridevirtual |
Callback method called by the NodeVisitor when visiting a node.
| [in,out] | nodePtr | If non-null, the node. |
| [in,out] | nvPtr | If non-null, the nv. |
Definition at line 41 of file RingArrayCallback.cpp.
References trUtil::Timer::GetSecondsPerTick(), LOG_E, mFirstFrame, mTimer, trUtil::Timer::SetStartTick(), and trUtil::Timer::Tick().

|
private |
Definition at line 75 of file RingArrayCallback.h.
Referenced by operator()().
|
private |
Definition at line 76 of file RingArrayCallback.h.
Referenced by operator()().