#include <MyAxisCross.h>
Inheritance diagram for MyAxisCross:
Public Methods | |
virtual void | SetLineWidth (float lineWidth) |
Sets line width used for drawing object. | |
virtual void | SetRgba (GLubyte *rgba) |
Sets color and opacity of this object. | |
float | GetZLineWidth () |
float | GetYLineWidth () |
Returns line width of y-axis. | |
float | GetXLineWidth () |
Returns line width of x-axis. | |
void | SetZLineWidth (float lineWidth) |
Sets line width of z-axis. | |
void | SetYLineWidth (float lineWidth) |
Sets line width of y-axis. | |
void | SetXLineWidth (float lineWidth) |
Sets line width of x-axis. | |
virtual void | Init (MyObject *obj) |
Initialisation of this object with another object. | |
void | SetRange (MyRectangle *rect) |
Sets maximal and minimal point according to rect-boundaries. | |
void | SetRange (MyCube *cube) |
Sets maximal and minimal point according to cube-boundaries. | |
float | GetOffs () |
Returns offs(=length of axis standing out of maximal/minimal point. | |
void | SetOffs (float offs) |
Sets offs(=length of axis standing out of maximal/minimal point. | |
CPoint3D | GetMaxPoint () |
Returns point with maximal xyz - coordinates. | |
CPoint3D | GetMinPoint () |
Returns point with minimal xyz - coordinates. | |
void | SetMaxPoint (CPoint3D maxPoint) |
Sets point with maximal xyz - coordinates. | |
void | SetMinPoint (CPoint3D minPoint) |
Sets point with minimal xyz - coordinates. | |
void | GetXAxisRgba (GLubyte *rgba) |
Returns rgba-value of x-axis. | |
void | GetYAxisRgba (GLubyte *rgba) |
Returns rgba-value of y-axis. | |
void | GetZAxisRgba (GLubyte *rgba) |
Returns rgba-value of z-axis. | |
void | SetYAxisRgba (GLubyte *rgba) |
Sets rgba-value of y-axis. | |
void | SetXAxisRgba (GLubyte *rgba) |
Sets rgba-value of z-axis. | |
void | SetZAxisRgba (GLubyte *rgba) |
Sets rgba-value of z-axis. | |
virtual void | Draw () |
Draw function for drawing this object in window using OpenGL. | |
virtual bool | IsInside (CPoint3D position) |
Test if pos is inside or outside object. | |
MyAxisCross (CPoint3D position, CPoint3D minPoint, CPoint3D maxPoint, float xLineWidth, float yLineWidth, float zLineWidth, float offs, GLubyte *xAxisRgba, GLubyte *yAxisRgba, GLubyte *zAxisRgba) | |
MyAxisCross () | |
virtual | ~MyAxisCross () |
Protected Attributes | |
GLubyte | m_XAxisRgba [4] |
GLubyte | m_YAxisRgba [4] |
GLubyte | m_ZAxisRgba [4] |
float | m_XLineWidth |
float | m_YLineWidth |
float | m_ZLineWidth |
CPoint3D | m_MaxPoint |
CPoint3D | m_MinPoint |
float | m_Offs |