Visu Class Reference

Models decay of object localizations by decreasing the confidence the longer the object was not localized. More...

#include <RobotAPI/libraries/armem_objects/server/instance/Visu.h>

+ Inheritance diagram for Visu:

Classes

struct  Gaussians
 
struct  RemoteGui
 

Public Member Functions

void defineProperties (armarx::PropertyDefinitionsPtr defs, const std::string &prefix="visu.")
 
std::vector< viz::LayervisualizeCommit (const objpose::ObjectPoseMap &objectPoses, const std::map< ObjectID, std::map< DateTime, objpose::ObjectPose >> &poseHistories, const ObjectFinder &objectFinder) const
 
std::vector< viz::LayervisualizeCommit (const objpose::ObjectPoseSeq &objectPoses, const std::vector< std::map< DateTime, objpose::ObjectPose >> &poseHistories, const ObjectFinder &objectFinder) const
 Visualize the given object poses, with one layer per provider. More...
 
std::vector< viz::LayervisualizeCommit (const std::map< std::string, objpose::ObjectPoseSeq > &objectPoses, const std::map< std::string, std::vector< std::map< DateTime, objpose::ObjectPose >>> &poseHistories, const ObjectFinder &objectFinder) const
 
void visualizeObjectPose (viz::Layer &layer, const objpose::ObjectPose &objectPose, const std::map< DateTime, objpose::ObjectPose > &poseHistory, const ObjectFinder &objectFinder) const
 
viz::Layer visualizeProvider (const std::string &providerName, const objpose::ObjectPoseSeq &objectPoses, const std::vector< std::map< DateTime, objpose::ObjectPose >> &poseHistories, const ObjectFinder &objectFinder) const
 
- Public Member Functions inherited from Logging
SpamFilterDataPtr deactivateSpam (float deactivationDurationSec=10.0f, const std::string &identifier="", bool deactivate=true) const
 disables the logging for the current line for the given amount of seconds. More...
 
MessageTypeT getEffectiveLoggingLevel () const
 
 Logging ()
 
void setLocalMinimumLoggingLevel (MessageTypeT level)
 With setLocalMinimumLoggingLevel the minimum verbosity-level of log-messages can be set. More...
 
void setTag (const LogTag &tag)
 
void setTag (const std::string &tagName)
 
virtual ~Logging ()
 

Public Attributes

float alpha = 1.0
 
bool alphaByConfidence = false
 
viz::Client arviz
 
bool enabled = true
 
float frequencyHz = 25
 
Gaussians gaussians
 
bool inGlobalFrame = true
 
visu::LinearPredictions linearPredictions
 Linear predictions for objects. More...
 
float minConfidence = -1
 
bool objectFrames = false
 
float objectFramesScale = 1.0
 
bool oobbs = false
 
SimpleRunningTask ::pointer_type updateTask
 
bool useArticulatedModels = true
 Prefer articulated models if available. More...
 

Additional Inherited Members

- Protected Member Functions inherited from Logging
bool checkLogLevel (MessageTypeT level) const
 
const LogSenderPtrgetLogSender () const
 Retrieve log sender. More...
 
LogSenderPtr loghelper (const char *file, int line, const char *function) const
 
- Protected Attributes inherited from Logging
MessageTypeT minimumLoggingLevel
 
SpamFilterDataPtr spamFilter
 
LogTag tag
 

Detailed Description

Models decay of object localizations by decreasing the confidence the longer the object was not localized.

Definition at line 26 of file Visu.h.

Member Function Documentation

◆ defineProperties()

void defineProperties ( armarx::PropertyDefinitionsPtr  defs,
const std::string &  prefix = "visu." 
)

Definition at line 18 of file Visu.cpp.

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

◆ visualizeCommit() [1/3]

std::vector< viz::Layer > visualizeCommit ( const objpose::ObjectPoseMap objectPoses,
const std::map< ObjectID, std::map< DateTime, objpose::ObjectPose >> &  poseHistories,
const ObjectFinder objectFinder 
) const

Definition at line 116 of file Visu.cpp.

+ Here is the call graph for this function:

◆ visualizeCommit() [2/3]

std::vector< viz::Layer > visualizeCommit ( const objpose::ObjectPoseSeq objectPoses,
const std::vector< std::map< DateTime, objpose::ObjectPose >> &  poseHistories,
const ObjectFinder objectFinder 
) const

Visualize the given object poses, with one layer per provider.

Definition at line 93 of file Visu.cpp.

+ Here is the call graph for this function:

◆ visualizeCommit() [3/3]

std::vector< viz::Layer > visualizeCommit ( const std::map< std::string, objpose::ObjectPoseSeq > &  objectPoses,
const std::map< std::string, std::vector< std::map< DateTime, objpose::ObjectPose >>> &  poseHistories,
const ObjectFinder objectFinder 
) const

Definition at line 64 of file Visu.cpp.

+ Here is the call graph for this function:

◆ visualizeObjectPose()

void visualizeObjectPose ( viz::Layer layer,
const objpose::ObjectPose objectPose,
const std::map< DateTime, objpose::ObjectPose > &  poseHistory,
const ObjectFinder objectFinder 
) const

Definition at line 168 of file Visu.cpp.

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

◆ visualizeProvider()

viz::Layer visualizeProvider ( const std::string &  providerName,
const objpose::ObjectPoseSeq objectPoses,
const std::vector< std::map< DateTime, objpose::ObjectPose >> &  poseHistories,
const ObjectFinder objectFinder 
) const

Definition at line 154 of file Visu.cpp.

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

Member Data Documentation

◆ alpha

float alpha = 1.0

Definition at line 80 of file Visu.h.

◆ alphaByConfidence

bool alphaByConfidence = false

Definition at line 81 of file Visu.h.

◆ arviz

viz::Client arviz

Definition at line 73 of file Visu.h.

◆ enabled

bool enabled = true

Definition at line 75 of file Visu.h.

◆ frequencyHz

float frequencyHz = 25

Definition at line 76 of file Visu.h.

◆ gaussians

Gaussians gaussians

Definition at line 102 of file Visu.h.

◆ inGlobalFrame

bool inGlobalFrame = true

Definition at line 78 of file Visu.h.

◆ linearPredictions

visu::LinearPredictions linearPredictions

Linear predictions for objects.

Definition at line 108 of file Visu.h.

◆ minConfidence

float minConfidence = -1

Definition at line 79 of file Visu.h.

◆ objectFrames

bool objectFrames = false

Definition at line 84 of file Visu.h.

◆ objectFramesScale

float objectFramesScale = 1.0

Definition at line 85 of file Visu.h.

◆ oobbs

bool oobbs = false

Definition at line 82 of file Visu.h.

◆ updateTask

SimpleRunningTask ::pointer_type updateTask

Definition at line 110 of file Visu.h.

◆ useArticulatedModels

bool useArticulatedModels = true

Prefer articulated models if available.

Definition at line 105 of file Visu.h.


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