Gazebo

OgreVisual Class Reference

#include <OgreVisual.hh>

List of all members.


Detailed Description

Ogre Visual Object.


Public Member Functions

 OgreVisual (OgreVisual *node)
 Constructor.
virtual ~OgreVisual ()
 Destructor.
void AttachObject (Ogre::MovableObject *obj)
 Attach a renerable object to the visual.
void AttachMesh (const std::string &meshName)
 Attach a mesh to this visual by name.
void Load (XMLConfigNode *node)
 Load the visual.
void Save ()
 Save the visual.
void SetScale (Vector3 scale)
 Set the scale.
Vector3 GetScale ()
 Get the scale.
void SetMaterial (const std::string &materialName)
 Set the material.
void SetTransparency (float trans)
 Set the transparency.
void SetHighlight (bool highlight)
 Set highlighted or no.
void SetCastShadows (bool shadows)
 Set whether the visual should cast shadows.
void SetVisible (bool visible, bool cascade=true)
 Set whether the visual is visible.
void SetPosition (const Vector3 &pos)
 Set the position of the visual.
void SetRotation (const Quatern &rot)
 Set the rotation of the visual.
void SetPose (const Pose3d &pose)
 Set the pose of the visual.
Vector3 GetPosition ()
 Get the position of the visual.
Quatern GetRotation ()
 Get the rotation of the visual.
Pose3d GetPose ()
 Get the pose of the visual.
Ogre::SceneNode * GetSceneNode ()
 Return the scene Node of this visual entity.
void AttachBoundingBox (const Vector3 &min, const Vector3 &max)
 Create a bounding box for this visual.


Member Function Documentation

void SetVisible ( bool  visible,
bool  cascade = true 
)

Set whether the visual is visible.

Parameters:
visible set this node visible
cascade setting this parameter in children too


The documentation for this class was generated from the following file:

Last updated Aug 04 2007