RigsofRods
Soft-body Physics Simulation
AngelOgre_MovableObject.h
Go to the documentation of this file.
1 
2 namespace AngelOgre { // Dummy namespace, just to distinguish AngelScript from C++
3 
15  {
16  public:
17 
19  const string& getName(void) const;
20 
22  const string& getMovableType(void) const;
23 
30  Node* getParentNode(void) const;
31 
39  SceneNode@ getParentSceneNode(void) const;
40 
42  bool isParentTagPoint() const;
43 
45  bool isAttached(void) const;
46 
48  void detachFromParent(void);
49 
53  bool isInScene(void) const;
54 
59  // const AxisAlignedBox& getBoundingBox(void) const = 0;
60 
64  float getBoundingRadius(void) const;
65 
68  void setVisible(bool visible);
69 
74  bool getVisible(void) const;
75 
80  bool isVisible(void) const;
81 
87  void setRenderingDistance(float dist);
88 
90  float getRenderingDistance(void) const { return mUpperDistance; }
91 
97  void setRenderingMinPixelSize(float pixelSize);
98 
101  float getRenderingMinPixelSize() const;
102 
107  // UserObjectBindings& getUserObjectBindings() { return mUserObjectBindings; }
108 
113  // const UserObjectBindings& getUserObjectBindings() const { return mUserObjectBindings; }
114 
115 
128  void setCastShadows(bool enabled);
129 
131  bool getCastShadows(void) const;
132 
141  void setDebugDisplayEnabled(bool enabled);
142 
144  bool isDebugDisplayEnabled(void) const;
145  };
146 
149 
150 } // namespace AngelOgre (dummy, just to distinguish AngelScript from C++)
151 
AngelOgre::MovableObject::getRenderingDistance
float getRenderingDistance(void) const
Gets the distance at which batches are no longer rendered.
Definition: AngelOgre_MovableObject.h:90
AngelOgre::MovableObject::detachFromParent
void detachFromParent(void)
Detaches an object from a parent SceneNode or TagPoint, if attached.
AngelOgre::MovableObject::getVisible
bool getVisible(void) const
Gets this object whether to be visible or not, if it has a renderable component.
AngelOgre::MovableObject::isAttached
bool isAttached(void) const
Returns true if this object is attached to a SceneNode or TagPoint.
AngelOgre::MovableObject::getMovableType
const string & getMovableType(void) const
Returns the type name of this object.
AngelOgre::MovableObject::setRenderingMinPixelSize
void setRenderingMinPixelSize(float pixelSize)
Sets the minimum pixel size an object needs to be in both screen axes in order to be rendered.
AngelOgre::MovableObject::setVisible
void setVisible(bool visible)
Tells this object whether to be visible or not, if it has a renderable component.
AngelOgre::MovableObject::isVisible
bool isVisible(void) const
Returns whether or not this object is supposed to be visible or not.
AngelOgre::MovableObject::setCastShadows
void setCastShadows(bool enabled)
Return an instance of user objects binding associated with this class.
AngelOgre::MovableObject::getRenderingMinPixelSize
float getRenderingMinPixelSize() const
Returns the minimum pixel size an object needs to be in both screen axes in order to be rendered.
AngelOgre::MovableObject::isDebugDisplayEnabled
bool isDebugDisplayEnabled(void) const
Gets whether debug display of this object is enabled.
AngelOgre::SceneNode
Class representing a node in the scene graph.
Definition: AngelOgre_OgreSceneNode.h:20
AngelOgre::MovableObject::getParentSceneNode
SceneNode getParentSceneNode(void) const
Returns the scene node to which this object is attached.
AngelOgre::MovableObject::isParentTagPoint
bool isParentTagPoint() const
Gets whether the parent node is a TagPoint (or a SceneNode)
AngelOgre
OGRE-AngelScript bindings; Actually named Ogre in the scripts, just changed for docs to separate thin...
Definition: AngelOgre_AnimationState.h:2
AngelOgre::MovableObject::getBoundingRadius
float getBoundingRadius(void) const
Retrieves the local axis-aligned bounding box for this object.
AngelOgre::MovableObject::getName
const string & getName(void) const
Returns the name of this object.
AngelOgre::MovableObject::getCastShadows
bool getCastShadows(void) const
Returns whether shadow casting is enabled for this object.
AngelOgre::MovableObject::getParentNode
Node * getParentNode(void) const
Returns the node to which this object is attached.
AngelOgre::MovableObject
Abstract class defining a movable object in a scene.
Definition: AngelOgre_MovableObject.h:14
AngelOgre::MovableObject::setRenderingDistance
void setRenderingDistance(float dist)
Sets the distance at which the object is no longer rendered.
AngelOgre::MovableObject::isInScene
bool isInScene(void) const
Returns true if this object is attached to a SceneNode or TagPoint, and this SceneNode / TagPoint is ...
AngelOgre::Node
Definition: AngelOgre_Node.h:12
AngelOgre::MovableObject::setDebugDisplayEnabled
void setDebugDisplayEnabled(bool enabled)
Sets whether or not the debug display of this object is enabled.