|
| ViewerBase (EnvironmentBasePtr penv) |
|
virtual | ~ViewerBase () |
|
virtual void | RemoveKinBody (KinBodyPtr pbody) OPENRAVE_DUMMY_IMPLEMENTATION |
| notified when a body has been removed from the environment
|
|
virtual int | main (bool bShow=true)=0 |
| goes into the main loop
|
|
virtual void | quitmainloop ()=0 |
| destroys the main loop
|
|
virtual void | Reset () OPENRAVE_DUMMY_IMPLEMENTATION |
|
virtual void | SetBkgndColor (const RaveVector< float > &color) OPENRAVE_DUMMY_IMPLEMENTATION |
|
virtual UserDataPtr | RegisterItemSelectionCallback (const ItemSelectionCallbackFn &fncallback) OPENRAVE_DUMMY_IMPLEMENTATION |
| registers a function with the viewer that gets called everytime mouse button is clicked
|
|
virtual UserDataPtr | RegisterViewerImageCallback (const ViewerImageCallbackFn &fncallback) OPENRAVE_DUMMY_IMPLEMENTATION |
| registers a function with the viewer that gets called for every new image rendered.
|
|
virtual UserDataPtr | RegisterViewerThreadCallback (const ViewerThreadCallbackFn &fncallback) OPENRAVE_DUMMY_IMPLEMENTATION |
| registers a function with the viewer that gets called in the viewer's GUI thread for every cycle the viewer refreshes at
|
|
virtual void | SetEnvironmentSync (bool bUpdate) OPENRAVE_DUMMY_IMPLEMENTATION |
| controls whether the viewer synchronizes with the newest environment automatically
|
|
virtual void | EnvironmentSync () OPENRAVE_DUMMY_IMPLEMENTATION |
| forces synchronization with the environment, returns when the environment is fully synchronized.
|
|
virtual void | SetSize (int w, int h) OPENRAVE_DUMMY_IMPLEMENTATION |
|
virtual void | ViewerSetSize (int w, int h) RAVE_DEPRECATED |
|
virtual void | Move (int x, int y) OPENRAVE_DUMMY_IMPLEMENTATION |
|
virtual void | ViewerMove (int x, int y) RAVE_DEPRECATED |
|
virtual void | SetName (const std::string &name) OPENRAVE_DUMMY_IMPLEMENTATION |
|
virtual void | ViewerSetTitle (const std::string &ptitle) RAVE_DEPRECATED |
|
virtual const std::string & | GetName () const OPENRAVE_DUMMY_IMPLEMENTATION |
|
virtual void | UpdateCameraTransform () RAVE_DEPRECATED OPENRAVE_DUMMY_IMPLEMENTATION |
|
virtual UserDataPtr | RegisterCallback (int properties, const ItemSelectionCallbackFn &fncallback) RAVE_DEPRECATED |
|
|
virtual void | SetCamera (const RaveTransform< float > &trans, float focalDistance=0) OPENRAVE_DUMMY_IMPLEMENTATION |
| Set the camera transformation.
|
|
virtual RaveTransform< float > | GetCameraTransform () const OPENRAVE_DUMMY_IMPLEMENTATION |
| Return the current camera transform that the viewer is rendering the environment at.
|
|
virtual
geometry::RaveCameraIntrinsics
< float > | GetCameraIntrinsics () const OPENRAVE_DUMMY_IMPLEMENTATION |
| Return the closest camera intrinsics that the viewer is rendering the environment at.
|
|
virtual bool | GetCameraImage (std::vector< uint8_t > &memory, int width, int height, const RaveTransform< float > &t, const SensorBase::CameraIntrinsics &intrinsics) OPENRAVE_DUMMY_IMPLEMENTATION |
| Renders a 24bit RGB image of dimensions width and height from the current scene.
|
|
| InterfaceBase (InterfaceType type, EnvironmentBasePtr penv) |
|
virtual | ~InterfaceBase () |
|
InterfaceType | GetInterfaceType () const |
|
const std::string & | GetXMLId () const |
|
const std::string & | GetPluginName () const |
|
EnvironmentBasePtr | GetEnv () const |
|
const READERSMAP & | GetReadableInterfaces () const |
| Returns the raw map reference, this is not multithread safe and the GetInterfaceMutex should be locked before using.
|
|
virtual XMLReadablePtr | GetReadableInterface (const std::string &xmltag) const |
| Returns the readable interface. [multi-thread safe]
|
|
virtual XMLReadablePtr | SetReadableInterface (const std::string &xmltag, XMLReadablePtr readable) |
| Set a new readable interface and return the previously set interface if it exists. [multi-thread safe]
|
|
virtual const std::string & | GetDescription () const |
| Documentation of the interface in reStructuredText format. See Documenting Interfaces. [multi-thread safe]
|
|
virtual void | SetDescription (const std::string &description) |
| sets a description [multi-thread safe]
|
|
virtual void | SetUserData (const std::string &key, UserDataPtr data) const |
| set user data for a specific key. [multi-thread safe]
|
|
virtual UserDataPtr | GetUserData (const std::string &key=std::string()) const |
| return the user custom data [multi-thread safe]
|
|
virtual bool | RemoveUserData (const std::string &key) const |
| removes a user data pointer. if user data pointer does not exist, then return 0, otherwise 1. [multi-thread safe]
|
|
virtual void | SetUserData (UserDataPtr data) RAVE_DEPRECATED |
|
virtual const std::string & | GetURI () const |
| the URI used to load the interface (sometimes this is not possible if the definition lies inside an environment file). [multi-thread safe]
|
|
virtual const std::string & | GetXMLFilename () const |
|
virtual void | Clone (InterfaceBaseConstPtr preference, int cloningoptions) |
| Clone the contents of an interface to the current interface.
|
|
virtual bool | SendCommand (std::ostream &os, std::istream &is) |
| Used to send special commands to the interface and receive output.
|
|
virtual void | Serialize (BaseXMLWriterPtr writer, int options=0) const |
| serializes the interface
|
|
|
virtual void | SetViewerData (KinBodyPtr body, UserDataPtr data) RAVE_DEPRECATED |
|
virtual GraphHandlePtr | plot3 (const float *ppoints, int numPoints, int stride, float fPointSize, const RaveVector< float > &color, int drawstyle=0) OPENRAVE_DUMMY_IMPLEMENTATION |
|
virtual GraphHandlePtr | plot3 (const float *ppoints, int numPoints, int stride, float fPointSize, const float *colors, int drawstyle=0, bool bhasalpha=false) OPENRAVE_DUMMY_IMPLEMENTATION |
|
virtual GraphHandlePtr | drawlinestrip (const float *ppoints, int numPoints, int stride, float fwidth, const RaveVector< float > &color) OPENRAVE_DUMMY_IMPLEMENTATION |
|
virtual GraphHandlePtr | drawlinestrip (const float *ppoints, int numPoints, int stride, float fwidth, const float *colors) OPENRAVE_DUMMY_IMPLEMENTATION |
|
virtual GraphHandlePtr | drawlinelist (const float *ppoints, int numPoints, int stride, float fwidth, const RaveVector< float > &color) OPENRAVE_DUMMY_IMPLEMENTATION |
|
virtual GraphHandlePtr | drawlinelist (const float *ppoints, int numPoints, int stride, float fwidth, const float *colors) OPENRAVE_DUMMY_IMPLEMENTATION |
|
virtual GraphHandlePtr | drawarrow (const RaveVector< float > &p1, const RaveVector< float > &p2, float fwidth, const RaveVector< float > &color) OPENRAVE_DUMMY_IMPLEMENTATION |
|
virtual GraphHandlePtr | drawbox (const RaveVector< float > &vpos, const RaveVector< float > &vextents) OPENRAVE_DUMMY_IMPLEMENTATION |
|
virtual GraphHandlePtr | drawplane (const RaveTransform< float > &tplane, const RaveVector< float > &vextents, const boost::multi_array< float, 3 > &vtexture) OPENRAVE_DUMMY_IMPLEMENTATION |
|
virtual GraphHandlePtr | drawtrimesh (const float *ppoints, int stride, const int *pIndices, int numTriangles, const RaveVector< float > &color) OPENRAVE_DUMMY_IMPLEMENTATION |
|
virtual GraphHandlePtr | drawtrimesh (const float *ppoints, int stride, const int *pIndices, int numTriangles, const boost::multi_array< float, 2 > &colors) OPENRAVE_DUMMY_IMPLEMENTATION |
|
ViewerBasePtr | shared_viewer () |
|
ViewerBaseConstPtr | shared_viewer_const () const |
|
virtual void | RegisterCommand (const std::string &cmdname, InterfaceCommandFn fncmd, const std::string &strhelp) |
| Registers a command and its help string. [multi-thread safe]
|
|
virtual void | UnregisterCommand (const std::string &cmdname) |
| Unregisters the command. [multi-thread safe]
|
|
virtual boost::shared_mutex & | GetInterfaceMutex () const |
|
[interface] Base class for the graphics and gui engine that renders the environment and provides visual sensor information. If not specified, method is not multi-thread safe. See Viewer Concepts.
viewer.h の 53 行で定義されています。