OGRE 14.3
Object-Oriented Graphics Rendering Engine
|
Classes | |
class | Ogre::Affine3 |
Transform specialization for 3D Affine - encapsulating a 3x4 Matrix. More... | |
class | Ogre::Angle |
Wrapper class which identifies a value as the currently default angle type, as defined by Math::setAngleUnit. More... | |
class | Ogre::AxisAlignedBox |
A 3D box aligned with the x/y/z axes. More... | |
class | Ogre::Bitwise |
Class for manipulating bit patterns. More... | |
class | Ogre::ConvexBody |
Holds a solid representation of a convex body. More... | |
class | Ogre::Degree |
Wrapper class which indicates a given angle value is in Degrees. More... | |
class | Ogre::DualQuaternion |
Implementation of a dual quaternion, i.e. More... | |
class | Ogre::EdgeData |
This class contains the information required to describe the edge connectivity of a given set of vertices and indexes. More... | |
class | Ogre::EdgeListBuilder |
General utility class for building edge lists for geometry. More... | |
class | Ogre::Math |
Class to provide access to common mathematical functions. More... | |
class | Ogre::Matrix3 |
A 3x3 matrix which can represent rotations around axes. More... | |
class | Ogre::Matrix4 |
Transform specialization for projective - encapsulating a 4x4 Matrix. More... | |
class | Ogre::OptimisedUtil |
Utility class for provides optimised functions. More... | |
class | Ogre::Plane |
Defines a plane in 3D space. More... | |
class | Ogre::PlaneBoundedVolume |
Represents a convex volume bounded by planes. More... | |
class | Ogre::Polygon |
The class represents a polygon in 3D space. More... | |
class | Ogre::Quaternion |
Implementation of a Quaternion, i.e. More... | |
class | Ogre::Radian |
Wrapper class which indicates a given angle value is in Radians. More... | |
class | Ogre::Ray |
Representation of a ray in space, i.e. More... | |
class | Ogre::RotationalSpline |
This class interpolates orientations (rotations) along a spline using derivatives of quaternions. More... | |
class | Ogre::SimpleSpline |
A very simple spline class which implements the Catmull-Rom class of splines. More... | |
class | Ogre::Sphere |
A sphere primitive, mostly used for bounds checking. More... | |
class | Ogre::TangentSpaceCalc |
Class for calculating a tangent space basis. More... | |
class | Ogre::TransformBase< rows, T > |
Class encapsulating a standard 4x4 homogeneous matrix. More... | |
struct | Ogre::TransformBaseReal |
class | Ogre::Vector< dims, T > |
Standard N-dimensional vector. More... | |
struct | Ogre::VectorBase< dims, T > |
helper class to implement legacy API. Notably x, y, z access More... | |
struct | Ogre::VectorBase< 2, Real > |
struct | Ogre::VectorBase< 3, Real > |
struct | Ogre::VectorBase< 4, Real > |
Typedefs | |
typedef std::vector< PlaneBoundedVolume > | Ogre::PlaneBoundedVolumeList |
typedef std::vector< Plane > | Ogre::PlaneList |
typedef std::pair< bool, Real > | Ogre::RayTestResult |
A pair structure where the first element indicates whether an intersection occurs. | |
typedef std::pair<bool, Real> Ogre::RayTestResult |
A pair structure where the first element indicates whether an intersection occurs.
if true, the second element will indicate the distance along the ray at which it intersects. This can be converted to a point in space by calling Ray::getPoint().
typedef std::vector<Plane> Ogre::PlaneList |
typedef std::vector<PlaneBoundedVolume> Ogre::PlaneBoundedVolumeList |
|
inline |
References Ogre::Radian::valueRadians().
|
inline |
References Ogre::Radian::valueRadians().
|
inline |
References Ogre::Degree::valueDegrees().
|
inline |
References Ogre::Degree::valueDegrees().
Matrix * vector [3x3 * 3x1 = 3x1].
Vector transformation using '*'.
Transforms the given 3-D vector by the matrix, projecting the result back into w = 1.
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
Returns raw offsetted of the given pointer.
Referenced by Ogre::advanceRawPointer(), and Ogre::advanceRawPointer().
Advance the pointer with raw offset.
References Ogre::rawOffsetPointer().
References Ogre::rawOffsetPointer().
References Ogre::Degree::valueRadians().
References Ogre::Degree::valueRadians().
References Ogre::Degree::valueRadians().
References Ogre::Degree::valueRadians().
References Ogre::Degree::valueRadians().
|
inline |
References Ogre::Math::RadiansToDegrees().
Referenced by Ogre::Degree::operator+(), Ogre::Degree::operator+=(), Ogre::Degree::operator-(), Ogre::Degree::operator-=(), and Ogre::Degree::operator=().
|
inline |
References Ogre::Math::RadiansToAngleUnits().
Referenced by Ogre::StringConverter::toString().
|
inline |
References Ogre::Math::DegreesToRadians().
Referenced by Ogre::Radian::operator+(), Ogre::Radian::operator+=(), Ogre::Radian::operator-(), Ogre::Radian::operator-=(), and Ogre::Radian::operator=().
|
inline |
References Ogre::Math::DegreesToAngleUnits().
Referenced by Ogre::StringConverter::toString().
|
inline |
References Ogre::Math::AngleUnitsToRadians().
|
inline |
References Ogre::Math::AngleUnitsToDegrees().
Create a rotation matrix from direction and yaw.
direction | the direction to look in. Must be normalised. |
yaw | the yaw axis to use |
References Ogre::Vector< dims, T >::normalisedCopy().
|
inline |
|
inlinestatic |
Plane / box intersection test.
References Ogre::Plane::BOTH_SIDE, and Ogre::Plane::getSide().
|
inlinestatic |
Ray / plane intersection.
Referenced by Ogre::Ray::intersects(), Ogre::Sphere::intersects(), Ogre::AxisAlignedBox::intersects(), Ogre::Ray::intersects(), Ogre::PlaneBoundedVolume::intersects(), and Ogre::AxisAlignedBox::intersects().
|
inlinestatic |
Ray / sphere intersection.
Sphere / plane intersection test.
|
inline |
Returns a vector at a point half way between this and the passed in vector.
|
inline |
Generates a new random vector which deviates from this vector by a given angle in a random direction.
This method assumes that the random number generator has already been seeded appropriately.
angle | The angle at which to deviate in radians |
References Ogre::Math::Cos(), Ogre::Math::RangeRandom(), and Ogre::Math::Sin().
|
inline |
Gets the oriented angle between 2 vectors.
Vectors do not have to be unit-length but must represent directions. The angle is comprised between 0 and 2 PI.
References Ogre::Math::TWO_PI.
|
inline |
Generates a vector perpendicular to this vector (eg an 'up' vector).
This method will return a vector which is perpendicular to this vector. There are an infinite number of possibilities but this method will guarantee to generate one of them. If you need more control you should use the Quaternion class.
|
inline |
Generates a vector perpendicular to this vector (eg an 'up' vector).
This method will return a vector which is perpendicular to this vector. There are an infinite number of possibilities but this method will guarantee to generate one of them. If you need more control you should use the Quaternion class.
References Ogre::Math::Abs().
|
inline |
Calculates the cross-product of 2 vectors, i.e.
the vector that lies perpendicular to them both.
The cross-product is normally used to calculate the normal vector of a plane, by calculating the cross-product of 2 non-equivalent vectors which lie on the plane (e.g. 2 edges of a triangle).
rkVector | Vector which, together with this one, will be used to calculate the cross-product. |
|
inline |
Returns a vector at a point half way between this and the passed in vector.
|
inline |
Generates a new random vector which deviates from this vector by a given angle in a random direction.
This method assumes that the random number generator has already been seeded appropriately.
angle | The angle at which to deviate |
up | Any vector perpendicular to this one (which could generated by cross-product of this vector and any other non-colinear vector). If you choose not to provide this the function will derive one on it's own, however if you provide one yourself the function will be faster (this allows you to reuse up vectors if you call this method more than once) |
References Ogre::Math::TWO_PI, and Ogre::Math::UnitRandom().
|
inline |
Gets the shortest arc quaternion to rotate this vector to the destination vector.
If you call this with a dest vector that is close to the inverse of this vector, we will rotate 180 degrees around the 'fallbackAxis' (if specified, or a generated axis if not) since in this case ANY axis of rotation is valid.
References Ogre::Math::Abs(), Ogre::Quaternion::IDENTITY, Ogre::Math::RealEqual(), and Ogre::Math::Sqrt().
|
inline |
Returns whether this vector is within a positional tolerance of another vector, also take scale of the vectors into account.
rhs | The vector to compare with |
tolerance | The amount (related to the scale of vectors) that distance of the vector may vary by and still be considered close |
|
inline |
Returns whether this vector is within a directional tolerance of another vector.
rhs | The vector to compare with |
tolerance | The maximum angle by which the vectors may vary and still be considered equal |
References Ogre::Math::Abs(), and Ogre::Math::ACos().
|
inline |
Extract the primary (dominant) axis from this direction vector.
References Ogre::Math::Abs().
|
inlinestatic |
Calculate a face normal, no w-information.
References Ogre::Vector< dims, T >::normalise().
Referenced by Ogre::Math::calculateFaceNormal(), and Ogre::Plane::redefine().
|
inlinestatic |
Calculate a face normal, including the w component which is the offset from the origin.
References Ogre::Math::calculateBasicFaceNormal(), and Ogre::Vector< dims, T >::dotProduct().
|
inlinestatic |
Calculate a face normal without normalize, no w-information.
Referenced by Ogre::Math::calculateFaceNormalWithoutNormalize().
|
inlinestatic |
Calculate a face normal without normalize, including the w component which is the offset from the origin.
References Ogre::Math::calculateBasicFaceNormalWithoutNormalize(), and Ogre::Vector< dims, T >::dotProduct().