Carna  Version 3.3.2
Public Member Functions | List of all members
Carna::base::BoundingVolume Class Referenceabstract

Represents a Geometry minimal boundary volume of simple geometric shape. The volume is centered within its local coordinate system. More...

#include <BoundingVolume.h>

+ Inheritance diagram for Carna::base::BoundingVolume:

Public Member Functions

 BoundingVolume ()
 Instantiates.
 
virtual ~BoundingVolume ()
 Deletes.
 
virtual void computeClosemostPoint (math::Vector3f &out, const math::Vector3f &reference) const =0
 Computes the point out in model space that is close-most to reference, that is also in model space.
 
void setTransform (const math::Matrix4f &transform)
 Sets the transform from the local coordinate system of this bounding volume to the Geometry object that uses it.
 
const math::Matrix4ftransform () const
 Tells the transform from the local coordinate system of this bounding volume to the model space of the Geometry object that uses it.
 
const math::Matrix4finverseTransform () const
 Tells the transform from the model space of the Geometry object that uses this bounding volume to its local coordinate system.
 

Detailed Description

Represents a Geometry minimal boundary volume of simple geometric shape. The volume is centered within its local coordinate system.

Author
Leonid Kostrykin
Date
22.3.15

Definition at line 42 of file BoundingVolume.h.


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