Go to the documentation of this file.
17 #include <RobotAPI/interface/ArViz/Elements.h>
19 #include <SimoxUtility/shapes/OrientedBoxBase.h>
21 #include <Eigen/Geometry>
49 using data::ColoredPoint;
66 return size(Eigen::Vector3f(
s,
s,
s));
69 Box&
set(
const simox::OrientedBoxBase<float>& b);
70 Box&
set(
const simox::OrientedBoxBase<double>& b);
103 data_->curvature.e0 = 1;
104 data_->curvature.e1 = 1;
152 data_->curvature.e0 = 1;
153 data_->curvature.e1 = 1;
154 data_->curvature.e2 = 1;
218 Arrow&
fromTo(
const Eigen::Vector3f& from,
const Eigen::Vector3f& to)
264 data_->points.clear();
287 data_->lineWidth = w;
296 data_->points.push_back(armarx::Vector3f{p.x(), p.y(), p.z()});
317 Polygon&
circle(Eigen::Vector3f center, Eigen::Vector3f normal,
float radius, std::size_t tessellation = 64);
357 data_->drawStyle |= data::ModelDrawStyle::COLLISION;
364 data_->drawStyle &= ~
data::ModelDrawStyle::COLLISION;
371 data_->drawStyle |= data::ModelDrawStyle::OVERRIDE_COLOR;
378 data_->drawStyle &= ~
data::ModelDrawStyle::OVERRIDE_COLOR;
Cylindroid & curvature(const Eigen::Vector2f &curvature)
Polygon & lineColor(int r, int g, int b)
ArrowCircle & radius(float r)
Cylindroid & axisLengths(const Eigen::Vector2f &axisLengths)
Polygon & points(std::vector< Eigen::Vector3f > const &ps)
A known object ID of the form "Dataset/ClassName" or "Dataset/ClassName/InstanceName".
Object & useCollisionModel()
Cylinder & radius(float r)
Cylinder & fromTo(Eigen::Vector3f from, Eigen::Vector3f to)
Object & fileByObjectFinder(const armarx::ObjectID &objectID, const std::string &objectsPackage=DefaultObjectsPackage, const std::string &relativeObjectsDirectory=DefaultRelativeObjectsDirectory)
Set the file so it could be found using armarx::ObjectFinder (also on remote machine).
Object & file(std::string const &project, std::string const &filename)
static Color fromRGBA(int r, int g, int b, int a=255)
Construct a byte color from R, G, B and optional alpha.
Object & file(std::string const &filename)
Cylinder & height(float h)
ArrowCircle & normal(Eigen::Vector3f dir)
Text & text(std::string const &t)
IceInternal::Handle< data::ElementBox > data_
Object & alpha(float alpha)
static const std::string DefaultRelativeObjectsDirectory
Cylindroid(const std::string &name)
ElementOps(std::string const &id)
Arrow & position(float x, float y, float z)
Cylinder & direction(Eigen::Vector3f direction)
Polygon & lineColorGlasbeyLUT(std::size_t id, int alpha=255)
ArrowCircle & width(float w)
Polygon & addPoint(Eigen::Vector3f p)
Hyperplane< float, 3 > Hyperplane3f
Polygon & orientation(Eigen::Quaternionf const &ori)
Arrow & direction(Eigen::Vector3f dir)
Polygon & lineWidth(float w)
Polygon & plane(Eigen::Hyperplane3f plane, Eigen::Vector3f at, Eigen::Vector2f size)
Add points representing a plane as rectangle.
Ellipsoid & axisLengths(const Eigen::Vector3f &axisLengths)
Object & overrideColor(Color c)
Polygon & circle(Eigen::Vector3f center, Eigen::Vector3f normal, float radius, std::size_t tessellation=64)
Cylindroid & height(float height)
Arrow & fromTo(const Eigen::Vector3f &from, const Eigen::Vector3f &to)
Object & useOriginalColor()
Box & size(Eigen::Vector3f const &s)
Polygon & color(Color color)
ArrowCircle & completion(float c)
Ellipsoid(const std::string &name)
Ellipsoid & curvature(const Eigen::Vector3f &curvature)
static const std::string DefaultObjectsPackage
Box & set(const simox::OrientedBoxBase< float > &b)
double s(double t, double s0, double v0, double a0, double j)
This file is part of ArmarX.
This file offers overloads of toIce() and fromIce() functions for STL container types.
Polygon & lineColor(Color color)
double norm(const Point &a)