Inheritance diagram for RenderPhyBox:

Public Member Functions

 RenderPhyBox (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) More...
 
virtual void calculateOBB (wVector &dimension, wVector &minPoint, wVector &maxPoint)
 Returns the dimension of the Oriented Bounding Box (OBB) in the object local frame. More...
 
virtual void render (QGLContext *gw)
 
virtual void renderAABB (RenderWorld *gw)
 The function rendering the Axis-Aligned Bounding Box (AABB) More...
 
- Public Member Functions inherited from RenderWObject
 RenderWObject (WObject *o, RenderWObjectContainer *container)
 
RenderWObjectContainercontainer ()
 return the Container on which this object is, or the OpenGL windows where it is displayed More...
 
void drawLabel ()
 Draws the label of the object if it has to. More...
 
WObjectobject ()
 return the WObject that this RenderWObject display on OpenGL More...
 
virtual void objectAlreadyDestroyed ()
 This function is called before the destruction if the WObject we are supposed to draw has already been destroyed. More...
 

Protected Attributes

PhyBoxbox
 
real dx
 
real dy
 
real dz
 
- Protected Attributes inherited from RenderWObject
RenderWObjectContainercontain
 
WObjectobj
 

Detailed Description

Definition at line 162 of file renderwobjecthierarchy.cpp.

Member Function Documentation

virtual void calculateAABB ( wVector minPoint,
wVector maxPoint,
const wMatrix  tm 
)
inlinevirtual

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 248 of file renderwobjecthierarchy.cpp.

virtual void calculateOBB ( wVector dimension,
wVector minPoint,
wVector maxPoint 
)
inlinevirtual

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 258 of file renderwobjecthierarchy.cpp.

virtual void renderAABB ( RenderWorld gw)
inlinevirtual

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

Reimplemented from RenderWObject.

Definition at line 243 of file renderwobjecthierarchy.cpp.

References RenderWObjectContainer::drawWireBox().


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