GraphicalWObjectRenderer Class Reference
Inheritance diagram for GraphicalWObjectRenderer:

Public Member Functions | |
GraphicalWObjectRenderer (WObject *obj, RenderWObjectContainer *rw) | |
virtual void | calculateAABB (wVector &minPoint, wVector &maxPoint, const wMatrix tm) |
Returns the min and max points of the Axis-Aligned Bounding Box (AABB) | |
virtual void | calculateOBB (wVector &dimension, wVector &minPoint, wVector &maxPoint) |
Returns the dimension of the Oriented Bounding Box (OBB) in the object local frame. | |
virtual void | render (QGLContext *gw) |
virtual void | renderAABB (RenderWorld *gw) |
The function rendering the Axis-Aligned Bounding Box (AABB) |
Detailed Description
Definition at line 696 of file renderwobjecthierarchy.cpp.
Member Function Documentation
virtual void calculateAABB | ( | wVector & | minPoint, |
wVector & | maxPoint, | ||
const wMatrix | tm | ||
) | [inline, virtual] |
Returns the min and max points of the Axis-Aligned Bounding Box (AABB)
- Parameters:
-
minPoint the minimum point of the AABB maxPoint the maximum point of the AABB tm the transformation matrix with respect to which the minPoint and maxPoint of AABB have to be calculated
Reimplemented from RenderWObject.
Definition at line 719 of file renderwobjecthierarchy.cpp.
References GraphicalWObject::updateAndCalculateAABB().
virtual void calculateOBB | ( | wVector & | dimension, |
wVector & | minPoint, | ||
wVector & | maxPoint | ||
) | [inline, virtual] |
Returns the dimension of the Oriented Bounding Box (OBB) in the object local frame.
- Parameters:
-
dimension the dimension of the OBB minPoint the minimum point of the OBB maxPoint the maximum point of the OBB
Reimplemented from RenderWObject.
Definition at line 724 of file renderwobjecthierarchy.cpp.
References GraphicalWObject::updateAndCalculateOBB().
virtual void renderAABB | ( | RenderWorld * | gw | ) | [inline, virtual] |
The function rendering the Axis-Aligned Bounding Box (AABB)
Reimplemented from RenderWObject.
Definition at line 714 of file renderwobjecthierarchy.cpp.
References GraphicalWObject::updateAndRenderAABB().
The documentation for this class was generated from the following file:
- worldsim/src/renderwobjecthierarchy.cpp