#include <ardev.h>
Inheritance diagram for OutputObject:

Public Member Functions | |
| OutputObject () | |
| Default Constructor. | |
| virtual void | RenderFrame (RenderList &List, const ARImage &Frame, const ARCamera &cam, const ARPosition &pos, unsigned int Tick, double *Distance=NULL) |
| Render a single Frame. | |
| virtual const ARImage & | GetFrame () |
| virtual void | ShowFrame () |
| Display the current frame. | |
| void | Add (const RenderPair &render) |
| Adds the given RenderPair to the list. | |
| void | Remove (const RenderPair &render) |
| Remove the given RenderPair. | |
| void | AddPost (FrameProcessObject *out) |
| Add the given Post Process Item. | |
| void | RemovePost (FrameProcessObject *out) |
| Remove the given Post Process Item. | |
| void | AddPre (FrameProcessObject *out) |
| Add the given PreProcessObject. | |
| void | RemovePre (FrameProcessObject *out) |
| Remove the given PreProcessObject. | |
Public Attributes | |
| int | width |
| Width of the output. | |
| int | height |
| Height of the output. | |
| unsigned int | TexWidth |
| Backdrop texture width (size of allocated tecture, ie mod2 rounded). | |
| unsigned int | TexHeight |
| Backdrop texture height (size of allocated tecture, ie mod2 rounded). | |
| unsigned int | Backdrop |
| Backdrop Texture Identifier. | |
| const char * | Name |
| The name of the ARDev Object, used for calls to stop, add and remove. | |
| bool | Alive |
| If this is true then the thread should clean up and terminate ASAP. | |
| bool | Paused |
| If this is true then the thread should clean up and terminate ASAP. | |
Protected Member Functions | |
| void * | Main () |
| main thread loop | |
| void | DrawText (GLint x, GLint y, char *s, GLfloat r, GLfloat g, GLfloat b) |
| Utility function to draw text on the display. | |
Protected Attributes | |
| RenderList | RenderObjects |
| The list of active RenderObjects, accessable via Add and Remove. | |
| PostProcessList | PostProcessObjects |
| The list of active PostProcessObjects, accessable via Add and Remove. | |
| PreProcessList | PreProcessObjects |
| The list of active PreProcessObjects, accessable via Add and Remove. | |
| CaptureObject * | Capture |
| The associated Capture Object. | |
| CameraObject * | Camera |
| The associated Camera Object. | |
| PositionObject * | CameraPosition |
| The position object that returns the position of the camera. | |
| StopWatch | TimerFPS |
| Benchmarking. | |
| StopWatch | Timer |
| double | FrameRate |
| double | OtherTime |
| double | CaptureTime |
| double | TextureTime |
| double | PreprocessTime |
| double | RenderTime |
| double | PostprocessTime |
| const ARImage & OutputObject::GetFrame | ( | ) | [virtual] |
Grab the current frame from the frame buffer and return it as a ARImage
1.5.1