6 #include <Klampt/View/ViewResource.h> 8 #include "Main/RobotPoseQt/resourcemanager.h" 47 bool LoadCommandLine(
int argc,
const char** argv);
49 ResourceNodePtr Add(ResourcePtr r);
50 ResourceNodePtr Add(
const string& name,
const string& type);
52 ResourceNodePtr Add(
const string& name,
const T& val) {
53 ResourcePtr r=MakeResource(name,val);
56 ResourceNodePtr Add(
const string& name,
const vector<Real>& ts,
const vector<Config>& qs) {
57 ResourcePtr r=MakeResource(name,ts,qs);
61 void SaveCur(
const string& file);
63 bool LoadNew(
const string& file);
65 void SaveAll(
const string& path);
67 bool LoadAll(
const string& path);
71 void SetActive(
const string& identifier);
72 virtual void SetPathTime(
double time);
75 virtual bool OnCommand(
const string& cmd,
const string& args);
77 ResourcePtr CurrentResource();
78 void RenderCurResource();
81 ResourceManager* resources;
84 ResourceNodePtr last_added;
Definition: ViewResource.h:11
Defines all Klampt Resource types, and packing / unpacking utilities.
A backend for resource browsing. Natively supports configs, paths, transforms, ik goals...
Definition: ResourceGUI.h:43
A generic gui with a WorldModel which allows clicking on entities and loading files.
Definition: WorldGUI.h:23
Definition: ContactDistance.h:6
The main world class containing multiple robots, objects, and static geometries (terrains). Lights and other viewport information may also be stored here.
Definition: World.h:24