RenderWMesh Class Reference
Inheritance diagram for RenderWMesh:

Public Member Functions | |
RenderWMesh (WObject *wobj, RenderWObjectContainer *container) | |
virtual void | calculateAABB (wVector &, wVector &, const wMatrix) |
Returns the min and max points of the Axis-Aligned Bounding Box (AABB) | |
virtual void | calculateOBB (wVector &, wVector &, wVector &) |
Returns the dimension of the Oriented Bounding Box (OBB) in the object local frame. | |
virtual void | render (QGLContext *gw) |
virtual void | renderAABB (RenderWorld *) |
The function rendering the Axis-Aligned Bounding Box (AABB) | |
![]() | |
RenderWObject (WObject *o, RenderWObjectContainer *container) | |
RenderWObjectContainer * | container () |
return the Container on which this object is, or the OpenGL windows where it is displayed | |
WObject * | object () |
return the WObject that this RenderWObject display on OpenGL | |
virtual void | objectAlreadyDestroyed () |
This function is called before the destruction if the WObject we are supposed to draw has already been destroyed. | |
Additional Inherited Members | |
![]() | |
RenderWObjectContainer * | contain |
WObject * | obj |
Detailed Description
Definition at line 91 of file renderwobjecthierarchy.cpp.
Member Function Documentation
|
inlinevirtual |
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 140 of file renderwobjecthierarchy.cpp.
|
inlinevirtual |
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 142 of file renderwobjecthierarchy.cpp.
|
inlinevirtual |
The function rendering the Axis-Aligned Bounding Box (AABB)
Reimplemented from RenderWObject.
Definition at line 138 of file renderwobjecthierarchy.cpp.
The documentation for this class was generated from the following file:
- worldsim/src/renderwobjecthierarchy.cpp