armarx::viz Namespace Reference

This file is part of ArmarX. More...

Namespaces

namespace  body_25
 
namespace  coin
 
namespace  data
 
namespace  detail
 
namespace  error
 
namespace  generic
 
namespace  grid
 
namespace  json
 
namespace  k4abt_body_32
 Body model taken from https://docs.microsoft.com/en-us/azure/kinect-dk/body-joints and used with Azure Kinect Body Tracking SDK 1.1.1.
 
namespace  mmm_body_68
 

Classes

struct  Arrow
 
struct  ArrowCircle
 
struct  AxesFlags
 
struct  Box
 
class  Client
 
struct  CoinLayer
 
struct  CoinLayerElement
 
struct  CoinLayerMap
 
class  CoinVisualizer
 
struct  CoinVisualizer_ApplyTiming
 
struct  CoinVisualizer_UpdateTiming
 
struct  CoinVisualizerWrapper
 
struct  Color
 
struct  CommitResult
 
struct  CommitResultAsync
 
struct  Convert
 
struct  Cylinder
 
struct  Cylindroid
 
struct  DrawingStyle
 
struct  ElementInteractionData
 
class  ElementOps
 
struct  Ellipsoid
 
class  Grid
 
struct  HumanPoseLayers
 
struct  InteractionDescription
 
struct  InteractionFeedback
 
struct  InteractionFeedbackRange
 
struct  Layer
 
class  Line
 
class  Mesh
 
struct  Object
 
class  Path
 
class  PointCloud
 
struct  Polygon
 
struct  Pose
 
class  PoseGizmo
 
class  Robot
 
class  RobotHand
 Left or right hand of a robot. More...
 
class  ScopedClient
 viz::Client that will delete (clear) committed layers when destroyed. More...
 
struct  Sphere
 
struct  StagedCommit
 A staged commit prepares multiple layers to be committed. More...
 
struct  Text
 
struct  TimedBlock
 
struct  Transformable
 
struct  TransformationResult
 

Typedefs

using CoinLayerID = std::pair<std::string, std::string>
 

Enumerations

enum class  CoinVisualizerState { STOPPED , STARTING , RUNNING , STOPPING }
 
enum class  CoinVisualizerUpdateResult { SUCCESS , WAITING , FAILURE }
 
enum class  InteractionFeedbackType {
  None , Select , Deselect , ContextMenuChosen ,
  Transform
}
 

Functions

void addFaceRecognitionsToLayer (const std::map< std::string, armarx::armem::human::FaceRecognition > &faceRecognitions, armarx::viz::Layer &faceRecognitionLayer, const std::string &prefix)
 
void addPersonInstanceToLayer (const armarx::armem::human::FaceRecognition &faceReco, const std::string &name, armarx::viz::Layer &personInstanceLayer, const std::string &prefix)
 
void addPersonInstanceToLayer (const armarx::armem::human::PersonInstance &personInstance, const std::string &name, armarx::viz::Layer &personInstanceLayer, const std::string &prefix)
 
void addPosesToLayer (const std::map< std::string, armarx::armem::human::HumanPose > &poses, HumanPoseLayers &layers, const std::string &prefix, const DrawingStyle &drawingStyle=DrawingStyle())
 
void addPoseToLayer (const armarx::armem::human::HumanPose &pose, HumanPoseLayers &layers, const std::string &prefix, const DrawingStyle &drawingStyle=DrawingStyle())
 
InteractionDescription interaction ()
 
bool isCoinLayerIdLess (CoinLayer const &left, CoinLayer const &right)
 
bool isElementIdLess (CoinLayerElement const &left, CoinLayerElement const &right)
 
bool operator!= (const Color &lhs, const Color &rhs)
 
std::ostream & operator<< (std::ostream &os, const Color &c)
 
bool operator== (const Color &lhs, const Color &rhs)
 
data::GlobalPose poseToIce (Eigen::Vector3f const &pos, Eigen::Quaternionf const &ori)
 
Eigen::Matrix4f toEigen (data::GlobalPose const &pose)
 
Eigen::Matrix4f toEigen (SbMat const &mat)
 
const char * toString (InteractionFeedbackType type)
 
SbVec3f translationDueToRotation (SbRotation r_m, SbVec3f t_m, SbVec3f s_m, SbVec3f t_o)
 
SbVec3f translationDueToScaling (SbRotation r_m, SbVec3f t_m, SbVec3f s_m, SbVec3f t_o)
 

Detailed Description

This file is part of ArmarX.

ArmarX is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as published by the Free Software Foundation.

ArmarX is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.

Author
Fabian Reister ( fabian dot reister at kit dot edu )
Date
2023

ArmarX is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as published by the Free Software Foundation.

ArmarX is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.

Author
Fabian Reister ( fabian dot reister at kit dot edu )
Christian R. G. Dreher ( c dot dreher at kit dot edu )
Date
2021

Typedef Documentation

◆ CoinLayerID

using CoinLayerID = std::pair<std::string, std::string>

Enumeration Type Documentation

◆ CoinVisualizerState

enum class CoinVisualizerState
strong
Enumerator
STOPPED 
STARTING 
RUNNING 
STOPPING 

◆ CoinVisualizerUpdateResult

enum class CoinVisualizerUpdateResult
strong
Enumerator
SUCCESS 
WAITING 
FAILURE 

◆ InteractionFeedbackType

enum class InteractionFeedbackType
strong
Enumerator
None 

Nothing happened.

Select 

An element was selected.

Deselect 

An element was deselected.

ContextMenuChosen 

A context menu entry was chosen.

Transform 

The element was transformed (translated or rotated).

Function Documentation

◆ addFaceRecognitionsToLayer()

void addFaceRecognitionsToLayer ( const std::map< std::string, armarx::armem::human::FaceRecognition > & faceRecognitions,
armarx::viz::Layer & faceRecognitionLayer,
const std::string & prefix )

◆ addPersonInstanceToLayer() [1/2]

void addPersonInstanceToLayer ( const armarx::armem::human::FaceRecognition & faceReco,
const std::string & name,
armarx::viz::Layer & personInstanceLayer,
const std::string & prefix )

◆ addPersonInstanceToLayer() [2/2]

void addPersonInstanceToLayer ( const armarx::armem::human::PersonInstance & personInstance,
const std::string & name,
armarx::viz::Layer & personInstanceLayer,
const std::string & prefix )

◆ addPosesToLayer()

void addPosesToLayer ( const std::map< std::string, armarx::armem::human::HumanPose > & poses,
HumanPoseLayers & layers,
const std::string & prefix,
const DrawingStyle & drawingStyle = DrawingStyle() )

◆ addPoseToLayer()

void addPoseToLayer ( const armarx::armem::human::HumanPose & pose,
HumanPoseLayers & layers,
const std::string & prefix,
const DrawingStyle & drawingStyle = DrawingStyle() )

◆ interaction()

InteractionDescription interaction ( )
inline

◆ isCoinLayerIdLess()

bool isCoinLayerIdLess ( CoinLayer const & left,
CoinLayer const & right )
inline

◆ isElementIdLess()

bool isElementIdLess ( CoinLayerElement const & left,
CoinLayerElement const & right )
inline

◆ operator!=()

bool operator!= ( const Color & lhs,
const Color & rhs )
inline

◆ operator<<()

std::ostream & operator<< ( std::ostream & os,
const Color & c )
inline

◆ operator==()

bool operator== ( const Color & lhs,
const Color & rhs )
inline

◆ poseToIce()

data::GlobalPose poseToIce ( Eigen::Vector3f const & pos,
Eigen::Quaternionf const & ori )
inline

◆ toEigen() [1/2]

Eigen::Matrix4f toEigen ( data::GlobalPose const & pose)
inline

◆ toEigen() [2/2]

Eigen::Matrix4f toEigen ( SbMat const & mat)

◆ toString()

const char * toString ( InteractionFeedbackType type)
inline

◆ translationDueToRotation()

SbVec3f translationDueToRotation ( SbRotation r_m,
SbVec3f t_m,
SbVec3f s_m,
SbVec3f t_o )

◆ translationDueToScaling()

SbVec3f translationDueToScaling ( SbRotation r_m,
SbVec3f t_m,
SbVec3f s_m,
SbVec3f t_o )