#include <gepetto/viewer/roadmap-viewer.h>
Public Member Functions | |
| virtual RoadmapViewerPtr_t | clone (void) const |
| Proceed to a clonage of the current object defined by the copy constructor. More... | |
| RoadmapViewerPtr_t | self (void) const |
| Return a shared pointer of the current object. More... | |
| bool | addNode (osgVector3 position, osgQuat quat, ::OpenThreads::Mutex &mtx) |
| bool | addEdge (osgVector3 from, osgVector3 to, ::OpenThreads::Mutex &mtx) |
| virtual void | removeAllChildren () |
| virtual void | setVisibilityMode (const VisibilityMode &visibility_state) |
| Virtual method for setting the visibility mode of the object : visible or not visible. More... | |
| virtual void | setLightingMode (const LightingMode &lighting_state) |
| Virtual method for setting the lighting mode of the object : influence by light or not. More... | |
| virtual void | setWireFrameMode (const WireFrameMode &wireframe_state) |
| Virtual method for setting the wireframe mode of the object : visible or not. More... | |
| virtual size_t | getNumOfNodes () const |
| virtual size_t | getNumOfEdges () const |
| virtual LeafNodeXYZAxisPtr_t | getNode (size_t i) const |
| virtual LeafNodeLinePtr_t | getEdge (size_t i) const |
| virtual float | getRadiusSphere () const |
| virtual float | getSizeAxis () const |
| virtual osgVector4 | getColorNode () const |
| virtual osgVector4 | getColorEdge () const |
| void | setColorNode (const osgVector4 &color) |
| void | setColorEdge (const osgVector4 &color) |
| void | setColor (const osgVector4 &color) |
| Set the color of the object. More... | |
Public Member Functions inherited from gepetto::viewer::Node | |
| const Configuration & | getGlobalTransform () const |
| returns rotation and position of the node in word frame More... | |
| std::string | getID () const |
| getID is a public method for getting the id_name of the Object More... | |
| bool | isDirty () const |
| void | setDirty (bool dirty=true) |
| Called when a property is modified. More... | |
| void | applyConfiguration (const osgVector3 &position, const osgQuat &quat) |
| Apply a new global configuration. More... | |
| void | applyConfiguration (const Configuration &cfg) |
| Apply a new global configuration. More... | |
| void | setStaticTransform (const osgVector3 &position, const osgQuat &quat) |
| Set Static transformation. More... | |
| osgQuat | getStaticRotation () const |
| Get Static rotation. More... | |
| osgVector3 | getStaticPosition () const |
| Get Static position. More... | |
| virtual const VisibilityMode & | getVisibilityMode () const |
| virtual LightingMode | getLightingMode () const |
| virtual const WireFrameMode & | getWireFrameMode () const |
| virtual void | setScale (float scale) |
| Set scale value of the OSG object. More... | |
| virtual void | setScale (const osgVector3 &scale) |
| Set scales value of the OSG object. More... | |
| osgVector3 | getScale () const |
| Get scale. More... | |
| virtual osg::ref_ptr< osg::Node > | getOsgNode () const |
| virtual ::osg::GroupRefPtr | asGroup () const |
| Return the root node to include it in the scene. More... | |
| virtual void | addLandmark (const float &size) |
| bool | hasLandmark () const |
| ::osg::StateSetRefPtr | getOrCreateRootStateSet () |
| void | deleteLandmark () |
| bool | getHighlightEnabled () const |
| void | setHighlightEnabled (bool enabled) |
| void | setHighlightState (unsigned int state) |
| const std::size_t & | getHighlightState () const |
| virtual void | setAlpha (const float &alpha) |
| virtual float | getAlpha () const |
| void | setTransparency (const float &transparency) |
| float | getTransparency () const |
| void | setTransparentRenderingBin (bool transparent=true) |
| virtual void | traverse (NodeVisitor &visitor) |
| virtual | ~Node () |
Public Member Functions inherited from gepetto::viewer::Properties | |
| template<typename T > | |
| bool | getProperty (const std::string &name, T &value) const |
| template<typename T > | |
| bool | setProperty (const std::string &name, const T &value) |
| bool | hasProperty (const std::string &name) const |
| const PropertyMap_t & | properties () const |
| void | addProperty (const PropertyPtr_t &prop) |
| void | addProperty (const std::string &name, const PropertyPtr_t &prop) |
Static Public Member Functions | |
| static RoadmapViewerPtr_t | create (const std::string &name, const osgVector4 &colorNode, float radiusSphere, float sizeAxis, const osgVector4 &colorEdge) |
| Static method which create a new box defined by the half_axis vector. More... | |
| static RoadmapViewerPtr_t | createCopy (RoadmapViewerPtr_t other) |
| Static method for creating a clone of box other with the copy constructor. More... | |
Protected Member Functions | |
| RoadmapViewer (const std::string &name, const osgVector4 &colorNode, float radiusSphere, float sizeAxis, const osgVector4 &colorEdge) | |
| Default constructor. More... | |
| RoadmapViewer (const RoadmapViewer &other) | |
| Copy constructor. More... | |
Protected Member Functions inherited from gepetto::viewer::Node | |
| Node (const std::string &name) | |
| Default constructor. More... | |
| Node (const Node &other) | |
| Copy constructor. More... | |
| ::osg::GroupRefPtr | asQueue () const |
| Return the root node to include it in the scene. More... | |
| void | setID (const std::string &id_name) |
Protected Member Functions inherited from gepetto::viewer::Properties | |
| const PropertyPtr_t & | property (const std::string &name) const |
Additional Inherited Members | |
Public Attributes inherited from gepetto::viewer::Node | |
| SCENE_VIEWER_ACCEPT_VISITOR | |
Static Public Attributes inherited from gepetto::viewer::Node | |
| static const float | TransparencyRenderingBinThreshold |
Protected Attributes inherited from gepetto::viewer::Node | |
| ::osg::GeodeRefPtr | landmark_geode_ptr_ |
| protected because it's used in LeafNodeCapsule More... | |
| ::osg::GeodeRefPtr | geode_ptr_ |
| Geode pointer for landmarks. More... | |
| float | alpha_ |
| Alpha value. More... | |
Protected Attributes inherited from gepetto::viewer::Properties | |
| PropertyMap_t | properties_ |
|
protected |
Default constructor.
|
protected |
Copy constructor.
| bool gepetto::viewer::RoadmapViewer::addEdge | ( | osgVector3 | from, |
| osgVector3 | to, | ||
| ::OpenThreads::Mutex & | mtx | ||
| ) |
| bool gepetto::viewer::RoadmapViewer::addNode | ( | osgVector3 | position, |
| osgQuat | quat, | ||
| ::OpenThreads::Mutex & | mtx | ||
| ) |
|
virtual |
Proceed to a clonage of the current object defined by the copy constructor.
|
static |
Static method which create a new box defined by the half_axis vector.
|
static |
Static method for creating a clone of box other with the copy constructor.
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
virtual |
| RoadmapViewerPtr_t gepetto::viewer::RoadmapViewer::self | ( | void | ) | const |
Return a shared pointer of the current object.
|
inlinevirtual |
Set the color of the object.
Implements gepetto::viewer::Node.
| void gepetto::viewer::RoadmapViewer::setColorEdge | ( | const osgVector4 & | color | ) |
| void gepetto::viewer::RoadmapViewer::setColorNode | ( | const osgVector4 & | color | ) |
|
virtual |
Virtual method for setting the lighting mode of the object : influence by light or not.
| lightingmode | state |
Reimplemented from gepetto::viewer::Node.
|
virtual |
Virtual method for setting the visibility mode of the object : visible or not visible.
| visibilitymode | state |
Reimplemented from gepetto::viewer::Node.
|
virtual |
Virtual method for setting the wireframe mode of the object : visible or not.
| wireframemode | state |
Reimplemented from gepetto::viewer::Node.