#include <TerminalObject.h>
Inheritance diagram for TerminalObject:
Public Member Functions | |
TerminalObject (RawObject *raw_obj) | |
~TerminalObject () | |
void | Draw (int time, Camera *camera, Camera *monitor, bool show_bounding_volume, int culling_mode, bool level_of_detail) |
void | PrintToConsole () |
Protected Member Functions | |
void | ComputeBoundingRadius () |
void | ComputeBoundingBox () |
Private Member Functions | |
TerminalObject () |
A TerminalObject is very similar to a leaf node in a scene graph. The TerminalObject has to be associated with a RawObject during construction. This object will then be drawn whenever the TerminalObject shall be visualized. And as the name suggests, a TerminalObject will never have any child objects.
Definition at line 21 of file TerminalObject.h.
|
Constructor: Brings the object into a consistent state and associates a RawObject with it.
Definition at line 3 of file TerminalObject.cpp. |
|
Destructor. Definition at line 8 of file TerminalObject.cpp. |
|
Hide the default constructor. |
|
Implementation of the bounding box routine. The bounding box is determined by the RawObject that is associated with this terminal object. Reimplemented from GraphicalObject. Definition at line 48 of file TerminalObject.cpp. |
|
Implementation of the bounding sphere routine. The bounding sphere is determined by the RawObject that is associated with this terminal object. Reimplemented from GraphicalObject. Definition at line 43 of file TerminalObject.cpp. |
|
Implementation of the Draw routine. Draws the RawObject that is associated with this terminal object.
Reimplemented from GraphicalObject. Definition at line 13 of file TerminalObject.cpp. |
|
Prints information about the object to the console. Reimplemented from GraphicalObject. Definition at line 53 of file TerminalObject.cpp. |