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