API C#
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties
Kinova.DLL.Data.Util.CVectorEuler Class Reference

A vector represented by 3 coordinates and 3 angles. The coordinates gives a space position of the hand of JACO. The angles gives the orientation of the hand. This kind of vector should be used in a cartesian control context. More...

Public Member Functions

 CVectorEuler ()
 Initializes a new instance of the CVectorEuler class. More...
 
void Init ()
 Initialize the vector with 0.0f in all value. More...
 

Public Attributes

const UInt64 NB_POSITION = 3
 The size of the position's array. More...
 
const UInt64 NB_ROTATION = 3
 The size of the rotation's array. More...
 
const int COORDINATE_X = 0
 A constant that represents the index of the X coordinate inside the Position array. More...
 
const int COORDINATE_Y = 1
 A constant that represents the index of the Y coordinate inside the Position array. More...
 
const int COORDINATE_Z = 2
 A constant that represents the index of the Z coordinate inside the Position array. More...
 
const int THETA_X = 0
 A constant that represents the index of the THETA X Euler angle inside the Rotation array. More...
 
const int THETA_Y = 1
 A constant that represents the index of the THETA Y Euler angle inside the Rotation array. More...
 
const int THETA_Z = 2
 A constant that represents the index of the THETA Z Euler angle inside the Rotation array. More...
 

Properties

UInt64 NbPosition [get, set]
 Gets or sets the nb position. More...
 
float[] Position [get, set]
 This is an array of NB_POSITION float values and it represents the X Y Z space coordinates. The constants COORDINATE_X, COORDINATE_Y and COORDINATE_Z can be used to access the desired value. All values's unit are meter. More...
 
float Spacer1 [get, set]
 Gets or sets the spacer1. More...
 
UInt64 NbRotation [get, set]
 Gets or sets the nb rotation. More...
 
float[] Rotation [get, set]
 This is an array of NB_ROTATION float values and it represents the THETA X, THETA Y and THETA Z angles. The constants THETA_X, THETA_Y and THETA_Z can be used to access the desired value. All values's unit are Rad. More...
 
float Spacer2 [get, set]
 Gets or sets the spacer2. More...
 

Detailed Description

A vector represented by 3 coordinates and 3 angles. The coordinates gives a space position of the hand of JACO. The angles gives the orientation of the hand. This kind of vector should be used in a cartesian control context.

Constructor & Destructor Documentation

Kinova.DLL.Data.Util.CVectorEuler.CVectorEuler ( )

Initializes a new instance of the CVectorEuler class.

Member Function Documentation

void Kinova.DLL.Data.Util.CVectorEuler.Init ( )

Initialize the vector with 0.0f in all value.

Member Data Documentation

const int Kinova.DLL.Data.Util.CVectorEuler.COORDINATE_X = 0

A constant that represents the index of the X coordinate inside the Position array.

const int Kinova.DLL.Data.Util.CVectorEuler.COORDINATE_Y = 1

A constant that represents the index of the Y coordinate inside the Position array.

const int Kinova.DLL.Data.Util.CVectorEuler.COORDINATE_Z = 2

A constant that represents the index of the Z coordinate inside the Position array.

const UInt64 Kinova.DLL.Data.Util.CVectorEuler.NB_POSITION = 3

The size of the position's array.

const UInt64 Kinova.DLL.Data.Util.CVectorEuler.NB_ROTATION = 3

The size of the rotation's array.

const int Kinova.DLL.Data.Util.CVectorEuler.THETA_X = 0

A constant that represents the index of the THETA X Euler angle inside the Rotation array.

const int Kinova.DLL.Data.Util.CVectorEuler.THETA_Y = 1

A constant that represents the index of the THETA Y Euler angle inside the Rotation array.

const int Kinova.DLL.Data.Util.CVectorEuler.THETA_Z = 2

A constant that represents the index of the THETA Z Euler angle inside the Rotation array.

Property Documentation

UInt64 Kinova.DLL.Data.Util.CVectorEuler.NbPosition
getset

Gets or sets the nb position.

The nb position.

UInt64 Kinova.DLL.Data.Util.CVectorEuler.NbRotation
getset

Gets or sets the nb rotation.

The nb rotation.

float [] Kinova.DLL.Data.Util.CVectorEuler.Position
getset

This is an array of NB_POSITION float values and it represents the X Y Z space coordinates. The constants COORDINATE_X, COORDINATE_Y and COORDINATE_Z can be used to access the desired value. All values's unit are meter.

CVectorEuler MyVectorEuler = new CVectorEuler();

//Some computing that fill the vector...

//Display the X coordinate of this vector System.Console.WriteLine(" X = " + MyVectorEuler.Position[CVectorEuler.COORDINATE_X]);

//Display the Y coordinate of this vector System.Console.WriteLine(" Y = " + MyVectorEuler.Position[CVectorEuler.COORDINATE_Y]);

//Display the Y coordinate of this vector System.Console.WriteLine(" Z = " + MyVectorEuler.Position[CVectorEuler.COORDINATE_Z]);

The position array.

float [] Kinova.DLL.Data.Util.CVectorEuler.Rotation
getset

This is an array of NB_ROTATION float values and it represents the THETA X, THETA Y and THETA Z angles. The constants THETA_X, THETA_Y and THETA_Z can be used to access the desired value. All values's unit are Rad.

CVectorEuler MyVectorEuler = new CVectorEuler();

//Some computing that fill the vector...

//Display the THETA X angle of this vector System.Console.WriteLine("THETA X = " + MyVectorEuler.Rotation[CVectorEuler.THETA_X]);

//Display the THETA Y angle of this vector System.Console.WriteLine("THETA Y = " + MyVectorEuler.Rotation[CVectorEuler.THETA_Y]);

//Display the THETA Z angle of this vector System.Console.WriteLine("THETA Z = " + MyVectorEuler.Rotation[CVectorEuler.THETA_Z]);

The Rotation array.

float Kinova.DLL.Data.Util.CVectorEuler.Spacer1
getset

Gets or sets the spacer1.

The spacer1.

float Kinova.DLL.Data.Util.CVectorEuler.Spacer2
getset

Gets or sets the spacer2.

The spacer2.


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