Annwvyn::AnnVect3 Class Reference

A 3D Vector. More...

#include <AnnVect3.hpp>

Inheritance diagram for Annwvyn::AnnVect3:
Collaboration diagram for Annwvyn::AnnVect3:

Public Member Functions

 AnnVect3 ()
 
 AnnVect3 (const Vector3 &v)
 Construct from a Ogre::Vector3. More...
 
 AnnVect3 (float cx, float cy, float cz)
 Construct form 3 floats. More...
 
 AnnVect3 (const int coord[3])
 Construct from an array of three inits. More...
 
 AnnVect3 (const float coord[3])
 Construct from an array of 3 float. More...
 
 AnnVect3 (float *r)
 Construct form a float array of unspecified length. More...
 
 AnnVect3 (float s)
 Construct from a float value. More...
 
 AnnVect3 (bool validState)
 Only used to signify that this object contains corrupt data. More...
 
 AnnVect3 (const btVector3 &v)
 Construct from bullet vector. More...
 
btVector3 getBtVector () const
 Return as bullet vector. More...
 
bool isValid () const
 You can trust this vector. More...
 
 operator btVector3 () const
 Implict convertion to btVector3. More...
 

Private Member Functions

void init ()
 Set valid to true. More...
 

Private Attributes

bool valid
 Validity boolean. More...
 

Detailed Description

A 3D Vector.

Definition at line 16 of file AnnVect3.hpp.

Constructor & Destructor Documentation

◆ AnnVect3() [1/9]

AnnVect3::AnnVect3 ( )

Definition at line 8 of file AnnVect3.cpp.

Here is the call graph for this function:

◆ AnnVect3() [2/9]

AnnVect3::AnnVect3 ( const Vector3 &  v)

Construct from a Ogre::Vector3.

Definition at line 11 of file AnnVect3.cpp.

Here is the call graph for this function:

◆ AnnVect3() [3/9]

AnnVect3::AnnVect3 ( float  cx,
float  cy,
float  cz 
)

Construct form 3 floats.

Definition at line 14 of file AnnVect3.cpp.

Here is the call graph for this function:

◆ AnnVect3() [4/9]

AnnVect3::AnnVect3 ( const int  coord[3])

Construct from an array of three inits.

Definition at line 17 of file AnnVect3.cpp.

Here is the call graph for this function:

◆ AnnVect3() [5/9]

AnnVect3::AnnVect3 ( const float  coord[3])

Construct from an array of 3 float.

Definition at line 20 of file AnnVect3.cpp.

Here is the call graph for this function:

◆ AnnVect3() [6/9]

AnnVect3::AnnVect3 ( float *  r)

Construct form a float array of unspecified length.

Definition at line 23 of file AnnVect3.cpp.

Here is the call graph for this function:

◆ AnnVect3() [7/9]

AnnVect3::AnnVect3 ( float  s)

Construct from a float value.

Definition at line 26 of file AnnVect3.cpp.

Here is the call graph for this function:

◆ AnnVect3() [8/9]

AnnVect3::AnnVect3 ( bool  validState)

Only used to signify that this object contains corrupt data.

Definition at line 32 of file AnnVect3.cpp.

Here is the call graph for this function:

◆ AnnVect3() [9/9]

AnnVect3::AnnVect3 ( const btVector3 &  v)

Construct from bullet vector.

Definition at line 29 of file AnnVect3.cpp.

Here is the call graph for this function:

Member Function Documentation

◆ getBtVector()

btVector3 AnnVect3::getBtVector ( ) const

Return as bullet vector.

Definition at line 44 of file AnnVect3.cpp.

Here is the caller graph for this function:

◆ init()

void AnnVect3::init ( )
private

Set valid to true.

Definition at line 39 of file AnnVect3.cpp.

Here is the caller graph for this function:

◆ isValid()

bool AnnVect3::isValid ( ) const

You can trust this vector.

Definition at line 49 of file AnnVect3.cpp.

◆ operator btVector3()

AnnVect3::operator btVector3 ( ) const

Implict convertion to btVector3.

Definition at line 54 of file AnnVect3.cpp.

Member Data Documentation

◆ valid

bool Annwvyn::AnnVect3::valid
private

Validity boolean.

Definition at line 54 of file AnnVect3.hpp.


The documentation for this class was generated from the following files: