#include <AxesArray.h>
Public Member Functions | |
bool | addAxes (const double pos[3], const double att[4], unsigned int id) |
AxesArray () | |
void | clearAxes () |
visualization_msgs::MarkerArray | getAxes () |
TooN::Vector< 3 > | getCenter (const double pos[3], const double att[4]) |
void | init (double lifetime) |
Private Member Functions | |
TooN::Matrix< 3, 3 > | quaternion2matrix (const double q[4]) |
Private Attributes | |
visualization_msgs::Marker | buffcube |
geometry_msgs::Point | buffp |
TooN::Vector< 3, double > | buffvec |
TooN::Vector< 3, double > | center |
visualization_msgs::MarkerArray | cubes |
unsigned int | ID |
geometry_msgs::Point | p |
TooN::SO3< double > | rot |
Static Private Attributes | |
static const float | blue [4] = {0,0,1,1} |
static const double | dirx [3] = {AX_DIST,0.01,0.01} |
static const double | diry [3] = {0.01,AX_DIST,0.01} |
static const double | dirz [3] = {0.01,0.01,AX_DIST} |
static const float | green [4] = {0,1,0,1} |
static const float | red [4] = {1,0,0,1} |
Definition at line 21 of file AxesArray.h.
AxesArray::AxesArray | ( | ) | [inline] |
Definition at line 44 of file AxesArray.h.
bool AxesArray::addAxes | ( | const double | pos[3], |
const double | att[4], | ||
unsigned int | id | ||
) |
Definition at line 79 of file AxesArray.h.
void AxesArray::clearAxes | ( | ) | [inline] |
Definition at line 47 of file AxesArray.h.
visualization_msgs::MarkerArray AxesArray::getAxes | ( | ) | [inline] |
Definition at line 48 of file AxesArray.h.
TooN::Vector< 3 > AxesArray::getCenter | ( | const double | pos[3], |
const double | att[4] | ||
) |
Definition at line 72 of file AxesArray.h.
void AxesArray::init | ( | double | lifetime | ) |
Definition at line 59 of file AxesArray.h.
TooN::Matrix< 3, 3 > AxesArray::quaternion2matrix | ( | const double | q[4] | ) | [private] |
Definition at line 117 of file AxesArray.h.
const float AxesArray::blue = {0,0,1,1} [static, private] |
Definition at line 37 of file AxesArray.h.
visualization_msgs::Marker AxesArray::buffcube [private] |
Definition at line 34 of file AxesArray.h.
geometry_msgs::Point AxesArray::buffp [private] |
Definition at line 30 of file AxesArray.h.
TooN::Vector<3,double> AxesArray::buffvec [private] |
Definition at line 33 of file AxesArray.h.
TooN::Vector<3,double> AxesArray::center [private] |
Definition at line 32 of file AxesArray.h.
visualization_msgs::MarkerArray AxesArray::cubes [private] |
Definition at line 24 of file AxesArray.h.
const double AxesArray::dirx = {AX_DIST,0.01,0.01} [static, private] |
Definition at line 38 of file AxesArray.h.
const double AxesArray::diry = {0.01,AX_DIST,0.01} [static, private] |
Definition at line 39 of file AxesArray.h.
const double AxesArray::dirz = {0.01,0.01,AX_DIST} [static, private] |
Definition at line 40 of file AxesArray.h.
const float AxesArray::green = {0,1,0,1} [static, private] |
Definition at line 36 of file AxesArray.h.
unsigned int AxesArray::ID [private] |
Definition at line 25 of file AxesArray.h.
geometry_msgs::Point AxesArray::p [private] |
Definition at line 29 of file AxesArray.h.
const float AxesArray::red = {1,0,0,1} [static, private] |
Definition at line 35 of file AxesArray.h.
TooN::SO3<double> AxesArray::rot [private] |
Definition at line 31 of file AxesArray.h.