RenderGenericObject Class Reference

This file contains the implementation of some RenderWObject for drawing object and also the initialization of RenderWorld's factory for retrieving them. More...

Inheritance diagram for RenderGenericObject:

List of all members.

Public Member Functions

 RenderGenericObject (WObject *wobj, RenderWObjectContainer *container)
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 *)
virtual void renderAABB (RenderWorld *gw)
 The function rendering the Axis-Aligned Bounding Box (AABB)

Protected Attributes

real rad

Detailed Description

This file contains the implementation of some RenderWObject for drawing object and also the initialization of RenderWorld's factory for retrieving them.

Definition at line 57 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:
minPointthe minimum point of the AABB
maxPointthe maximum point of the AABB
tmthe transformation matrix with respect to which the minPoint and maxPoint of AABB have to be calculated

Reimplemented from RenderWObject.

Definition at line 70 of file renderwobjecthierarchy.cpp.

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:
dimensionthe dimension of the OBB
minPointthe minimum point of the OBB
maxPointthe maximum point of the OBB

Reimplemented from RenderWObject.

Definition at line 76 of file renderwobjecthierarchy.cpp.

virtual void renderAABB ( RenderWorld gw) [inline, virtual]

The function rendering the Axis-Aligned Bounding Box (AABB)

Reimplemented from RenderWObject.

Definition at line 65 of file renderwobjecthierarchy.cpp.

References RenderWObjectContainer::drawWireBox().


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