#include <ParticleUniverseBox.h>
ParticleUniverse::Box::Box |
( |
void |
| ) |
|
virtual ParticleUniverse::Box::~Box |
( |
void |
| ) |
|
|
virtual |
ParticleUniverse::Box::Box |
( |
const Vector3 & |
position, |
|
|
BoxSet * |
owner |
|
) |
| |
Constructor as called by BoxSet.
void ParticleUniverse::Box::_calculateCorners |
( |
void |
| ) |
|
|
protected |
void ParticleUniverse::Box::_notifyOwner |
( |
BoxSet * |
owner | ) |
|
Internal method for notifying the box of it's owner.
const ColourValue& ParticleUniverse::Box::getColour |
( |
void |
| ) |
const |
Get the colour of this box.
const Vector3& ParticleUniverse::Box::getCorner |
( |
size_t |
index | ) |
|
Return the boxcorner in local space of a specified corner.
Real ParticleUniverse::Box::getOwnDepth |
( |
void |
| ) |
const |
Retrieves the box's personal depth, if hasOwnDimensions is true.
Real ParticleUniverse::Box::getOwnHeight |
( |
void |
| ) |
const |
Retrieves the box's personal height, if hasOwnDimensions is true.
Real ParticleUniverse::Box::getOwnWidth |
( |
void |
| ) |
const |
Retrieves the box's personal width, if hasOwnDimensions is true.
const Vector3& ParticleUniverse::Box::getPosition |
( |
void |
| ) |
const |
const Vector3& ParticleUniverse::Box::getWorldspaceCorner |
( |
size_t |
index | ) |
|
Return the boxcorner in world space of a specified corner.
bool ParticleUniverse::Box::hasOwnDimensions |
( |
void |
| ) |
const |
void ParticleUniverse::Box::resetDimensions |
( |
void |
| ) |
|
|
inline |
Resets this box to use the parent BoxSet's dimensions instead of it's own.
void ParticleUniverse::Box::setColour |
( |
const ColourValue & |
colour | ) |
|
Sets the colour of this box.
void ParticleUniverse::Box::setDimensions |
( |
Real |
width, |
|
|
Real |
height, |
|
|
Real |
depth |
|
) |
| |
Sets the width, height and depth for this box.
void ParticleUniverse::Box::setPosition |
( |
const Vector3 & |
position | ) |
|
void ParticleUniverse::Box::setPosition |
( |
Real |
x, |
|
|
Real |
y, |
|
|
Real |
z |
|
) |
| |
Vector3 ParticleUniverse::Box::mCorners[8] |
|
protected |
Corners of the box in local space.
Real ParticleUniverse::Box::mDepth |
|
protected |
bool ParticleUniverse::Box::mDimensionsChanged |
|
protected |
Real ParticleUniverse::Box::mHalfDepth |
|
protected |
Real ParticleUniverse::Box::mHalfHeight |
|
protected |
Real ParticleUniverse::Box::mHalfWidth |
|
protected |
Real ParticleUniverse::Box::mHeight |
|
protected |
bool ParticleUniverse::Box::mOwnDimensions |
|
protected |
BoxSet* ParticleUniverse::Box::mParentSet |
Vector3 ParticleUniverse::Box::mPosition |
Vector3 ParticleUniverse::Box::mTempCorner |
|
protected |
Real ParticleUniverse::Box::mWidth |
|
protected |
The documentation for this class was generated from the following file:
- ParticleRenderers/ParticleUniverseBox.h