Isle
|
[AI] Abstract base class for Real-time Object Instances (ROI) in the world. More...
#include <roi.h>
Public Member Functions | |
ROI () | |
[AI] Constructs an empty ROI, initially visible with no LOD or compound object assigned. More... | |
virtual | ~ROI () |
[AI] Destroys the ROI and asserts that 'comp' and 'lods' are managed/deleted by derived types. More... | |
virtual float | IntrinsicImportance () const =0 |
[AI] Returns the intrinsic importance (used for LOD selection, culling etc). More... | |
virtual const float * | GetWorldVelocity () const =0 |
[AI] Returns the object's world-space velocity as a pointer to float values. More... | |
virtual const BoundingBox & | GetWorldBoundingBox () const =0 |
[AI] Returns the world-space bounding box of the object. More... | |
virtual const BoundingSphere & | GetWorldBoundingSphere () const =0 |
[AI] Returns the world-space bounding sphere of the object. More... | |
const LODListBase * | GetLODs () const |
[AI] Returns the LOD list associated with this ROI, or NULL if not set. More... | |
const LODObject * | GetLOD (int i) const |
[AI] Returns the LODObject at the specified index. More... | |
int | GetLODCount () const |
[AI] Returns the number of available LODs for this ROI. More... | |
const CompoundObject * | GetComp () const |
[AI] Returns the pointer to the compound object structure, or NULL if not present. More... | |
unsigned char | GetVisibility () |
[AI] Returns the visibility flag; true if visible, false if hidden. More... | |
void | SetVisibility (unsigned char p_visible) |
[AI] Sets the visibility flag to the provided value. More... | |
Protected Attributes | |
CompoundObject * | comp |
[AI] List of sub-ROIs composing this ROI (compound object), or NULL. [AI] More... | |
LODListBase * | lods |
[AI] Pointer to list of LODObject instances, or NULL if not set. [AI] More... | |
unsigned char | m_visible |
[AI] Visibility flag: nonzero = visible. [AI] More... | |
[AI] Abstract base class for Real-time Object Instances (ROI) in the world.
[AI] Handles the basic properties and methods for game engine objects placed in the 3D world, including LODs, compound structure, and visibility. Subclasses provide transformations and geometry.
|
inline |
|
inlinevirtual |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
pure virtual |
[AI] Returns the world-space bounding box of the object.
Pure virtual.
Implemented in OrientableROI.
|
pure virtual |
[AI] Returns the world-space bounding sphere of the object.
Pure virtual.
Implemented in OrientableROI.
|
pure virtual |
[AI] Returns the object's world-space velocity as a pointer to float values.
Pure virtual.
Implemented in OrientableROI.
|
pure virtual |
|
inline |
|
protected |
|
protected |
|
protected |