ElementOps< DerivedT, ElementT > Class Template Reference

#include <RobotAPI/components/ArViz/Client/elements/ElementOps.h>

Public Member Functions

DerivedT & color (Color color)
 
template<class... Ts>
DerivedT & color (Ts &&...ts)
 
DerivedT & colorGlasbeyLUT (std::size_t id, int alpha=255)
 
 ElementOps (std::string const &id)
 
DerivedT & enable (InteractionDescription const &interactionDescription)
 
DerivedT & hide ()
 
DerivedT & id (const std::string &id)
 
DerivedT & orientation (Eigen::Matrix3f const &ori)
 
DerivedT & orientation (Eigen::Quaternionf const &ori)
 
DerivedT & orientation (float r, float p, float y)
 
DerivedT & overrideMaterial (bool value)
 
Eigen::Matrix4f pose () const
 
DerivedT & pose (const Eigen::Affine3f &pose)
 
DerivedT & pose (Eigen::Matrix4f const &pose)
 
DerivedT & pose (Eigen::Vector3f const &position, Eigen::Matrix3f const &orientation)
 
DerivedT & pose (Eigen::Vector3f const &position, Eigen::Quaternionf const &orientation)
 
DerivedT & position (Eigen::Vector3f const &pos)
 
DerivedT & position (float x, float y, float z)
 
DerivedT & scale (Eigen::Vector3f scale)
 
DerivedT & scale (float s)
 
DerivedT & scale (float x, float y, float z)
 
DerivedT & show ()
 
DerivedT & transformPose (Eigen::Matrix4f const &p)
 
DerivedT & visible (bool visible)
 

Public Attributes

IceInternal::Handle< ElementT > data_
 

Detailed Description

template<typename DerivedT, typename ElementT>
class armarx::viz::ElementOps< DerivedT, ElementT >

Definition at line 108 of file ElementOps.h.

Constructor & Destructor Documentation

◆ ElementOps()

ElementOps ( std::string const &  id)
inline

Definition at line 111 of file ElementOps.h.

Member Function Documentation

◆ color() [1/2]

DerivedT& color ( Color  color)
inline

Definition at line 195 of file ElementOps.h.

+ Here is the caller graph for this function:

◆ color() [2/2]

DerivedT& color ( Ts &&...  ts)
inline

Definition at line 203 of file ElementOps.h.

◆ colorGlasbeyLUT()

DerivedT& colorGlasbeyLUT ( std::size_t  id,
int  alpha = 255 
)
inline

Definition at line 208 of file ElementOps.h.

+ Here is the caller graph for this function:

◆ enable()

DerivedT& enable ( InteractionDescription const &  interactionDescription)
inline

Definition at line 274 of file ElementOps.h.

+ Here is the caller graph for this function:

◆ hide()

DerivedT& hide ( )
inline

Definition at line 248 of file ElementOps.h.

+ Here is the caller graph for this function:

◆ id()

DerivedT& id ( const std::string &  id)
inline

Definition at line 120 of file ElementOps.h.

+ Here is the caller graph for this function:

◆ orientation() [1/3]

DerivedT& orientation ( Eigen::Matrix3f const &  ori)
inline

Definition at line 150 of file ElementOps.h.

◆ orientation() [2/3]

DerivedT& orientation ( Eigen::Quaternionf const &  ori)
inline

Definition at line 140 of file ElementOps.h.

+ Here is the caller graph for this function:

◆ orientation() [3/3]

DerivedT& orientation ( float  r,
float  p,
float  y 
)
inline

Definition at line 154 of file ElementOps.h.

◆ overrideMaterial()

DerivedT& overrideMaterial ( bool  value)
inline

Definition at line 213 of file ElementOps.h.

◆ pose() [1/5]

Eigen::Matrix4f pose ( ) const
inline

Definition at line 179 of file ElementOps.h.

+ Here is the caller graph for this function:

◆ pose() [2/5]

DerivedT& pose ( const Eigen::Affine3f &  pose)
inline

Definition at line 174 of file ElementOps.h.

◆ pose() [3/5]

DerivedT& pose ( Eigen::Matrix4f const &  pose)
inline

Definition at line 159 of file ElementOps.h.

+ Here is the caller graph for this function:

◆ pose() [4/5]

DerivedT& pose ( Eigen::Vector3f const &  position,
Eigen::Matrix3f const &  orientation 
)
inline

Definition at line 169 of file ElementOps.h.

◆ pose() [5/5]

DerivedT& pose ( Eigen::Vector3f const &  position,
Eigen::Quaternionf const &  orientation 
)
inline

Definition at line 164 of file ElementOps.h.

◆ position() [1/2]

DerivedT& position ( Eigen::Vector3f const &  pos)
inline

Definition at line 135 of file ElementOps.h.

◆ position() [2/2]

DerivedT& position ( float  x,
float  y,
float  z 
)
inline

Definition at line 127 of file ElementOps.h.

+ Here is the caller graph for this function:

◆ scale() [1/3]

DerivedT& scale ( Eigen::Vector3f  scale)
inline

Definition at line 227 of file ElementOps.h.

+ Here is the caller graph for this function:

◆ scale() [2/3]

DerivedT& scale ( float  s)
inline

Definition at line 243 of file ElementOps.h.

◆ scale() [3/3]

DerivedT& scale ( float  x,
float  y,
float  z 
)
inline

Definition at line 235 of file ElementOps.h.

◆ show()

DerivedT& show ( )
inline

Definition at line 255 of file ElementOps.h.

+ Here is the caller graph for this function:

◆ transformPose()

DerivedT& transformPose ( Eigen::Matrix4f const &  p)
inline

Definition at line 190 of file ElementOps.h.

◆ visible()

DerivedT& visible ( bool  visible)
inline

Definition at line 262 of file ElementOps.h.

+ Here is the caller graph for this function:

Member Data Documentation

◆ data_

IceInternal::Handle<ElementT> data_

Definition at line 281 of file ElementOps.h.


The documentation for this class was generated from the following file: