armarx::viz Namespace Reference

This file is part of ArmarX. More...

Namespaces

 body_25
 
 coin
 
 data
 
 detail
 
 error
 
 generic
 
 grid
 
 json
 
 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.
 
 mmm_body_68
 

Classes

struct  Arrow
 
struct  ArrowCircle
 
struct  AxesFlags
 
struct  Box
 
struct  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  ElementInteractionData
 
class  ElementOps
 
struct  Ellipsoid
 
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  CoinVisualizerState { STOPPED, STARTING, RUNNING, STOPPING }
 
enum  CoinVisualizerUpdateResult { SUCCESS, WAITING, FAILURE }
 
enum  InteractionFeedbackType {
  None, Select, Deselect, ContextMenuChosen,
  Transform
}
 

Functions

void addPosesToLayer (const std::map< std::string, armarx::armem::human::HumanPose > &poses, HumanPoseLayers &layers, const std::string &prefix)
 
void addPoseToLayer (const armarx::armem::human::HumanPose &pose, HumanPoseLayers &layers, const std::string &prefix)
 
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

Typedef Documentation

◆ CoinLayerID

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

Definition at line 21 of file Visualizer.h.

Enumeration Type Documentation

◆ CoinVisualizerState

enum CoinVisualizerState
strong
Enumerator
STOPPED 
STARTING 
RUNNING 
STOPPING 

Definition at line 137 of file Visualizer.h.

◆ CoinVisualizerUpdateResult

Enumerator
SUCCESS 
WAITING 
FAILURE 

Definition at line 145 of file Visualizer.h.

◆ InteractionFeedbackType

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).

Definition at line 10 of file Interaction.h.

Function Documentation

◆ addPosesToLayer()

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

Definition at line 46 of file HumanPose.cpp.

+ Here is the call graph for this function:

◆ addPoseToLayer()

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

Definition at line 16 of file HumanPose.cpp.

+ Here is the caller graph for this function:

◆ interaction()

InteractionDescription armarx::viz::interaction ( )
inline

Definition at line 101 of file ElementOps.h.

+ Here is the caller graph for this function:

◆ isCoinLayerIdLess()

bool armarx::viz::isCoinLayerIdLess ( CoinLayer const &  left,
CoinLayer const &  right 
)
inline

Definition at line 105 of file Visualizer.h.

+ Here is the caller graph for this function:

◆ isElementIdLess()

bool armarx::viz::isElementIdLess ( CoinLayerElement const &  left,
CoinLayerElement const &  right 
)
inline

Definition at line 30 of file Visualizer.h.

+ Here is the caller graph for this function:

◆ operator!=()

bool armarx::viz::operator!= ( const Color lhs,
const Color rhs 
)
inline

Definition at line 168 of file Color.h.

◆ operator<<()

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

Definition at line 157 of file Color.h.

◆ operator==()

bool armarx::viz::operator== ( const Color lhs,
const Color rhs 
)
inline

Definition at line 163 of file Color.h.

◆ poseToIce()

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

Definition at line 20 of file IceConversions.h.

◆ toEigen() [1/2]

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

Definition at line 46 of file Interaction.h.

+ Here is the caller graph for this function:

◆ toEigen() [2/2]

Eigen::Matrix4f armarx::viz::toEigen ( SbMat const &  mat)

Definition at line 748 of file Visualizer.cpp.

◆ toString()

const char* armarx::viz::toString ( InteractionFeedbackType  type)
inline

Definition at line 27 of file Interaction.h.

+ Here is the caller graph for this function:

◆ translationDueToRotation()

SbVec3f armarx::viz::translationDueToRotation ( SbRotation  r_m,
SbVec3f  t_m,
SbVec3f  s_m,
SbVec3f  t_o 
)

Definition at line 733 of file Visualizer.cpp.

+ Here is the caller graph for this function:

◆ translationDueToScaling()

SbVec3f armarx::viz::translationDueToScaling ( SbRotation  r_m,
SbVec3f  t_m,
SbVec3f  s_m,
SbVec3f  t_o 
)

Definition at line 719 of file Visualizer.cpp.

+ Here is the caller graph for this function: