DART
6.10.1
|
#include <Site.hpp>
Classes | |
struct | Data |
Intermediate raw data read from the XML file. More... | |
Public Member Functions | |
Site ()=default | |
Default constructor. More... | |
Attributes | |
const std::string & | getName () const |
GeomType | getType () const |
int | getGroup () const |
const Eigen::Vector3d & | getSize () const |
double | getSphereRadius () const |
double | getCapsuleRadius () const |
double | getCapsuleHalfLength () const |
double | getCapsuleLength () const |
const Eigen::Vector3d & | getEllipsoidRadii () const |
Eigen::Vector3d | getEllipsoidDiameters () const |
double | getCylinderRadius () const |
double | getCylinderHalfLength () const |
double | getCylinderLength () const |
const Eigen::Vector3d & | getBoxHalfSize () const |
Eigen::Vector3d | getBoxSize () const |
const Eigen::Vector4d & | getRGBA () const |
const Eigen::Vector3d & | getFriction () const |
void | setRelativeTransform (const Eigen::Isometry3d &tf) |
const Eigen::Isometry3d & | getRelativeTransform () const |
void | setWorldTransform (const Eigen::Isometry3d &tf) |
const Eigen::Isometry3d & | getWorldTransform () const |
Private Member Functions | |
Errors | read (tinyxml2::XMLElement *element) |
Errors | preprocess (const Compiler &compiler) |
Updates attributes and elements that doesn't require any other elements. More... | |
Errors | compile (const Compiler &compiler) |
Updates attributes and elements that require the preprocessed child elements of this <Site>. More... | |
Errors | postprocess (const Body *body, const Compiler &compiler) |
Updates attributes and elements that require the compiled parent element. More... | |
double | computeVolume () const |
Eigen::Matrix3d | computeInertia () const |
Private Attributes | |
Data | mData |
std::string | mName {""} |
Name of the Site. More... | |
GeomType | mType {GeomType::SPHERE} |
Type of Siteetric shape. More... | |
int | mGroup {0} |
Eigen::Vector3d | mSize {Eigen::Vector3d::Constant(0.005)} |
Site size parameters. More... | |
Eigen::Vector4d | mRGBA {Eigen::Vector4d(0.5, 0.5, 0.5, 1)} |
double | mMass |
Eigen::Isometry3d | mRelativeTransform {Eigen::Isometry3d::Identity()} |
Eigen::Isometry3d | mWorldTransform {Eigen::Isometry3d::Identity()} |
Friends | |
class | Body |
class | Worldbody |
|
default |
Default constructor.
Updates attributes and elements that require the preprocessed child elements of this <Site>.
|
private |
|
private |
const Eigen::Vector3d & dart::utils::MjcfParser::detail::Site::getBoxHalfSize | ( | ) | const |
Eigen::Vector3d dart::utils::MjcfParser::detail::Site::getBoxSize | ( | ) | const |
double dart::utils::MjcfParser::detail::Site::getCapsuleHalfLength | ( | ) | const |
double dart::utils::MjcfParser::detail::Site::getCapsuleLength | ( | ) | const |
double dart::utils::MjcfParser::detail::Site::getCapsuleRadius | ( | ) | const |
double dart::utils::MjcfParser::detail::Site::getCylinderHalfLength | ( | ) | const |
double dart::utils::MjcfParser::detail::Site::getCylinderLength | ( | ) | const |
double dart::utils::MjcfParser::detail::Site::getCylinderRadius | ( | ) | const |
Eigen::Vector3d dart::utils::MjcfParser::detail::Site::getEllipsoidDiameters | ( | ) | const |
const Eigen::Vector3d & dart::utils::MjcfParser::detail::Site::getEllipsoidRadii | ( | ) | const |
const Eigen::Vector3d& dart::utils::MjcfParser::detail::Site::getFriction | ( | ) | const |
int dart::utils::MjcfParser::detail::Site::getGroup | ( | ) | const |
const std::string & dart::utils::MjcfParser::detail::Site::getName | ( | ) | const |
const Eigen::Isometry3d & dart::utils::MjcfParser::detail::Site::getRelativeTransform | ( | ) | const |
const Eigen::Vector4d & dart::utils::MjcfParser::detail::Site::getRGBA | ( | ) | const |
const Eigen::Vector3d & dart::utils::MjcfParser::detail::Site::getSize | ( | ) | const |
double dart::utils::MjcfParser::detail::Site::getSphereRadius | ( | ) | const |
GeomType dart::utils::MjcfParser::detail::Site::getType | ( | ) | const |
const Eigen::Isometry3d & dart::utils::MjcfParser::detail::Site::getWorldTransform | ( | ) | const |
|
private |
Updates attributes and elements that require the compiled parent element.
Updates attributes and elements that doesn't require any other elements.
|
private |
void dart::utils::MjcfParser::detail::Site::setRelativeTransform | ( | const Eigen::Isometry3d & | tf | ) |
void dart::utils::MjcfParser::detail::Site::setWorldTransform | ( | const Eigen::Isometry3d & | tf | ) |
|
friend |
|
friend |
|
private |
|
private |
|
private |
|
private |
Name of the Site.
|
private |
|
private |
|
private |
Site size parameters.
|
private |
Type of Siteetric shape.
|
private |