Frontend::Utils::SceneGraph::BoundingShape Class Reference

#include <BoundingShape.h>

Inheritance diagram for Frontend::Utils::SceneGraph::BoundingShape:

Frontend::Utils::SceneGraph::Node Frontend::Object List of all members.

Public Member Functions

 BoundingShape ()
void SetBoundingMask (int mask)
void SetBoundingBit (TargetType bit, bool value)
void SetShape (Shapes::Shape *shape)
Shapes::ShapeGetShape ()
int GetBoundingMask ()
bool Bounds (TargetType bit)
NodeType GetType ()
virtual void Traverse (State *state)
void SwapDown ()
 Swap this node on level down in the graph.
void InsertAbove (Node *node)
 Inserts a node as a new generation between this node and its parent.
int GetChildCount ()
NodeGetChild (int index)
NodeGetParent ()
bool HasParent ()
bool HasChildren ()
bool Insert (Node *node)
bool Remove (Node *node)
bool Contains (Node *node)
void AddRef ()
 Adds a reference to the object.
void Release ()
 Releases a reference on the object.
unsigned int GetRefCount ()
 Returns the number of references on the object.

Protected Member Functions

int getChildCount ()
NodegetChild (int index)
void traverseChildren (State *state)
virtual bool acceptsParent (Node *parent)
virtual bool acceptsChild (Node *child)
virtual bool acceptsDescendant (Node *descendant)
virtual bool acceptsAncestor (Node *ancestor)

Private Attributes

Managed< Shapes::Shapeshape
int boundingMask

Constructor & Destructor Documentation

Frontend::Utils::SceneGraph::BoundingShape::BoundingShape  ) 
 


Member Function Documentation

virtual bool Frontend::Utils::SceneGraph::Node::acceptsAncestor Node ancestor  )  [protected, virtual, inherited]
 

virtual bool Frontend::Utils::SceneGraph::Node::acceptsChild Node child  )  [protected, virtual, inherited]
 

virtual bool Frontend::Utils::SceneGraph::Node::acceptsDescendant Node descendant  )  [protected, virtual, inherited]
 

virtual bool Frontend::Utils::SceneGraph::Node::acceptsParent Node parent  )  [protected, virtual, inherited]
 

void Frontend::Object::AddRef  )  [inherited]
 

Adds a reference to the object.

Aqcuires an additional ownership on the object. The object will not be deleted until all owners have called Release() on it.

See also:
Release()

bool Frontend::Utils::SceneGraph::BoundingShape::Bounds TargetType  bit  ) 
 

bool Frontend::Utils::SceneGraph::Node::Contains Node node  )  [inherited]
 

int Frontend::Utils::SceneGraph::BoundingShape::GetBoundingMask  ) 
 

Node* Frontend::Utils::SceneGraph::Node::GetChild int  index  )  [inline, inherited]
 

Node* Frontend::Utils::SceneGraph::Node::getChild int  index  )  [protected, inherited]
 

int Frontend::Utils::SceneGraph::Node::GetChildCount  )  [inline, inherited]
 

int Frontend::Utils::SceneGraph::Node::getChildCount  )  [protected, inherited]
 

Node* Frontend::Utils::SceneGraph::Node::GetParent  )  [inline, inherited]
 

unsigned int Frontend::Object::GetRefCount  )  [inline, inherited]
 

Returns the number of references on the object.

Returns:
The number of references on the object.

Shapes::Shape* Frontend::Utils::SceneGraph::BoundingShape::GetShape  ) 
 

NodeType Frontend::Utils::SceneGraph::BoundingShape::GetType  )  [virtual]
 

Implements Frontend::Utils::SceneGraph::Node.

bool Frontend::Utils::SceneGraph::Node::HasChildren  )  [inline, inherited]
 

bool Frontend::Utils::SceneGraph::Node::HasParent  )  [inline, inherited]
 

bool Frontend::Utils::SceneGraph::Node::Insert Node node  )  [inherited]
 

void Frontend::Utils::SceneGraph::Node::InsertAbove Node node  )  [inherited]
 

Inserts a node as a new generation between this node and its parent.

void Frontend::Object::Release  )  [inherited]
 

Releases a reference on the object.

If you are an owner of an object, use this function to release it when you are done with it. The object will not be deleted until all owners have called Release() on it.

bool Frontend::Utils::SceneGraph::Node::Remove Node node  )  [inherited]
 

void Frontend::Utils::SceneGraph::BoundingShape::SetBoundingBit TargetType  bit,
bool  value
 

void Frontend::Utils::SceneGraph::BoundingShape::SetBoundingMask int  mask  ) 
 

void Frontend::Utils::SceneGraph::BoundingShape::SetShape Shapes::Shape shape  ) 
 

void Frontend::Utils::SceneGraph::Node::SwapDown  )  [inherited]
 

Swap this node on level down in the graph.

This node must have exactly one child. This node exchanges parent and children with the single child node.

Parameters:
n Node To exchange parent and children with.

virtual void Frontend::Utils::SceneGraph::BoundingShape::Traverse State state  )  [virtual]
 

Implements Frontend::Utils::SceneGraph::Node.

void Frontend::Utils::SceneGraph::Node::traverseChildren State state  )  [protected, inherited]
 


Member Data Documentation

int Frontend::Utils::SceneGraph::BoundingShape::boundingMask [private]
 

Managed<Shapes::Shape> Frontend::Utils::SceneGraph::BoundingShape::shape [private]
 


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