Public Member Functions | Private Attributes | List of all members
hebi::Quaternionf Struct Reference

Structure to hold a floating point quaternion (i.e., w/x/y/z components) More...

#include <quaternion_f.hpp>

Public Member Functions

float getW () const
 Returns the W component of the quaternion. More...
 
float getX () const
 Returns the X component of the quaternion. More...
 
float getY () const
 Returns the Y component of the quaternion. More...
 
float getZ () const
 Returns the Z component of the quaternion. More...
 
 Quaternionf (float w, float x, float y, float z)
 Create a floating point quaternion from three floating point components. More...
 
 Quaternionf (const HebiQuaternionf &src)
 Method to create a C++ scoped hebi::Quaternionf object from an internal HEBI C API pointer. Internal use only. More...
 

Private Attributes

float w_
 
float x_
 
float y_
 
float z_
 

Detailed Description

Structure to hold a floating point quaternion (i.e., w/x/y/z components)

Definition at line 8 of file quaternion_f.hpp.

Constructor & Destructor Documentation

hebi::Quaternionf::Quaternionf ( float  w,
float  x,
float  y,
float  z 
)
inline

Create a floating point quaternion from three floating point components.

Definition at line 12 of file quaternion_f.hpp.

hebi::Quaternionf::Quaternionf ( const HebiQuaternionf src)
inline

Method to create a C++ scoped hebi::Quaternionf object from an internal HEBI C API pointer. Internal use only.

Definition at line 17 of file quaternion_f.hpp.

Member Function Documentation

float hebi::Quaternionf::getW ( ) const
inline

Returns the W component of the quaternion.

Definition at line 21 of file quaternion_f.hpp.

float hebi::Quaternionf::getX ( ) const
inline

Returns the X component of the quaternion.

Definition at line 23 of file quaternion_f.hpp.

float hebi::Quaternionf::getY ( ) const
inline

Returns the Y component of the quaternion.

Definition at line 25 of file quaternion_f.hpp.

float hebi::Quaternionf::getZ ( ) const
inline

Returns the Z component of the quaternion.

Definition at line 27 of file quaternion_f.hpp.

Member Data Documentation

float hebi::Quaternionf::w_
private

Definition at line 30 of file quaternion_f.hpp.

float hebi::Quaternionf::x_
private

Definition at line 31 of file quaternion_f.hpp.

float hebi::Quaternionf::y_
private

Definition at line 32 of file quaternion_f.hpp.

float hebi::Quaternionf::z_
private

Definition at line 33 of file quaternion_f.hpp.


The documentation for this struct was generated from the following file:


hebiros
Author(s): Xavier Artache , Matthew Tesch
autogenerated on Thu Sep 3 2020 04:11:00