24 #ifndef __TMPPRIMITIVE_H
25 #define __TMPPRIMITIVE_H
28 #include <ode_robots/osgprimitive.h>
48 const std::string& colorname,
float alpha = 1.0);
60 std::string colorname;
79 const std::string& colorname,
float alpha = 1.0,
91 std::string colorname;
106 TmpJoint(
Joint* p,
const Color& color,
bool withVisual =
true,
double visualSize = 0.2,
107 bool ignoreColl =
true);
110 TmpJoint(
Joint* p,
const std::string& colorname,
float alpha = 1.0,
111 bool withVisual =
true,
double visualSize = 0.2,
bool ignoreColl =
true);
121 std::string colorname;
virtual void init(const OdeHandle &odeHandle, const OsgHandle &osgHandle)
Definition: tmpprimitive.cpp:132
virtual void update()
update graphics here
Definition: tmpprimitive.cpp:69
Data structure for accessing the ODE.
Definition: odehandle.h:44
TmpJoint(Joint *p, const Color &color, bool withVisual=true, double visualSize=0.2, bool ignoreColl=true)
creates a new tmporary object from the given joint and initializes it.
Definition: tmpprimitive.cpp:113
virtual void update()
update graphics here
Definition: tmpprimitive.h:85
virtual void update()
update graphics here
Definition: tmpprimitive.cpp:148
TmpDisplayItem(OSGPrimitive *p, const Pose &pose, const Color &color, OSGPrimitive::Quality quality=OSGPrimitive::Middle)
creates a new item from the given primitives and initializes it.
Definition: tmpprimitive.cpp:76
virtual void deleteObject()
deletes the object
Definition: tmpprimitive.cpp:143
Interface class for graphic primitives like spheres, boxes, and meshes, which can be drawn by OSG...
Definition: osgprimitive.h:62
holding a temporary primitive
Definition: tmpprimitive.h:38
virtual void init(const OdeHandle &odeHandle, const OsgHandle &osgHandle)
Definition: tmpprimitive.cpp:96
virtual void deleteObject()
deletes the object
Definition: tmpprimitive.cpp:64
Data structure for accessing the OpenSceneGraph.
Definition: osghandle.h:79
osg::Matrix Pose
Definition: pose.h:35
virtual void init(const OdeHandle &odeHandle, const OsgHandle &osgHandle)
Definition: tmpprimitive.cpp:53
holding a temporary joint
Definition: tmpprimitive.h:101
virtual void deleteObject()
deletes the object
Definition: tmpprimitive.cpp:107
Interface class for primitives represented in the physical and graphical world.
Definition: primitive.h:80
this is the base-class for objects that exist temporarily like some indicator of manipulation or a me...
Definition: tmpobject.h:37
Quality
Definition: osgprimitive.h:64
TmpPrimitive(Primitive *p, char mode, double mass, const Pose &pose, const Color &color)
creates a new item from the given primitives and initializes it.
Definition: tmpprimitive.cpp:34
holding a temporary graphical item
Definition: tmpprimitive.h:69
Definition: osgprimitive.h:64