#include <Line3D.h>
Public Member Functions | |
void | addPoint (const Vector3 &p) |
void | drawLine (Vector3 &start, Vector3 &end) |
void | drawLines (void) |
Real | getBoundingRadius (void) const |
unsigned short | getNumPoints (void) const |
const Vector3 & | getPoint (unsigned short index) const |
Real | getSquaredViewDepth (const Camera *cam) const |
Line3D (void) | |
void | updatePoint (unsigned short index, const Vector3 &value) |
~Line3D (void) | |
Protected Member Functions | |
const Quaternion & | getWorldOrientation (void) const |
const Vector3 & | getWorldPosition (void) const |
Protected Attributes | |
bool | mDrawn |
std::vector< Vector3 > | mPoints |
Line3D::Line3D | ( | void | ) |
Definition at line 5 of file Line3D.cpp.
Line3D::~Line3D | ( | void | ) |
Definition at line 13 of file Line3D.cpp.
void Line3D::addPoint | ( | const Vector3 & | p | ) |
Definition at line 18 of file Line3D.cpp.
void Line3D::drawLine | ( | Vector3 & | start, |
Vector3 & | end | ||
) |
Definition at line 42 of file Line3D.cpp.
void Line3D::drawLines | ( | void | ) |
Definition at line 53 of file Line3D.cpp.
Real Line3D::getBoundingRadius | ( | void | ) | const |
Definition at line 124 of file Line3D.cpp.
unsigned short Line3D::getNumPoints | ( | void | ) | const |
Definition at line 30 of file Line3D.cpp.
const Vector3 & Line3D::getPoint | ( | unsigned short | index | ) | const |
Definition at line 23 of file Line3D.cpp.
Real Line3D::getSquaredViewDepth | ( | const Camera * | cam | ) | const |
Definition at line 113 of file Line3D.cpp.
const Quaternion & Line3D::getWorldOrientation | ( | void | ) | const [protected] |
Definition at line 136 of file Line3D.cpp.
const Vector3 & Line3D::getWorldPosition | ( | void | ) | const [protected] |
Definition at line 141 of file Line3D.cpp.
void Line3D::updatePoint | ( | unsigned short | index, |
const Vector3 & | value | ||
) |
Definition at line 35 of file Line3D.cpp.
bool Line3D::mDrawn [protected] |
std::vector<Vector3> Line3D::mPoints [protected] |