Go to the documentation of this file.
17 #include <Eigen/Geometry>
19 #include <SimoxUtility/shapes/OrientedBoxBase.h>
21 #include <RobotAPI/interface/ArViz/Elements.h>
45 using data::ColoredPoint;
64 return size(Eigen::Vector3f(
s,
s,
s));
67 Box&
set(
const simox::OrientedBoxBase<float>& b);
68 Box&
set(
const simox::OrientedBoxBase<double>& b);
100 data_->curvature.e0 = 1;
101 data_->curvature.e1 = 1;
150 data_->curvature.e0 = 1;
151 data_->curvature.e1 = 1;
152 data_->curvature.e2 = 1;
219 fromTo(
const Eigen::Vector3f& from,
const Eigen::Vector3f& to)
267 data_->points.clear();
294 data_->lineWidth = w;
304 data_->points.push_back(armarx::Vector3f{p.x(), p.y(), p.z()});
327 Eigen::Vector3f normal,
329 std::size_t tessellation = 64);
365 const std::string& objectID,
374 data_->drawStyle |= data::ModelDrawStyle::COLLISION;
382 data_->drawStyle &= ~
data::ModelDrawStyle::COLLISION;
390 data_->drawStyle |= data::ModelDrawStyle::OVERRIDE_COLOR;
398 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)