|
SO3Engine
|
#include <SO3Lines.h>
Public Member Functions | |
| SLines (const Ogre::ColourValue &defaultColour=Ogre::ColourValue::White, bool dashed=false, bool disableDepth=false) | |
| ~SLines () | |
| Ogre::ColourValue | GetColour () |
| void | SetColour (const Ogre::ColourValue &newColour) |
| void | AddLine (const Ogre::Vector3 &start, const Ogre::Vector3 &end) |
| void | AddLine (const Ogre::Real &start_x, const Ogre::Real &start_y, const Ogre::Real &start_z, const Ogre::Real &end_x, const Ogre::Real &end_y, const Ogre::Real &end_z) |
| void | AddPoint (const size_t &pointIndex, const Ogre::Vector3 &pt) |
| void | AddPoint (const size_t &pointIndex, const Ogre::Real &x, const Ogre::Real &y, const Ogre::Real &z) |
| void | AddPoint (const Ogre::Vector3 &pt) |
| void | RemovePoint (const size_t &pointIndex) |
| void | AddPoint (const Ogre::Real &x, const Ogre::Real &y, const Ogre::Real &z) |
| size_t | GetNumberOfPoints () const |
| Ogre::Vector3 | GetPoint (const size_t &pointIndex) |
| void | SetPoint (const size_t &pointIndex, const Ogre::Vector3 &pt) |
| void | SetPoint (const size_t &pointIndex, const Ogre::Real &x, const Ogre::Real &y, const Ogre::Real &z) |
| void | Draw () |
| void | DrawDash () |
| void | SetDashed (bool dashed) |
| bool | GetDashed () |
| void | Clear () |
| virtual Ogre::Real | getSquaredViewDepth (const Ogre::Camera *cam) const |
| virtual Ogre::Real | getBoundingRadius () const |
Definition at line 13 of file SO3Lines.h.
| SO3::SLines::SLines | ( | const Ogre::ColourValue & | defaultColour = Ogre::ColourValue::White, |
| bool | dashed = false, |
||
| bool | disableDepth = false |
||
| ) |
Definition at line 10 of file SO3Lines.cpp.
| SO3::SLines::~SLines | ( | ) |
Definition at line 51 of file SO3Lines.cpp.
| void SO3::SLines::AddLine | ( | const Ogre::Real & | start_x, |
| const Ogre::Real & | start_y, | ||
| const Ogre::Real & | start_z, | ||
| const Ogre::Real & | end_x, | ||
| const Ogre::Real & | end_y, | ||
| const Ogre::Real & | end_z | ||
| ) |
Definition at line 91 of file SO3Lines.cpp.
| void SO3::SLines::AddLine | ( | const Ogre::Vector3 & | start, |
| const Ogre::Vector3 & | end | ||
| ) |
Definition at line 83 of file SO3Lines.cpp.
| void SO3::SLines::AddPoint | ( | const Ogre::Real & | x, |
| const Ogre::Real & | y, | ||
| const Ogre::Real & | z | ||
| ) |
Definition at line 121 of file SO3Lines.cpp.
| void SO3::SLines::AddPoint | ( | const Ogre::Vector3 & | pt | ) |
Definition at line 115 of file SO3Lines.cpp.
| void SO3::SLines::AddPoint | ( | const size_t & | pointIndex, |
| const Ogre::Real & | x, | ||
| const Ogre::Real & | y, | ||
| const Ogre::Real & | z | ||
| ) |
Definition at line 110 of file SO3Lines.cpp.
| void SO3::SLines::AddPoint | ( | const size_t & | pointIndex, |
| const Ogre::Vector3 & | pt | ||
| ) |
Definition at line 96 of file SO3Lines.cpp.
| void SO3::SLines::Clear | ( | ) |
Remove all the points.
Definition at line 57 of file SO3Lines.cpp.
| void SO3::SLines::Draw | ( | ) |
Render the line.
Definition at line 181 of file SO3Lines.cpp.
| void SO3::SLines::DrawDash | ( | ) |
Render the dash line.
Definition at line 262 of file SO3Lines.cpp.
|
virtual |
Definition at line 318 of file SO3Lines.cpp.
| Ogre::ColourValue SO3::SLines::GetColour | ( | ) |
Retrieve the actual color of the line.
Definition at line 72 of file SO3Lines.cpp.
| bool SO3::SLines::GetDashed | ( | ) |
Definition at line 176 of file SO3Lines.cpp.
| size_t SO3::SLines::GetNumberOfPoints | ( | ) | const |
Definition at line 137 of file SO3Lines.cpp.
| Ogre::Vector3 SO3::SLines::GetPoint | ( | const size_t & | pointIndex | ) |
Definition at line 142 of file SO3Lines.cpp.
|
virtual |
Definition at line 307 of file SO3Lines.cpp.
| void SO3::SLines::RemovePoint | ( | const size_t & | pointIndex | ) |
Definition at line 126 of file SO3Lines.cpp.
| void SO3::SLines::SetColour | ( | const Ogre::ColourValue & | newColour | ) |
Set the colour of the line.
Definition at line 77 of file SO3Lines.cpp.
| void SO3::SLines::SetDashed | ( | bool | dashed | ) |
Definition at line 171 of file SO3Lines.cpp.
| void SO3::SLines::SetPoint | ( | const size_t & | pointIndex, |
| const Ogre::Real & | x, | ||
| const Ogre::Real & | y, | ||
| const Ogre::Real & | z | ||
| ) |
Definition at line 166 of file SO3Lines.cpp.
| void SO3::SLines::SetPoint | ( | const size_t & | pointIndex, |
| const Ogre::Vector3 & | pt | ||
| ) |
Definition at line 155 of file SO3Lines.cpp.