![]() |
Mali OpenGL ES SDK v2.4.4
Mali Developer Center
Use of the code snippets present within these pages are subject to these EULA terms
|
#include <MBox.h>
Public Types | |
| typedef MVector3< Type > | MVector3Type |
| typedef MVector3< Type > | MVector3Type |
| typedef MVector3< Type > | MVector3Type |
Public Member Functions | |
| MBox () | |
| MBox (const MVector3Type &aMin, const MVector3Type &aMax) | |
| ~MBox () | |
| MVector3Type & | getMin () |
| The method returns the front-top-left corner for read-write. | |
| MVector3Type & | getMax () |
| The method returns the back-bottom-right corner for read-write. | |
| const MVector3Type & | getMin () const |
| The method returns the front-top-left corner for read-only. | |
| const MVector3Type & | getMax () const |
| The method returns the back-bottom-right corner for read-only. | |
| Type | getWidth () const |
| The method returns a width of the box. | |
| void | set (const MVector3Type &aMin, const MVector3Type &aMax) |
| The method sets front-top-left and back-bottom-right corners of the box. | |
| void | translate (const MVector3Type &aVector) |
| The method translates the box with a given vector (aVector) | |
| MBox () | |
| MBox (const MVector3Type &aMin, const MVector3Type &aMax) | |
| ~MBox () | |
| MVector3Type & | getMin () |
| The method returns the front-top-left corner for read-write. | |
| MVector3Type & | getMax () |
| The method returns the back-bottom-right corner for read-write. | |
| const MVector3Type & | getMin () const |
| The method returns the front-top-left corner for read-only. | |
| const MVector3Type & | getMax () const |
| The method returns the back-bottom-right corner for read-only. | |
| Type | getWidth () const |
| The method returns a width of the box. | |
| void | set (const MVector3Type &aMin, const MVector3Type &aMax) |
| The method sets front-top-left and back-bottom-right corners of the box. | |
| void | translate (const MVector3Type &aVector) |
| The method translates the box with a given vector (aVector) | |
| MBox () | |
| MBox (const MVector3Type &aMin, const MVector3Type &aMax) | |
| ~MBox () | |
| MVector3Type & | getMin () |
| The method returns the front-top-left corner for read-write. | |
| MVector3Type & | getMax () |
| The method returns the back-bottom-right corner for read-write. | |
| const MVector3Type & | getMin () const |
| The method returns the front-top-left corner for read-only. | |
| const MVector3Type & | getMax () const |
| The method returns the back-bottom-right corner for read-only. | |
| Type | getWidth () const |
| The method returns a width of the box. | |
| void | set (const MVector3Type &aMin, const MVector3Type &aMax) |
| The method sets front-top-left and back-bottom-right corners of the box. | |
| void | translate (const MVector3Type &aVector) |
| The method translates the box with a given vector (aVector) | |
Private Attributes | |
| MVector3Type | theMin |
| MVector3Type | theMax |
The template represents a box, which can be used for representing a 3D cube bounding box.
| typedef MVector3<Type> MBox< Type >::MVector3Type |
| typedef MVector3<Type> MBox< Type >::MVector3Type |
| typedef MVector3<Type> MBox< Type >::MVector3Type |
|
inline |
|
inline |
|
inline |
|
inline |
The method returns the back-bottom-right corner for read-write.
|
inline |
The method returns the back-bottom-right corner for read-write.
|
inline |
The method returns the back-bottom-right corner for read-write.
|
inline |
The method returns the back-bottom-right corner for read-only.
|
inline |
The method returns the back-bottom-right corner for read-only.
|
inline |
The method returns the back-bottom-right corner for read-only.
|
inline |
The method returns the front-top-left corner for read-write.
|
inline |
The method returns the front-top-left corner for read-write.
|
inline |
The method returns the front-top-left corner for read-write.
|
inline |
The method returns the front-top-left corner for read-only.
|
inline |
The method returns the front-top-left corner for read-only.
|
inline |
The method returns the front-top-left corner for read-only.
|
inline |
The method returns a width of the box.
|
inline |
The method returns a width of the box.
|
inline |
The method returns a width of the box.
| void MBox< Type >::set | ( | const MVector3Type & | aMin, |
| const MVector3Type & | aMax | ||
| ) |
The method sets front-top-left and back-bottom-right corners of the box.
| void MBox< Type >::set | ( | const MVector3Type & | aMin, |
| const MVector3Type & | aMax | ||
| ) |
The method sets front-top-left and back-bottom-right corners of the box.
| void MBox< Type >::set | ( | const MVector3Type & | aMin, |
| const MVector3Type & | aMax | ||
| ) |
The method sets front-top-left and back-bottom-right corners of the box.
| void MBox< Type >::translate | ( | const MVector3Type & | aVector | ) |
The method translates the box with a given vector (aVector)
| void MBox< Type >::translate | ( | const MVector3Type & | aVector | ) |
The method translates the box with a given vector (aVector)
| void MBox< Type >::translate | ( | const MVector3Type & | aVector | ) |
The method translates the box with a given vector (aVector)
|
private |
|
private |