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 116 of file ElementOps.h.

Constructor & Destructor Documentation

◆ ElementOps()

template<typename DerivedT, typename ElementT>
ElementOps ( std::string const & id)
inline

Definition at line 119 of file ElementOps.h.

+ Here is the call graph for this function:

Member Function Documentation

◆ color() [1/2]

template<typename DerivedT, typename ElementT>
DerivedT & color ( Color color)
inline

Definition at line 218 of file ElementOps.h.

+ Here is the call graph for this function:

◆ color() [2/2]

template<typename DerivedT, typename ElementT>
template<class... Ts>
DerivedT & color ( Ts &&... ts)
inline

Definition at line 227 of file ElementOps.h.

+ Here is the call graph for this function:

◆ colorGlasbeyLUT()

template<typename DerivedT, typename ElementT>
DerivedT & colorGlasbeyLUT ( std::size_t id,
int alpha = 255 )
inline

Definition at line 233 of file ElementOps.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ enable()

template<typename DerivedT, typename ElementT>
DerivedT & enable ( InteractionDescription const & interactionDescription)
inline

Definition at line 309 of file ElementOps.h.

+ Here is the caller graph for this function:

◆ hide()

template<typename DerivedT, typename ElementT>
DerivedT & hide ( )
inline

Definition at line 280 of file ElementOps.h.

+ Here is the caller graph for this function:

◆ id()

template<typename DerivedT, typename ElementT>
DerivedT & id ( const std::string & id)
inline

Definition at line 128 of file ElementOps.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ orientation() [1/3]

template<typename DerivedT, typename ElementT>
DerivedT & orientation ( Eigen::Matrix3f const & ori)
inline

Definition at line 164 of file ElementOps.h.

+ Here is the call graph for this function:

◆ orientation() [2/3]

template<typename DerivedT, typename ElementT>
DerivedT & orientation ( Eigen::Quaternionf const & ori)
inline

Definition at line 152 of file ElementOps.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ orientation() [3/3]

template<typename DerivedT, typename ElementT>
DerivedT & orientation ( float r,
float p,
float y )
inline

Definition at line 170 of file ElementOps.h.

+ Here is the call graph for this function:

◆ overrideMaterial()

template<typename DerivedT, typename ElementT>
DerivedT & overrideMaterial ( bool value)
inline

Definition at line 239 of file ElementOps.h.

◆ pose() [1/5]

template<typename DerivedT, typename ElementT>
Eigen::Matrix4f pose ( ) const
inline

Definition at line 200 of file ElementOps.h.

+ Here is the caller graph for this function:

◆ pose() [2/5]

template<typename DerivedT, typename ElementT>
DerivedT & pose ( const Eigen::Affine3f & pose)
inline

Definition at line 194 of file ElementOps.h.

+ Here is the call graph for this function:

◆ pose() [3/5]

template<typename DerivedT, typename ElementT>
DerivedT & pose ( Eigen::Matrix4f const & pose)
inline

Definition at line 176 of file ElementOps.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ pose() [4/5]

template<typename DerivedT, typename ElementT>
DerivedT & pose ( Eigen::Vector3f const & position,
Eigen::Matrix3f const & orientation )
inline

Definition at line 188 of file ElementOps.h.

+ Here is the call graph for this function:

◆ pose() [5/5]

template<typename DerivedT, typename ElementT>
DerivedT & pose ( Eigen::Vector3f const & position,
Eigen::Quaternionf const & orientation )
inline

Definition at line 182 of file ElementOps.h.

+ Here is the call graph for this function:

◆ position() [1/2]

template<typename DerivedT, typename ElementT>
DerivedT & position ( Eigen::Vector3f const & pos)
inline

Definition at line 146 of file ElementOps.h.

+ Here is the call graph for this function:

◆ position() [2/2]

template<typename DerivedT, typename ElementT>
DerivedT & position ( float x,
float y,
float z )
inline

Definition at line 136 of file ElementOps.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ scale() [1/3]

template<typename DerivedT, typename ElementT>
DerivedT & scale ( Eigen::Vector3f scale)
inline

Definition at line 254 of file ElementOps.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ scale() [2/3]

template<typename DerivedT, typename ElementT>
DerivedT & scale ( float s)
inline

Definition at line 274 of file ElementOps.h.

+ Here is the call graph for this function:

◆ scale() [3/3]

template<typename DerivedT, typename ElementT>
DerivedT & scale ( float x,
float y,
float z )
inline

Definition at line 264 of file ElementOps.h.

◆ show()

template<typename DerivedT, typename ElementT>
DerivedT & show ( )
inline

Definition at line 288 of file ElementOps.h.

+ Here is the caller graph for this function:

◆ transformPose()

template<typename DerivedT, typename ElementT>
DerivedT & transformPose ( Eigen::Matrix4f const & p)
inline

Definition at line 212 of file ElementOps.h.

+ Here is the call graph for this function:

◆ visible()

template<typename DerivedT, typename ElementT>
DerivedT & visible ( bool visible)
inline

Definition at line 296 of file ElementOps.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Member Data Documentation

◆ data_

template<typename DerivedT, typename ElementT>
IceInternal::Handle<ElementT> data_

Definition at line 315 of file ElementOps.h.


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