Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
lib
util
GLcoordinates.h
Go to the documentation of this file.
1
#ifndef __GLCOORDINATES_H__
2
#define __GLCOORDINATES_H__
3
4
#include <
hrpUtil/Eigen3d.h
>
5
6
class
GLcoordinates
7
{
8
public
:
9
GLcoordinates
();
10
void
setTransform
(
const
double
i_trans[12]);
11
double
*
getTransform
() {
return
m_trans
; }
12
hrp::Vector3
getPosition
();
13
void
setPosition
(
double
x
,
double
y
,
double
z
);
14
void
getPosition
(
double
& x,
double
& y,
double
& z);
15
template
<
class
T>
16
void
setPosition
(
const
T &p){
17
m_trans
[12] = p[0];
m_trans
[13] = p[1];
m_trans
[14] = p[2];
18
}
19
void
setRotation
(
double
r,
double
p,
double
y);
20
void
setRotation
(
double
ax,
double
ay,
double
az,
double
th);
21
hrp::Matrix33
getRotation
();
22
void
setRotation
(
const
hrp::Matrix33
&
R
);
23
void
setRotation
(
const
double
*R);
24
void
getRotation
(
hrp::Matrix33
&R);
25
protected
:
26
double
m_trans
[16];
27
};
28
#endif
GLcoordinates
Definition:
GLcoordinates.h:6
simTest4.R
R
Definition:
simTest4.py:10
GLcoordinates::getRotation
hrp::Matrix33 getRotation()
Definition:
GLcoordinates.cpp:47
GLcoordinates::setRotation
void setRotation(double r, double p, double y)
Definition:
GLcoordinates.cpp:33
GLcoordinates::getTransform
double * getTransform()
Definition:
GLcoordinates.h:11
GLcoordinates::setPosition
void setPosition(const T &p)
Definition:
GLcoordinates.h:16
GLcoordinates::setTransform
void setTransform(const double i_trans[12])
Definition:
GLcoordinates.cpp:10
hrp::Vector3
Eigen::Vector3d Vector3
GLcoordinates::getPosition
hrp::Vector3 getPosition()
Definition:
GLcoordinates.cpp:18
hrp::Matrix33
Eigen::Matrix3d Matrix33
GLcoordinates::setPosition
void setPosition(double x, double y, double z)
Definition:
GLcoordinates.cpp:23
Eigen3d.h
GLcoordinates::m_trans
double m_trans[16]
Definition:
GLcoordinates.h:26
sample.y
y
Definition:
rtc/OccupancyGridMap3D/sample/sample.py:12
sample.x
x
Definition:
rtc/OccupancyGridMap3D/sample/sample.py:11
GLcoordinates::GLcoordinates
GLcoordinates()
Definition:
GLcoordinates.cpp:4
sample.z
z
Definition:
rtc/OccupancyGridMap3D/sample/sample.py:13
hrpsys
Author(s): AIST, Fumio Kanehiro
autogenerated on Thu May 6 2021 02:41:50