Line.cpp
Go to the documentation of this file.
1#include "Line.h"
2
3#include <ArmarXCore/interface/core/BasicVectorTypesHelpers.h>
4
5namespace armarx::viz
6{
7 Line&
8 Line::lineWidth(float w)
9 {
10 data_->lineWidth = w;
11
12 return *this;
13 }
14
15 Line&
16 Line::fromTo(Eigen::Vector3f from, Eigen::Vector3f to)
17 {
18 data_->from = ToBasicVectorType(from);
19 data_->to = ToBasicVectorType(to);
20
21 return *this;
22 }
23} // namespace armarx::viz
IceInternal::Handle< data::ElementLine > data_
Definition ElementOps.h:315
This file is part of ArmarX.