#include <MyObject.h>
Inheritance diagram for MyObject:
Public Methods | |
virtual void | Init (MyObject *obj)=0 |
Initialisation of this object with another object. | |
float | GetLineWidth () |
Returns line width used for drawing object. | |
CPoint3D | GetPosition () |
Returns current position of this object. | |
void | GetRgba (GLubyte *rgba) |
Returns rgba-value of this object. | |
virtual void | SetLineWidth (float lineWidth) |
Sets line width used for drawing object. | |
virtual void | SetPosition (CPoint3D position) |
Sets current position of this object. | |
virtual void | SetRgba (GLubyte *rgba) |
Sets color and opacity of this object. | |
virtual void | Draw ()=0 |
Draw function for drawing this object in window using OpenGL. | |
virtual bool | IsInside (CPoint3D pos)=0 |
Test if pos is inside or outside object. | |
MyObject () | |
virtual | ~MyObject () |
Protected Attributes | |
CPoint3D | m_Position |
GLubyte | m_Rgba [4] |
float | m_LineWidth |