Public Member Functions | Protected Attributes | List of all members
GLcoordinates Class Reference

#include <GLcoordinates.h>

Inheritance diagram for GLcoordinates:
Inheritance graph
[legend]

Public Member Functions

hrp::Vector3 getPosition ()
 
void getPosition (double &x, double &y, double &z)
 
hrp::Matrix33 getRotation ()
 
void getRotation (hrp::Matrix33 &R)
 
double * getTransform ()
 
 GLcoordinates ()
 
void setPosition (double x, double y, double z)
 
template<class T >
void setPosition (const T &p)
 
void setRotation (double r, double p, double y)
 
void setRotation (double ax, double ay, double az, double th)
 
void setRotation (const hrp::Matrix33 &R)
 
void setRotation (const double *R)
 
void setTransform (const double i_trans[12])
 

Protected Attributes

double m_trans [16]
 

Detailed Description

Definition at line 6 of file GLcoordinates.h.

Constructor & Destructor Documentation

◆ GLcoordinates()

GLcoordinates::GLcoordinates ( )

Definition at line 4 of file GLcoordinates.cpp.

Member Function Documentation

◆ getPosition() [1/2]

hrp::Vector3 GLcoordinates::getPosition ( )

Definition at line 18 of file GLcoordinates.cpp.

◆ getPosition() [2/2]

void GLcoordinates::getPosition ( double &  x,
double &  y,
double &  z 
)

Definition at line 28 of file GLcoordinates.cpp.

◆ getRotation() [1/2]

hrp::Matrix33 GLcoordinates::getRotation ( )

Definition at line 47 of file GLcoordinates.cpp.

◆ getRotation() [2/2]

void GLcoordinates::getRotation ( hrp::Matrix33 R)

Definition at line 76 of file GLcoordinates.cpp.

◆ getTransform()

double* GLcoordinates::getTransform ( )
inline

Definition at line 11 of file GLcoordinates.h.

◆ setPosition() [1/2]

void GLcoordinates::setPosition ( double  x,
double  y,
double  z 
)

Definition at line 23 of file GLcoordinates.cpp.

◆ setPosition() [2/2]

template<class T >
void GLcoordinates::setPosition ( const T &  p)
inline

Definition at line 16 of file GLcoordinates.h.

◆ setRotation() [1/4]

void GLcoordinates::setRotation ( double  r,
double  p,
double  y 
)

Definition at line 33 of file GLcoordinates.cpp.

◆ setRotation() [2/4]

void GLcoordinates::setRotation ( double  ax,
double  ay,
double  az,
double  th 
)

Definition at line 39 of file GLcoordinates.cpp.

◆ setRotation() [3/4]

void GLcoordinates::setRotation ( const hrp::Matrix33 R)

Definition at line 58 of file GLcoordinates.cpp.

◆ setRotation() [4/4]

void GLcoordinates::setRotation ( const double *  R)

Definition at line 67 of file GLcoordinates.cpp.

◆ setTransform()

void GLcoordinates::setTransform ( const double  i_trans[12])

Definition at line 10 of file GLcoordinates.cpp.

Member Data Documentation

◆ m_trans

double GLcoordinates::m_trans[16]
protected

Definition at line 26 of file GLcoordinates.h.


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


hrpsys
Author(s): AIST, Fumio Kanehiro
autogenerated on Sat Dec 17 2022 03:52:22