|
| | ViewROI (Tgl::Renderer *pRenderer, ViewLODList *lodList) |
| | [AI] Constructs a ViewROI with the specified renderer and LOD list. More...
|
| |
| | ~ViewROI () override |
| | [AI] Destructor cleans up internal geometry and releases LOD list reference. More...
|
| |
| void | SetLODList (ViewLODList *lodList) |
| | [AI] Sets the ViewLODList for this ROI, managing reference counting. More...
|
| |
| float | IntrinsicImportance () const override |
| | [AI] Returns the intrinsic importance of this ROI, used for LOD or sorting. More...
|
| |
| void | VTable0x1c () override |
| | [AI] Updates internal state, potentially related to animation or LOD switching (exact purpose unclear). More...
|
| |
| void | SetLocalTransform (const Matrix4 &p_transform) override |
| | [AI] Sets the local transformation; propagates to the underlying geometry group. More...
|
| |
| void | VTable0x24 (const Matrix4 &p_transform) override |
| | [AI] Updates an internal transformation, synchronizing ROI and geometry. More...
|
| |
| virtual Tgl::Group * | GetGeometry () |
| | [AI] Returns a pointer to this ROI's Tgl::Group geometry for rendering and manipulation. More...
|
| |
| virtual const Tgl::Group * | GetGeometry () const |
| | [AI] Returns a const pointer to this ROI's Tgl::Group geometry. More...
|
| |
| int | GetUnknown0xe0 () |
| | [AI] Gets the value of an internal state field at offset 0xe0. More...
|
| |
| void | SetUnknown0xe0 (int p_unk0xe0) |
| | [AI] Sets the value of the internal state field at offset 0xe0. More...
|
| |
| | OrientableROI () |
| | Default constructor. More...
|
| |
| const float * | GetWorldVelocity () const override |
| | Returns a pointer to the object's velocity vector in world space. More...
|
| |
| const BoundingBox & | GetWorldBoundingBox () const override |
| | Returns the object's bounding box in world coordinates. More...
|
| |
| const BoundingSphere & | GetWorldBoundingSphere () const override |
| | Returns the object's bounding sphere in world coordinates. More...
|
| |
| virtual void | VTable0x14 () |
| | [AI] Calls VTable0x1c(). More...
|
| |
| virtual void | UpdateWorldBoundingVolumes ()=0 |
| | Recalculates all world bounding volumes from the current local-to-world transform. More...
|
| |
| virtual void | VTable0x1c () |
| | [AI] Concrete subclass implementation should implement this to perform post-bounding-volume-change logic. More...
|
| |
| virtual void | SetLocalTransform (const Matrix4 &p_transform) |
| | Sets the local-to-world transformation matrix directly. More...
|
| |
| virtual void | VTable0x24 (const Matrix4 &p_transform) |
| | Post-multiplies the current local-to-world matrix by p_transform. More...
|
| |
| virtual void | UpdateWorldData (const Matrix4 &p_transform) |
| | Applies p_transform in (presumably) parent coordinates and updates world data for self and children. More...
|
| |
| virtual void | UpdateWorldVelocity () |
| | Updates the world velocity (must be implemented by subclasses if custom velocity logic is needed). More...
|
| |
| void | WrappedSetLocalTransform (const Matrix4 &p_transform) |
| | Wraps SetLocalTransform, for possible override or interface uniformity. More...
|
| |
| void | UpdateTransformationRelativeToParent (const Matrix4 &p_transform) |
| | Calculates and updates the world transform relative to this object's parent, then calls UpdateWorldData. More...
|
| |
| void | WrappedVTable0x24 (const Matrix4 &p_transform) |
| | Wraps VTable0x24, possibly for decoupling or uniform invocation. More...
|
| |
| void | GetLocalTransform (Matrix4 &p_transform) |
| | Retrieves the local-to-world transformation, or if there is a parent, computes the transform relative to it. More...
|
| |
| void | FUN_100a58f0 (const Matrix4 &p_transform) |
| | Assigns the given matrix as the local-to-world transformation and enables some internal flags. More...
|
| |
| void | FUN_100a5a30 (const Vector3 &p_world_velocity) |
| | Sets the world velocity to the provided vector. More...
|
| |
| const Matrix4 & | GetLocal2World () const |
| | Accessor for the current local-to-world transformation matrix. More...
|
| |
| const float * | GetWorldPosition () const |
| | Returns a pointer to the world position from the transformation matrix (translation row). More...
|
| |
| const float * | GetWorldDirection () const |
| | Returns a pointer to the world direction vector (forward axis) from the transformation matrix. More...
|
| |
| const float * | GetWorldUp () const |
| | Returns a pointer to the world up vector from the transformation matrix. More...
|
| |
| OrientableROI * | GetParentROI () const |
| | Accessor for the parent ROI in the transformation hierarchy. More...
|
| |
| void | SetParentROI (OrientableROI *p_parentROI) |
| | Sets the parent ROI used for transformation hierarchy. More...
|
| |
| void | ToggleUnknown0xd8 (BOOL p_enable) |
| | Enables or disables some bitfields in the internal unknown status variable m_unk0xd8. More...
|
| |
| | 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...
|
| |
[AI] ViewROI objects represent viewable and placeable objects in the scene, each holding their own transformation and geometry group for rendering.
[AI] ViewROI is derived from OrientableROI and serves as a specialized ROI (Real-time Object Instance) that maintains a reference to a group of renderable geometry (Tgl::Group) and its LODs via a ViewLODList. Used for any entity or collection of objects manipulated by the view/render manager. The class manages reference counting for its LOD list and owns its geometry group, cleaning up on destruction.
Definition at line 13 of file viewroi.h.