OnlineViewer_impl.h
Go to the documentation of this file.
1 #include <hrpCorba/OnlineViewer.hh>
2 #include <map>
3 #include <string>
4 #include "hrpsys/util/LogManager.h"
5 
6 class GLscene;
7 class GLbody;
8 
9 namespace OpenHRP{
10 
11 class OnlineViewer_impl : public POA_OpenHRP::OnlineViewer
12 {
13 public:
14  OnlineViewer_impl(CORBA::ORB_ptr orb, PortableServer::POA_ptr poa,
15  GLscene *i_scene, LogManager<OpenHRP::WorldState> *i_log);
16  virtual ~OnlineViewer_impl();
17 
18  virtual PortableServer::POA_ptr _default_POA();
19 
20  void update(const WorldState& state);
21  void load(const char* name, const char* url);
22  void clearLog();
23  void clearData();
24  void drawScene(const WorldState& state);
25  void setLineWidth(::CORBA::Float width);
26  void setLineScale(::CORBA::Float scale);
27  ::CORBA::Boolean getPosture(const char* robotId, DblSequence_out posture);
28  void setLogName(const char* name);
29 
30 private:
31  CORBA::ORB_var orb;
32  PortableServer::POA_var poa;
35  std::map<std::string, GLbody *> models;
36 };
37 
38 };
std::map< std::string, GLbody * > models
void setLineWidth(::CORBA::Float width)
state
LogManager< OpenHRP::WorldState > * log
void setLineScale(::CORBA::Float scale)
png_infop png_charpp name
virtual PortableServer::POA_ptr _default_POA()
void load(const char *name, const char *url)
png_infop png_uint_32 * width
Definition: GLbody.h:11
OnlineViewer_impl(CORBA::ORB_ptr orb, PortableServer::POA_ptr poa, GLscene *i_scene, LogManager< OpenHRP::WorldState > *i_log)
void update(const WorldState &state)
PortableServer::POA_var poa
::CORBA::Boolean getPosture(const char *robotId, DblSequence_out posture)
void setLogName(const char *name)
void drawScene(const WorldState &state)


hrpsys
Author(s): AIST, Fumio Kanehiro
autogenerated on Thu May 6 2021 02:41:50