GraspCandidateVisu.h
Go to the documentation of this file.
1 #pragma once
2 
5 
6 #include <RobotAPI/interface/units/GraspCandidateProviderInterface.h>
7 
8 
9 namespace armarx::grasping
10 {
12  {
13  public:
15 
16 
17  void visualize(
18  const grasping::GraspCandidateDict& candidates,
19  viz::Client& arviz);
20 
21  void visualize(
22  const grasping::GraspCandidateDict& candidates,
23  viz::Layer& layerReachable,
24  viz::Layer& layerNonReachable);
25 
26  void visualize(
27  const std::string& id,
28  const grasping::GraspCandidate& candidate,
29  viz::Layer& layerReachable,
30  viz::Layer& layerNonReachable);
31 
33  const std::string& name,
34  const grasping::GraspCandidate& candidate);
36  const std::string& name,
37  const grasping::GraspCandidate& candidate,
38  int alpha);
39 
40 
41  public:
42 
43  int alpha_default = 255;
44  std::map<std::string, int> alphasByKey = {};
45 
46 
47  };
48 }
Client.h
armarx::grasping
Definition: aron_conversions.h:9
armarx::grasping::GraspCandidateVisu
Definition: GraspCandidateVisu.h:11
armarx::grasping::GraspCandidateVisu::alphasByKey
std::map< std::string, int > alphasByKey
Definition: GraspCandidateVisu.h:44
Layer.h
armarx::grasping::GraspCandidateVisu::visualize
void visualize(const grasping::GraspCandidateDict &candidates, viz::Client &arviz)
Definition: GraspCandidateVisu.cpp:14
armarx::grasping::GraspCandidateVisu::GraspCandidateVisu
GraspCandidateVisu()
Definition: GraspCandidateVisu.cpp:9
armarx::viz::Robot
Definition: Robot.h:10
armarx::viz::Client
Definition: Client.h:109
armarx::viz::Layer
Definition: Layer.h:12
armarx::grasping::GraspCandidateVisu::alpha_default
int alpha_default
Definition: GraspCandidateVisu.h:43