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_
 

Constructor & Destructor Documentation

◆ ElementOps()

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

Member Function Documentation

◆ color() [1/2]

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

◆ color() [2/2]

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

◆ colorGlasbeyLUT()

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

◆ enable()

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

◆ hide()

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

◆ id()

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

◆ orientation() [1/3]

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

◆ orientation() [2/3]

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

◆ orientation() [3/3]

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

◆ overrideMaterial()

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

◆ pose() [1/5]

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

◆ pose() [2/5]

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

◆ pose() [3/5]

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

◆ pose() [4/5]

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

◆ pose() [5/5]

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

◆ position() [1/2]

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

◆ position() [2/2]

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

◆ scale() [1/3]

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

◆ scale() [2/3]

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

◆ scale() [3/3]

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

◆ show()

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

◆ transformPose()

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

◆ visible()

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

Member Data Documentation

◆ data_

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

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