|
virtual WindowManagerPtr_t | clone (void) const |
|
WindowManagerPtr_t | self (void) const |
|
virtual bool | addNode (NodePtr_t graphical_object_ptr) |
|
virtual GroupNodePtr_t | getScene () const |
|
virtual bool | done () |
|
virtual bool | frame () |
|
virtual bool | run () |
|
virtual void | setWindowDimension (const osgVector2 &size) |
|
virtual void | setWindowPosition (const osgVector2 &position) |
|
osgVector2 | getWindowPosition () const |
|
osgVector2 | getWindowDimension () const |
|
std::string | getText (TextAlignment verticalPos, TextAlignment horizontalPos) const |
|
void | setText (TextAlignment verticalPos, TextAlignment horizontalPos, const std::string &text, float size=20) |
|
::osgViewer::ViewerRefPtr | getViewerClone () |
|
virtual | ~WindowManager () |
|
void | captureFrame (const std::string &filename) |
|
void | startCapture (const std::string &filename, const std::string &extension) |
|
void | stopCapture () |
|
bool | writeNodeFile (const std::string &filename) |
|
void | setBackgroundColor1 (const osg::Vec4 &color) |
|
void | setBackgroundColor2 (const osg::Vec4 &color) |
|
void | getCameraTransform (osg::Vec3d &pos, osg::Quat &rot) |
|
void | setCameraTransform (const osg::Vec3d &pos, const osg::Quat &rot) |
|
void | attachCameraToNode (NodePtr_t node) |
|
void | detachCamera () |
|
GroupNodePtr_t | clone (void) const |
|
GroupNodePtr_t | self (void) const |
|
virtual bool | addChild (NodePtr_t child_ptr) |
|
virtual bool | removeChild (NodePtr_t child_ptr) |
|
virtual bool | hasChild (NodePtr_t child_ptr) const |
|
virtual void | removeAllChildren () |
|
virtual size_t | getNumOfChildren () const |
|
virtual NodePtr_t | getChild (size_t i) const |
|
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 void | setAlpha (const float &alpha) |
|
void | setColor (const osgVector4 &color) |
|
void | traverse (NodeVisitor &visitor) |
|
virtual osg::ref_ptr< osg::Node > | getOsgNode () const |
|
virtual | ~GroupNode () |
|
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) |
|
void | applyConfiguration (const Configuration &cfg) |
|
void | setStaticTransform (const osgVector3 &position, const osgQuat &quat) |
|
osgQuat | getStaticRotation () const |
|
osgVector3 | getStaticPosition () const |
|
virtual void | setVisibilityMode (const VisibilityMode &visibility_state) |
| Virtual method for setting the visibility mode of the object : visible or not visible. More...
|
|
virtual const VisibilityMode & | getVisibilityMode () const |
|
virtual LightingMode | getLightingMode () const |
|
virtual const WireFrameMode & | getWireFrameMode () const |
|
void | setScale (float scale) |
|
void | setScale (const osgVector3 &scale) |
|
osgVector3 | getScale () 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 float | getAlpha () const |
|
void | setTransparency (const float &transparency) |
|
float | getTransparency () const |
|
virtual | ~Node () |
|
Property * | property (const std::string &name) const |
|
bool | callVoidProperty (const std::string &name) const |
|
template<typename T > |
bool | getProperty (const std::string &name, T &value) const |
|
template<typename T > |
bool | setProperty (const std::string &name, const T &value) |
| Set a property and set this object as dirty. More...
|
|
bool | hasProperty (const std::string &name) const |
|
const PropertyMap_t & | properties () const |
|
void | addProperty (const PropertyPtr_t &prop) |
| Add a property and take ownership. More...
|
|
void | addProperty (const std::string &name, const PropertyPtr_t &prop) |
| Add a property and take ownership. More...
|
|
void | addProperty (Property *prop) |
| Add a property and leave ownership. More...
|
|
void | addProperty (const std::string &name, Property *prop) |
| Add a property and leave ownership. More...
|
|
QWidget * | guiEditor () |
|
|
static WindowManagerPtr_t | create () |
|
static WindowManagerPtr_t | create (osg::GraphicsContext *gc) |
|
static WindowManagerPtr_t | create (osgViewer::Viewer *v, osg::GraphicsContext *gc) |
|
static WindowManagerPtr_t | create (const unsigned int &x, const unsigned int &y, const unsigned int &width, const unsigned int &height) |
|
static WindowManagerPtr_t | createCopy (WindowManagerPtr_t other) |
|
static GroupNodePtr_t | create (const std::string &name) |
|
static GroupNodePtr_t | createCopy (GroupNodePtr_t other) |
|
Manage a window that renders a scene. The root of the rendered scene is a GroupNode.